/usr/include/aal/stream.h is in libaal-dev 1.0.5-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | /* Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by
libaal/COPYING.
stream.h -- simple stream implementation. */
#ifndef AAL_STREAM_H
#define AAL_STREAM_H
#ifndef ENABLE_MINIMAL
#include <aal/types.h>
extern int aal_stream_eof(aal_stream_t *stream);
extern void aal_stream_fini(aal_stream_t *stream);
extern void aal_stream_close(aal_stream_t *stream);
extern void aal_stream_reset(aal_stream_t *stream);
extern aal_stream_t *aal_stream_create(void *entity,
aal_proto_t *proto);
extern int32_t aal_stream_read(aal_stream_t *stream,
void *buff, uint32_t n);
extern int32_t aal_stream_write(aal_stream_t *stream,
void *buff, uint32_t n);
extern int32_t aal_stream_format(aal_stream_t *stream,
const char *format, ...);
extern void aal_stream_init(aal_stream_t *stream,
void *entity,
aal_proto_t *proto);
#endif
#endif
|