Postfix3.3.1
データ構造 | マクロ定義 | 型定義 | 関数
mime_state.h ファイル
#include <vstring.h>
#include <header_opts.h>

[ソースコード]

データ構造

struct  MIME_STATE_DETAIL
 

マクロ定義

#define MIME_OPT_NONE   (0)
 
#define MIME_OPT_DOWNGRADE   (1<<0)
 
#define MIME_OPT_REPORT_8BIT_IN_7BIT_BODY   (1<<1)
 
#define MIME_OPT_REPORT_8BIT_IN_HEADER   (1<<2)
 
#define MIME_OPT_REPORT_ENCODING_DOMAIN   (1<<3)
 
#define MIME_OPT_RECURSE_ALL_MESSAGE   (1<<4)
 
#define MIME_OPT_REPORT_TRUNC_HEADER   (1<<5)
 
#define MIME_OPT_DISABLE_MIME   (1<<6)
 
#define MIME_OPT_REPORT_NESTING   (1<<7)
 
#define MIME_ENC_7BIT   (7)
 
#define MIME_ENC_8BIT   (8)
 
#define MIME_ENC_BINARY   (9)
 
#define MIME_ERR_NESTING   (1<<0)
 
#define MIME_ERR_TRUNC_HEADER   (1<<1)
 
#define MIME_ERR_8BIT_IN_HEADER   (1<<2)
 
#define MIME_ERR_8BIT_IN_7BIT_BODY   (1<<3)
 
#define MIME_ERR_ENCODING_DOMAIN   (1<<4)
 
#define MIME_HDR_FIRST   (1) /* first class */
 
#define MIME_HDR_PRIMARY   (1) /* initial headers */
 
#define MIME_HDR_MULTIPART   (2) /* headers after multipart boundary */
 
#define MIME_HDR_NESTED   (3) /* attached message initial headers */
 
#define MIME_HDR_LAST   (3) /* last class */
 

型定義

typedef struct MIME_STATE MIME_STATE
 
typedef void(* MIME_STATE_HEAD_OUT) (void *, int, const HEADER_OPTS *, VSTRING *, off_t)
 
typedef void(* MIME_STATE_BODY_OUT) (void *, int, const char *, ssize_t, off_t)
 
typedef void(* MIME_STATE_ANY_END) (void *)
 
typedef void(* MIME_STATE_ERR_PRINT) (void *, int, const char *, ssize_t)
 

関数

MIME_STATE * mime_state_alloc (int, MIME_STATE_HEAD_OUT, MIME_STATE_ANY_END, MIME_STATE_BODY_OUT, MIME_STATE_ANY_END, MIME_STATE_ERR_PRINT, void *)
 
int mime_state_update (MIME_STATE *, int, const char *, ssize_t)
 
MIME_STATE * mime_state_free (MIME_STATE *)
 
const MIME_STATE_DETAIL * mime_state_detail (int)
 
const char * mime_state_error (int)
 

マクロ定義詳解

#define MIME_ENC_7BIT   (7)

mime_state.h の 53 行目に定義があります。

#define MIME_ENC_8BIT   (8)

mime_state.h の 54 行目に定義があります。

#define MIME_ENC_BINARY   (9)

mime_state.h の 55 行目に定義があります。

#define MIME_ERR_8BIT_IN_7BIT_BODY   (1<<3)

mime_state.h の 69 行目に定義があります。

#define MIME_ERR_8BIT_IN_HEADER   (1<<2)

mime_state.h の 68 行目に定義があります。

#define MIME_ERR_ENCODING_DOMAIN   (1<<4)

mime_state.h の 70 行目に定義があります。

#define MIME_ERR_NESTING   (1<<0)

mime_state.h の 66 行目に定義があります。

#define MIME_ERR_TRUNC_HEADER   (1<<1)

mime_state.h の 67 行目に定義があります。

#define MIME_HDR_FIRST   (1) /* first class */

mime_state.h の 79 行目に定義があります。

#define MIME_HDR_LAST   (3) /* last class */

mime_state.h の 83 行目に定義があります。

#define MIME_HDR_MULTIPART   (2) /* headers after multipart boundary */

mime_state.h の 81 行目に定義があります。

#define MIME_HDR_NESTED   (3) /* attached message initial headers */

mime_state.h の 82 行目に定義があります。

#define MIME_HDR_PRIMARY   (1) /* initial headers */

mime_state.h の 80 行目に定義があります。

#define MIME_OPT_DISABLE_MIME   (1<<6)

mime_state.h の 47 行目に定義があります。

#define MIME_OPT_DOWNGRADE   (1<<0)

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

#define MIME_OPT_NONE   (0)

mime_state.h の 40 行目に定義があります。

#define MIME_OPT_RECURSE_ALL_MESSAGE   (1<<4)

mime_state.h の 45 行目に定義があります。

#define MIME_OPT_REPORT_8BIT_IN_7BIT_BODY   (1<<1)

mime_state.h の 42 行目に定義があります。

#define MIME_OPT_REPORT_8BIT_IN_HEADER   (1<<2)

mime_state.h の 43 行目に定義があります。

#define MIME_OPT_REPORT_ENCODING_DOMAIN   (1<<3)

mime_state.h の 44 行目に定義があります。

#define MIME_OPT_REPORT_NESTING   (1<<7)

mime_state.h の 48 行目に定義があります。

#define MIME_OPT_REPORT_TRUNC_HEADER   (1<<5)

mime_state.h の 46 行目に定義があります。

型定義詳解

typedef struct MIME_STATE MIME_STATE

mime_state.h の 27 行目に定義があります。

typedef void(* MIME_STATE_ANY_END) (void *)

mime_state.h の 30 行目に定義があります。

typedef void(* MIME_STATE_BODY_OUT) (void *, int, const char *, ssize_t, off_t)

mime_state.h の 29 行目に定義があります。

typedef void(* MIME_STATE_ERR_PRINT) (void *, int, const char *, ssize_t)

mime_state.h の 31 行目に定義があります。

typedef void(* MIME_STATE_HEAD_OUT) (void *, int, const HEADER_OPTS *, VSTRING *, off_t)

mime_state.h の 28 行目に定義があります。

関数詳解

mime_state.c の 493 行目に定義があります。

const MIME_STATE_DETAIL* mime_state_detail ( int  )

mime_state.c の 1163 行目に定義があります。

const char* mime_state_error ( int  )

mime_state.c の 1149 行目に定義があります。

MIME_STATE* mime_state_free ( MIME_STATE *  )

mime_state.c の 530 行目に定義があります。

int mime_state_update ( MIME_STATE *  ,
int  ,
const char *  ,
ssize_t   
)

mime_state.c の 755 行目に定義があります。