No empty .Rs/.Re
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / global / dict_proxy.h
blob5b80b2c66b7c8b6238ce7a016cfb31056bb1b9b7
1 /* $NetBSD$ */
3 #ifndef _DICT_PROXY_H_INCLUDED_
4 #define _DICT_PROXY_H_INCLUDED_
6 /*++
7 /* NAME
8 /* dict_proxy 3h
9 /* SUMMARY
10 /* dictionary manager interface to PROXY maps
11 /* SYNOPSIS
12 /* #include <dict_proxy.h>
13 /* DESCRIPTION
14 /* .nf
17 * Utility library.
19 #include <dict.h>
22 * External interface.
24 #define DICT_TYPE_PROXY "proxy"
26 extern DICT *dict_proxy_open(const char *, int, int);
29 * Protocol interface.
31 #define PROXY_REQ_OPEN "open"
32 #define PROXY_REQ_LOOKUP "lookup"
33 #define PROXY_REQ_UPDATE "update"
34 #define PROXY_REQ_DELETE "delete"
36 #define PROXY_STAT_OK 0 /* operation succeeded */
37 #define PROXY_STAT_NOKEY 1 /* requested key not found */
38 #define PROXY_STAT_RETRY 2 /* try lookup again later */
39 #define PROXY_STAT_BAD 3 /* invalid request parameter */
40 #define PROXY_STAT_DENY 4 /* table not approved for proxying */
42 /* LICENSE
43 /* .ad
44 /* .fi
45 /* The Secure Mailer license must be distributed with this software.
46 /* AUTHOR(S)
47 /* Wietse Venema
48 /* IBM T.J. Watson Research
49 /* P.O. Box 704
50 /* Yorktown Heights, NY 10598, USA
51 /*--*/
53 #endif