Kannel: Open Source WAP and SMS gateway
svn-r5336
|
#include "wsint.h"
Go to the source code of this file.
Data Structures | |
struct | WsStreamFileCtxRec |
Typedefs | |
typedef struct WsStreamFileCtxRec | WsStreamFileCtx |
Functions | |
static size_t | file_input (void *context, WsUInt32 *buf, size_t buflen) |
static size_t | file_output (void *context, WsUInt32 *buf, size_t buflen) |
static WsBool | file_flush (void *context) |
static void | file_close (void *context) |
WsStream * | ws_stream_new_file (FILE *fp, WsBool output, WsBool close) |
typedef struct WsStreamFileCtxRec WsStreamFileCtx |
Definition at line 92 of file wsstream_file.c.
|
static |
Definition at line 194 of file wsstream_file.c.
References WsStreamFileCtxRec::close_fp, WsStreamFileCtxRec::fp, and ws_free().
Referenced by ws_stream_new_file().
|
static |
Definition at line 171 of file wsstream_file.c.
References WsStreamFileCtxRec::buf, WsStreamFileCtxRec::data_in_buf, WsStreamFileCtxRec::fp, and WS_FALSE.
Referenced by ws_stream_new_file().
|
static |
Definition at line 96 of file wsstream_file.c.
References WsStreamFileCtxRec::buf, and WsStreamFileCtxRec::fp.
Referenced by ws_stream_new_file().
|
static |
Definition at line 124 of file wsstream_file.c.
References WsStreamFileCtxRec::buf, WsStreamFileCtxRec::data_in_buf, WsStreamFileCtxRec::fp, and WS_STREAM_BUFFER_SIZE.
Referenced by ws_stream_new_file().
Definition at line 206 of file wsstream_file.c.
References WsStreamFileCtxRec::close_fp, file_close(), file_flush(), file_input(), file_output(), WsStreamFileCtxRec::fp, ws_calloc(), and ws_stream_new().
Referenced by ws_compile_file().