Postfix3.3.1
総合概要
データ構造
ファイル
ファイル一覧
大域各種
postfix-3.3.1
src
global
header_token.h
[詳解]
1
#ifndef _HEADER_TOKEN_H_INCLUDED_
2
#define _HEADER_TOKEN_H_INCLUDED_
3
4
/*++
5
/* NAME
6
/* header_token 3h
7
/* SUMMARY
8
/* mail header parser
9
/* SYNOPSIS
10
/* #include "header_token.h"
11
DESCRIPTION
12
.nf
13
14
/*
15
* Utility library.
16
*/
17
#include <
vstring.h
>
18
19
/*
20
* HEADER header parser tokens. Specials and controls are represented by
21
* themselves. Character pointers point to substrings in a token buffer.
22
*/
23
typedef
struct
HEADER_TOKEN
{
24
int
type
;
/* see below */
25
union
{
26
const
char
*
value
;
/* just a pointer, not a copy */
27
ssize_t
offset
;
/* index into token buffer */
28
}
u
;
/* indent beats any alternative */
29
}
HEADER_TOKEN
;
30
31
#define HEADER_TOK_TOKEN 256
32
#define HEADER_TOK_QSTRING 257
33
34
extern
ssize_t
header_token
(
HEADER_TOKEN
*, ssize_t,
VSTRING
*,
const
char
**,
const
char
*,
int
);
35
36
/* LICENSE
37
/* .ad
38
/* .fi
39
/* The Secure Mailer license must be distributed with this software.
40
/* AUTHOR(S)
41
/* Wietse Venema
42
/* IBM T.J. Watson Research
43
/* P.O. Box 704
44
/* Yorktown Heights, NY 10598, USA
45
/*--*/
46
47
#endif
VSTRING
Definition:
vstring.h:29
HEADER_TOKEN
Definition:
header_token.h:23
HEADER_TOKEN::type
int type
Definition:
header_token.h:24
vstring.h
HEADER_TOKEN::u
union HEADER_TOKEN::@0 u
HEADER_TOKEN
struct HEADER_TOKEN HEADER_TOKEN
header_token
ssize_t header_token(HEADER_TOKEN *, ssize_t, VSTRING *, const char **, const char *, int)
Definition:
header_token.c:107
HEADER_TOKEN::value
const char * value
Definition:
header_token.h:26
HEADER_TOKEN::offset
ssize_t offset
Definition:
header_token.h:27
2018年11月10日(土) 18時59分37秒作成 - Postfix3.3.1 / 構成:
1.8.9.1