~ubuntu-branches/ubuntu/hoary/postfix/hoary-security

« back to all changes in this revision

Viewing changes to src/global/dict_proxy.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-10-06 11:50:33 UTC
  • Revision ID: james.westby@ubuntu.com-20041006115033-ooo6yfg6kmoteu04
Tags: upstream-2.1.3
ImportĀ upstreamĀ versionĀ 2.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _DICT_PROXY_H_INCLUDED_
 
2
#define _DICT_PROXY_H_INCLUDED_
 
3
 
 
4
/*++
 
5
/* NAME
 
6
/*      dict_proxy 3h
 
7
/* SUMMARY
 
8
/*      dictionary manager interface to PROXY maps
 
9
/* SYNOPSIS
 
10
/*      #include <dict_proxy.h>
 
11
/* DESCRIPTION
 
12
/* .nf
 
13
 
 
14
 /*
 
15
  * Utility library.
 
16
  */
 
17
#include <dict.h>
 
18
 
 
19
 /*
 
20
  * External interface.
 
21
  */
 
22
#define DICT_TYPE_PROXY "proxy"
 
23
 
 
24
extern DICT *dict_proxy_open(const char *, int, int);
 
25
 
 
26
 /*
 
27
  * Protocol interface.
 
28
  */
 
29
#define PROXY_REQ_OPEN          "open"
 
30
#define PROXY_REQ_LOOKUP        "lookup"
 
31
 
 
32
#define PROXY_STAT_OK           0       /* operation succeeded */
 
33
#define PROXY_STAT_NOKEY        1       /* requested key not found */
 
34
#define PROXY_STAT_RETRY        2       /* try lookup again later */
 
35
#define PROXY_STAT_BAD          3       /* invalid request parameter */
 
36
#define PROXY_STAT_DENY         4       /* table not approved for proxying */
 
37
 
 
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
/*--*/
 
48
 
 
49
#endif