Postfix3.3.1
mac_parse.h
[詳解]
1 #ifndef _MAC_PARSE_H_INCLUDED_
2 #define _MAC_PARSE_H_INCLUDED_
3 
4 /*++
5 /* NAME
6 /* mac_parse 3h
7 /* SUMMARY
8 /* locate macro references in string
9 /* SYNOPSIS
10 /* #include <mac_parse.h>
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15  * Utility library.
16  */
17 #include <vstring.h>
18 
19  /*
20  * External interface.
21  */
22 #define MAC_PARSE_LITERAL 1
23 #define MAC_PARSE_EXPR 2
24 #define MAC_PARSE_VARNAME MAC_PARSE_EXPR /* 2.1 compatibility */
25 
26 #define MAC_PARSE_OK 0
27 #define MAC_PARSE_ERROR (1<<0)
28 #define MAC_PARSE_UNDEF (1<<1)
29 #define MAC_PARSE_USER 2 /* start user definitions */
30 
31 typedef int (*MAC_PARSE_FN) (int, VSTRING *, void *);
32 
33 extern int WARN_UNUSED_RESULT mac_parse(const char *, MAC_PARSE_FN, void *);
34 
35 /* LICENSE
36 /* .ad
37 /* .fi
38 /* The Secure Mailer license must be distributed with this software.
39 /* AUTHOR(S)
40 /* Wietse Venema
41 /* IBM T.J. Watson Research
42 /* P.O. Box 704
43 /* Yorktown Heights, NY 10598, USA
44 /*--*/
45 
46 #endif
#define WARN_UNUSED_RESULT
Definition: sys_defs.h:1662
int int
Definition: smtpd_proxy.h:21
int WARN_UNUSED_RESULT mac_parse(const char *, MAC_PARSE_FN, void *)
Definition: mac_parse.c:85
int(* MAC_PARSE_FN)(int, VSTRING *, void *)
Definition: mac_parse.h:31