Postfix3.3.1
マクロ定義 | 関数
record.c ファイル
#include <sys_defs.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <string.h>
#include <msg.h>
#include <mymalloc.h>
#include <vstream.h>
#include <vstring.h>
#include <stringops.h>
#include <off_cvt.h>
#include <rec_type.h>
#include <record.h>

[ソースコード]

マクロ定義

#define NBBY   8 /* XXX should be in sys_defs.h */
 
#define STREQ(x, y)   ((x) == (y) && strcmp((x), (y)) == 0)
 
#define REVERSE_JUMP_LIMIT   10000
 

関数

int rec_put_type (VSTREAM *stream, int type, off_t offset)
 
int rec_put (VSTREAM *stream, int type, const char *data, ssize_t len)
 
int rec_get_raw (VSTREAM *stream, VSTRING *buf, ssize_t maxsize, int flags)
 
int rec_goto (VSTREAM *stream, const char *buf)
 
int rec_vfprintf (VSTREAM *stream, int type, const char *format, va_list ap)
 
int rec_fprintf (VSTREAM *stream, int type, const char *format,...)
 
int rec_fputs (VSTREAM *stream, int type, const char *str)
 
int rec_pad (VSTREAM *stream, int type, ssize_t len)
 

マクロ定義詳解

#define NBBY   8 /* XXX should be in sys_defs.h */

record.c156 行目に定義があります。

#define REVERSE_JUMP_LIMIT   10000
#define STREQ (   x,
 
)    ((x) == (y) && strcmp((x), (y)) == 0)

関数詳解

int rec_fprintf ( VSTREAM stream,
int  type,
const char *  format,
  ... 
)

record.c391 行目に定義があります。

int rec_fputs ( VSTREAM stream,
int  type,
const char *  str 
)

record.c404 行目に定義があります。

int rec_get_raw ( VSTREAM stream,
VSTRING buf,
ssize_t  maxsize,
int  flags 
)

record.c236 行目に定義があります。

int rec_goto ( VSTREAM stream,
const char *  buf 
)

record.c326 行目に定義があります。

int rec_pad ( VSTREAM stream,
int  type,
ssize_t  len 
)

record.c411 行目に定義があります。

int rec_put ( VSTREAM stream,
int  type,
const char *  data,
ssize_t  len 
)

record.c194 行目に定義があります。

int rec_put_type ( VSTREAM stream,
int  type,
off_t  offset 
)

record.c175 行目に定義があります。

int rec_vfprintf ( VSTREAM stream,
int  type,
const char *  format,
va_list  ap 
)

record.c374 行目に定義があります。