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 *)
 
VSTRINGnetstring_get_data (VSTREAM *, VSTRING *, ssize_t)
 
void netstring_get_terminator (VSTREAM *)
 
VSTRINGnetstring_get (VSTREAM *, VSTRING *, ssize_t)
 
void netstring_put (VSTREAM *, const char *, ssize_t)
 
void netstring_put_multi (VSTREAM *,...)
 
void netstring_fflush (VSTREAM *)
 
VSTRINGnetstring_memcpy (VSTRING *, const char *, ssize_t)
 
VSTRINGnetstring_memcat (VSTRING *, const char *, ssize_t)
 
const char * netstring_strerror (int)
 

マクロ定義詳解

#define NETSTRING_ERR_EOF   1 /* unexpected disconnect */

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

#define NETSTRING_ERR_FORMAT   3 /* format error */

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

#define NETSTRING_ERR_SIZE   4 /* netstring too large */

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

#define NETSTRING_ERR_TIME   2 /* time out */

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

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

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

関数詳解

void netstring_except ( VSTREAM ,
int   
)

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

void netstring_fflush ( VSTREAM )

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

VSTRING* netstring_get ( VSTREAM ,
VSTRING ,
ssize_t   
)

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

VSTRING* netstring_get_data ( VSTREAM ,
VSTRING ,
ssize_t   
)

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

ssize_t netstring_get_length ( VSTREAM )

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

void netstring_get_terminator ( VSTREAM )

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

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

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

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

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

void netstring_put ( VSTREAM ,
const char *  ,
ssize_t   
)

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

void netstring_put_multi ( VSTREAM ,
  ... 
)

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

void netstring_setup ( VSTREAM ,
int   
)

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

const char* netstring_strerror ( int  )

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