Data Structures |
struct | _CLIENT_THREAD_PARAM |
Typedefs |
typedef struct _CLIENT_THREAD_PARAM | CLIENT_THREAD_PARAM |
Functions |
int | StreamInit (void) |
| Initialize the stream.
|
void | StreamClientThread (void *param) |
int | StreamClientAccept (HTTP_CLIENT_HANDLER handler, const char *params) |
| Accept stream clients.
|
int | StreamReadUntilChars (HTTP_STREAM *sp, const char *delim, const char *ignore, char *buf, int siz) |
| Read data from a stream until any of the specified characters appears.
|
int | StreamReadUntilString (HTTP_STREAM *sp, const char *delim, char *buf, int siz) |
| Read data from a stream until a specified string appears.
|
int | s_write (const void *buf, size_t size, size_t count, HTTP_STREAM *sp) |
| Write data items to a stream.
|
int | s_puts (const char *str, HTTP_STREAM *sp) |
| Write a string to a stream.
|
int | s_vputs (HTTP_STREAM *sp,...) |
| Write a variable number of strings to a stream.
|
int | s_printf (HTTP_STREAM *sp, const char *fmt,...) |
| Print formatted data to a stream.
|
int | s_flush (HTTP_STREAM *sp) |
| Flush a stream.
|
const char * | StreamInfo (HTTP_STREAM *sp, int item) |