Postfix3.3.1
マクロ定義 | 関数
netstring.c ファイル
#include <sys_defs.h>
#include <stdarg.h>
#include <ctype.h>
#include <msg.h>
#include <vstream.h>
#include <vstring.h>
#include <compat_va_copy.h>
#include <netstring.h>

[ソースコード]

マクロ定義

#define STR(x)   vstring_str(x)
 
#define LEN(x)   VSTRING_LEN(x)
 

関数

void netstring_setup (VSTREAM *stream, int timeout)
 
void netstring_except (VSTREAM *stream, int exception)
 
ssize_t netstring_get_length (VSTREAM *stream)
 
VSTRINGnetstring_get_data (VSTREAM *stream, VSTRING *buf, ssize_t len)
 
void netstring_get_terminator (VSTREAM *stream)
 
VSTRINGnetstring_get (VSTREAM *stream, VSTRING *buf, ssize_t limit)
 
void netstring_put (VSTREAM *stream, const char *data, ssize_t len)
 
void netstring_put_multi (VSTREAM *stream,...)
 
void netstring_fflush (VSTREAM *stream)
 
VSTRINGnetstring_memcpy (VSTRING *buf, const char *src, ssize_t len)
 
VSTRINGnetstring_memcat (VSTRING *buf, const char *src, ssize_t len)
 
const char * netstring_strerror (int err)
 

マクロ定義詳解

#define LEN (   x)    VSTRING_LEN(x)

netstring.c178 行目に定義があります。

#define STR (   x)    vstring_str(x)

netstring.c177 行目に定義があります。

関数詳解

void netstring_except ( VSTREAM stream,
int  exception 
)

netstring.c192 行目に定義があります。

void netstring_fflush ( VSTREAM stream)

netstring.c342 行目に定義があります。

VSTRING* netstring_get ( VSTREAM stream,
VSTRING buf,
ssize_t  limit 
)

netstring.c268 行目に定義があります。

VSTRING* netstring_get_data ( VSTREAM stream,
VSTRING buf,
ssize_t  len 
)

netstring.c230 行目に定義があります。

ssize_t netstring_get_length ( VSTREAM stream)

netstring.c199 行目に定義があります。

void netstring_get_terminator ( VSTREAM stream)

netstring.c260 行目に定義があります。

VSTRING* netstring_memcat ( VSTRING buf,
const char *  src,
ssize_t  len 
)

netstring.c361 行目に定義があります。

VSTRING* netstring_memcpy ( VSTRING buf,
const char *  src,
ssize_t  len 
)

netstring.c351 行目に定義があります。

void netstring_put ( VSTREAM stream,
const char *  data,
ssize_t  len 
)

netstring.c281 行目に定義があります。

void netstring_put_multi ( VSTREAM stream,
  ... 
)

netstring.c295 行目に定義があります。

void netstring_setup ( VSTREAM stream,
int  timeout 
)

netstring.c182 行目に定義があります。

const char* netstring_strerror ( int  err)

netstring.c371 行目に定義があります。