Go to the documentation of this file.
23 #ifndef _JH_DATATYPES_H
24 #define _JH_DATATYPES_H
121 #define JH_SEEK_SET 0
122 #define JH_SEEK_CUR 1
123 #define JH_SEEK_END 2
127 int (*on_init)(
struct jh_stream_ts *stream,
unsigned char **buf,
size_t *buf_size);
128 int (*on_empty)(
struct jh_stream_ts *stream,
unsigned char **buf,
size_t *buf_size);
129 int (*on_term)(
struct jh_stream_ts *stream,
size_t free_in_buffer);
141 unsigned char *buffer,
151 unsigned char *buffer,