Main Page | Modules | Data Structures | File List | Data Fields

/extra/work/state-dev/src/sul/sul_buffstrm.h

00001 /* ----------------------------------------------------------------------------
00002  * $Id: sul_buffstrm.h,v 1.4 2003/10/06 20:47:59 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SUL_BUFFSTRM_H_HEADER__)
00006 #define _INCLUDED_SUL_BUFFSTRM_H_HEADER__
00007 
00017 typedef struct sul_stream_t sul_stream_t;
00018 
00027 SUL_DECLARE(sul_error_t *)
00028 sul_stream_create_socket(sul_stream_t **stream, apr_socket_t *socket,
00029                          apr_pool_t *pool);
00030 
00040 SUL_DECLARE(sul_error_t *)
00041 sul_stream_create_file(sul_stream_t **stream, apr_file_t *file,
00042                        apr_pool_t *pool);
00043 
00044 
00053 SUL_DECLARE(sul_error_t *)
00054 sul_stream_get_char(sul_stream_t *stream, char *chr, apr_pool_t *pool);
00055 
00064 SUL_DECLARE(sul_error_t *)
00065 sul_stream_get_line(sul_stream_t *stream, char **line, apr_pool_t *pool);
00066 
00076 SUL_DECLARE(sul_error_t *)
00077 sul_stream_get_data(sul_stream_t *stream, char *ptr, apr_size_t *sz,
00078                     apr_pool_t *pool);
00079 
00083 SUL_DECLARE(sul_boolean_t)
00084 sul_stream_eof_get(sul_stream_t *stream);
00085 
00088 #endif

Generated on Wed Apr 28 09:38:33 2004 for State by doxygen 1.3.5