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

Buffered Streams
[State Utility Library]


Typedefs

typedef sul_stream_t sul_stream_t

Functions

 sul_stream_create_socket (sul_stream_t **stream, apr_socket_t *socket, apr_pool_t *pool)
 sul_stream_create_file (sul_stream_t **stream, apr_file_t *file, apr_pool_t *pool)
 sul_stream_get_char (sul_stream_t *stream, char *chr, apr_pool_t *pool)
 sul_stream_get_line (sul_stream_t *stream, char **line, apr_pool_t *pool)
 sul_stream_get_data (sul_stream_t *stream, char *ptr, apr_size_t *sz, apr_pool_t *pool)
 sul_stream_eof_get (sul_stream_t *stream)

Typedef Documentation

typedef struct sul_stream_t sul_stream_t
 

Opaque instance of a Buffered Stream.


Function Documentation

sul_stream_create_file sul_stream_t **  stream,
apr_file_t *  file,
apr_pool_t *  pool
 

Creates a new Buffered Stream based on an opened file.

Parameters:
stream 
file 
pool 
Returns:

sul_stream_create_socket sul_stream_t **  stream,
apr_socket_t *  socket,
apr_pool_t *  pool
 

Creates a new Buffered Stream based on a connected socket.

Parameters:
stream 
socket 
pool 
Returns:

sul_stream_get_char sul_stream_t stream,
char *  chr,
apr_pool_t *  pool
 

Parameters:
stream 
chr 
pool 
Returns:

sul_stream_get_data sul_stream_t stream,
char *  ptr,
apr_size_t *  sz,
apr_pool_t *  pool
 

Parameters:
stream 
ptr 
sz 
pool 
Returns:

sul_stream_get_line sul_stream_t stream,
char **  line,
apr_pool_t *  pool
 

Parameters:
stream 
line 
pool 
Returns:


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