Postfix3.3.1
quote_flags.h
[詳解]
1 /*++
2 /* NAME
3 /* quote_flags 3h
4 /* SUMMARY
5 /* quote rfc 821/822 local part
6 /* SYNOPSIS
7 /* #include "quote_flags.h"
8 /* DESCRIPTION
9 /* .nf
10 
11  /*
12  * Utility library.
13  */
14 #include <vstring.h>
15 
16  /*
17  * External interface.
18  */
19 #define QUOTE_FLAG_8BITCLEAN (1<<0) /* be 8-bit clean */
20 #define QUOTE_FLAG_EXPOSE_AT (1<<1) /* @ is ordinary text */
21 #define QUOTE_FLAG_APPEND (1<<2) /* append, not overwrite */
22 #define QUOTE_FLAG_BARE_LOCALPART (1<<3)/* all localpart, no @domain */
23 
24 #define QUOTE_FLAG_DEFAULT QUOTE_FLAG_8BITCLEAN
25 
26 extern int quote_flags_from_string(const char *);
27 extern const char *quote_flags_to_string(VSTRING *, int);
28 
29 /* LICENSE
30 /* .ad
31 /* .fi
32 /* The Secure Mailer license must be distributed with this software.
33 /* AUTHOR(S)
34 /* Wietse Venema
35 /* IBM T.J. Watson Research
36 /* P.O. Box 704
37 /* Yorktown Heights, NY 10598, USA
38 /*
39 /* Wietse Venema
40 /* Google, Inc.
41 /* 111 8th Avenue
42 /* New York, NY 10011, USA
43 /*--*/
int quote_flags_from_string(const char *)
Definition: quote_flags.c:71
const char * quote_flags_to_string(VSTRING *, int)
Definition: quote_flags.c:80