Sync usage with man page.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / util / mac_expand.h
blob75e1e3d5742cb91e689a914e2c04d87e803a75c2
1 /* $NetBSD$ */
3 #ifndef _MAC_EXPAND_H_INCLUDED_
4 #define _MAC_EXPAND_H_INCLUDED_
6 /*++
7 /* NAME
8 /* mac_expand 3h
9 /* SUMMARY
10 /* expand macro references in string
11 /* SYNOPSIS
12 /* #include <mac_expand.h>
13 DESCRIPTION
14 .nf
17 * Utility library.
19 #include <vstring.h>
20 #include <mac_parse.h>
23 * Features.
25 #define MAC_EXP_FLAG_NONE (0)
26 #define MAC_EXP_FLAG_RECURSE (1<<0)
29 * Real lookup or just a test?
31 #define MAC_EXP_MODE_TEST (0)
32 #define MAC_EXP_MODE_USE (1)
34 typedef const char *(*MAC_EXP_LOOKUP_FN)(const char *, int, char *);
36 extern int mac_expand(VSTRING *, const char *, int, const char *, MAC_EXP_LOOKUP_FN, char *);
38 /* LICENSE
39 /* .ad
40 /* .fi
41 /* The Secure Mailer license must be distributed with this software.
42 /* AUTHOR(S)
43 /* Wietse Venema
44 /* IBM T.J. Watson Research
45 /* P.O. Box 704
46 /* Yorktown Heights, NY 10598, USA
47 /*--*/
49 #endif