Lines Matching defs:buffer_t
96 } buffer_t;
99 void buffer_init(buffer_t * buf);
101 * Cleanup a buffer structure - presently not needed, but if buffer_t is
106 void buffer_close(buffer_t * buf);
110 unsigned int buffer_used(buffer_t * buf); /* How much data in the buffer */
111 unsigned int buffer_unused(buffer_t * buf); /* How much space in the buffer */
112 int buffer_full(buffer_t * buf); /* Boolean, is it full? */
113 int buffer_notfull(buffer_t * buf); /* Boolean, is it not full? */
114 int buffer_empty(buffer_t * buf); /* Boolean, is it empty? */
115 int buffer_notempty(buffer_t * buf); /* Boolean, is it not empty? */
116 unsigned long buffer_total_in(buffer_t * buf); /* Total bytes written to
118 unsigned long buffer_total_out(buffer_t * buf); /* Total bytes read from
128 unsigned int buffer_adddata(buffer_t * buf, const unsigned char *ptr,
137 unsigned int buffer_takedata(buffer_t * buf, unsigned char *ptr,
146 unsigned int buffer_tobuffer(buffer_t * to, buffer_t * from, int cap);
151 int buffer_from_fd(buffer_t * buf, int fd);
152 int buffer_to_fd(buffer_t * buf, int fd);
157 void buffer_from_SSL(buffer_t * buf, SSL *ssl);
158 void buffer_to_SSL(buffer_t * buf, SSL *ssl);
159 void buffer_from_BIO(buffer_t * buf, BIO *bio);
160 void buffer_to_BIO(buffer_t * buf, BIO *bio);
182 buffer_t clean_in, clean_out;
183 buffer_t dirty_in, dirty_out;
191 buffer_t *state_machine_get_buffer(state_machine_t * machine,