Postfix3.3.1
マクロ定義 | 関数
netstring.h ファイル
#include <vstring.h>
#include <vstream.h>

[ソースコード]

マクロ定義

#define NETSTRING_ERR_EOF   1 /* unexpected disconnect */
 
#define NETSTRING_ERR_TIME   2 /* time out */
 
#define NETSTRING_ERR_FORMAT   3 /* format error */
 
#define NETSTRING_ERR_SIZE   4 /* netstring too large */
 
#define NETSTRING_PUT_BUF(str, buf)   netstring_put((str), vstring_str(buf), VSTRING_LEN(buf))
 

関数

void netstring_except (VSTREAM *, int)
 
void netstring_setup (VSTREAM *, int)
 
ssize_t netstring_get_length (VSTREAM *)
 
VSTRING * netstring_get_data (VSTREAM *, VSTRING *, ssize_t)
 
void netstring_get_terminator (VSTREAM *)
 
VSTRING * netstring_get (VSTREAM *, VSTRING *, ssize_t)
 
void netstring_put (VSTREAM *, const char *, ssize_t)
 
void netstring_put_multi (VSTREAM *,...)
 
void netstring_fflush (VSTREAM *)
 
VSTRING * netstring_memcpy (VSTRING *, const char *, ssize_t)
 
VSTRING * netstring_memcat (VSTRING *, const char *, ssize_t)
 
const char * netstring_strerror (int)
 

マクロ定義詳解

#define NETSTRING_ERR_EOF   1 /* unexpected disconnect */

netstring.h の 23 行目に定義があります。

#define NETSTRING_ERR_FORMAT   3 /* format error */

netstring.h の 25 行目に定義があります。

#define NETSTRING_ERR_SIZE   4 /* netstring too large */

netstring.h の 26 行目に定義があります。

#define NETSTRING_ERR_TIME   2 /* time out */

netstring.h の 24 行目に定義があります。

#define NETSTRING_PUT_BUF (   str,
  buf 
)    netstring_put((str), vstring_str(buf), VSTRING_LEN(buf))

netstring.h の 41 行目に定義があります。

関数詳解

void netstring_except ( VSTREAM *  ,
int   
)

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

void netstring_fflush ( VSTREAM *  )

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

VSTRING* netstring_get ( VSTREAM *  ,
VSTRING *  ,
ssize_t   
)

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

VSTRING* netstring_get_data ( VSTREAM *  ,
VSTRING *  ,
ssize_t   
)

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

ssize_t netstring_get_length ( VSTREAM *  )

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

void netstring_get_terminator ( VSTREAM *  )

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

VSTRING* netstring_memcat ( VSTRING *  ,
const char *  ,
ssize_t   
)

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

VSTRING* netstring_memcpy ( VSTRING *  ,
const char *  ,
ssize_t   
)

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

void netstring_put ( VSTREAM *  ,
const char *  ,
ssize_t   
)

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

void netstring_put_multi ( VSTREAM *  ,
  ... 
)

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

void netstring_setup ( VSTREAM *  ,
int   
)

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

const char* netstring_strerror ( int  )

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