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)
 
VSTRING * netstring_get_data (VSTREAM *stream, VSTRING *buf, ssize_t len)
 
void netstring_get_terminator (VSTREAM *stream)
 
VSTRING * netstring_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)
 
VSTRING * netstring_memcpy (VSTRING *buf, const char *src, ssize_t len)
 
VSTRING * netstring_memcat (VSTRING *buf, const char *src, ssize_t len)
 
const char * netstring_strerror (int err)
 

マクロ定義詳解

#define LEN (   x)    VSTRING_LEN(x)

netstring.c の 178 行目に定義があります。

#define STR (   x)    vstring_str(x)

netstring.c の 177 行目に定義があります。

関数詳解

void netstring_except ( VSTREAM *  stream,
int  exception 
)

netstring.c の 192 行目に定義があります。

void netstring_fflush ( VSTREAM *  stream)

netstring.c の 342 行目に定義があります。

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

netstring.c の 268 行目に定義があります。

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

netstring.c の 230 行目に定義があります。

ssize_t netstring_get_length ( VSTREAM *  stream)

netstring.c の 199 行目に定義があります。

void netstring_get_terminator ( VSTREAM *  stream)

netstring.c の 260 行目に定義があります。

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

netstring.c の 361 行目に定義があります。

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

netstring.c の 351 行目に定義があります。

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

netstring.c の 281 行目に定義があります。

void netstring_put_multi ( VSTREAM *  stream,
  ... 
)

netstring.c の 295 行目に定義があります。

void netstring_setup ( VSTREAM *  stream,
int  timeout 
)

netstring.c の 182 行目に定義があります。

const char* netstring_strerror ( int  err)

netstring.c の 371 行目に定義があります。