xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/verify_clnt.h (revision 41fbaed053f8fbfdf9d2a4ee0a7386a3c83f8505)
1 /*	$NetBSD: verify_clnt.h,v 1.1.1.1 2009/06/23 10:08:48 tron Exp $	*/
2 
3 #ifndef _VRFY_CLNT_H_INCLUDED_
4 #define _VRFY_CLNT_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	verify_clnt 3h
9 /* SUMMARY
10 /*	address verification client interface
11 /* SYNOPSIS
12 /*	#include <verify_clnt.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * System library.
18   */
19 #include <stdarg.h>
20 
21  /*
22   * Global library.
23   */
24 #include <deliver_request.h>
25 
26  /*
27   * Address verification requests.
28   */
29 #define VRFY_REQ_QUERY		"query"
30 #define VRFY_REQ_UPDATE		"update"
31 
32  /*
33   * Request (NOT: address) status codes.
34   */
35 #define VRFY_STAT_OK		0
36 #define VRFY_STAT_FAIL		(-1)
37 #define VRFY_STAT_BAD		(-2)
38 
39  /*
40   * Functional interface.
41   */
42 extern int verify_clnt_query(const char *, int *, VSTRING *);
43 extern int verify_clnt_update(const char *, int, const char *);
44 
45 /* LICENSE
46 /* .ad
47 /* .fi
48 /*	The Secure Mailer license must be distributed with this software.
49 /* AUTHOR(S)
50 /*	Wietse Venema
51 /*	IBM T.J. Watson Research
52 /*	P.O. Box 704
53 /*	Yorktown Heights, NY 10598, USA
54 /*--*/
55 
56 #endif
57