1 /* buffers-ops.h: 2 * 3 **************************************************************** 4 * Copyright (C) 2004 Tom Lord 5 * 6 * See the file "COPYING" for further information about 7 * the copyright and warranty status of this work. 8 */ 9 10 #ifndef INCLUDE__BUFFERS__BUFFERS_OPS_H 11 #define INCLUDE__BUFFERS__BUFFERS_OPS_H 12 13 14 15 /* automatically generated __STDC__ prototypes */ 16 extern ssize_t buf_room (ssize_t session, ssize_t buf); 17 extern int buf_is_empty (ssize_t session, ssize_t buf); 18 extern ssize_t buf_size (ssize_t session, ssize_t buf); 19 extern int buf_n (ssize_t session, ssize_t buf, ssize_t n); 20 extern t_uchar * buf_burst (ssize_t * len_returned, 21 ssize_t session, 22 ssize_t buf, 23 ssize_t n, 24 ssize_t len); 25 extern t_uchar * buf_range (ssize_t session, 26 ssize_t buf, 27 ssize_t n, 28 ssize_t len); 29 extern int buf_insert_str_n (ssize_t session, 30 ssize_t buf, 31 ssize_t before_pos, 32 t_uchar * data, 33 ssize_t len); 34 extern int buf_delete_n (ssize_t session, 35 ssize_t buf, 36 ssize_t pos, 37 ssize_t len); 38 #endif /* INCLUDE__BUFFERS__BUFFERS_OPS_H */ 39 40 41 /* tag: Tom Lord Sun Nov 21 10:10:19 2004 (buffers-ops.h) 42 */ 43