Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / util / attr_clnt.h
blob4fad0a22143d1f20cb70f69e9eb83de46a341610
1 /* $NetBSD$ */
3 #ifndef _ATTR_CLNT_H_INCLUDED_
4 #define _ATTR_CLNT_H_INCLUDED_
6 /*++
7 /* NAME
8 /* attr_clnt 3h
9 /* SUMMARY
10 /* attribute query-reply client
11 /* SYNOPSIS
12 /* #include <attr_clnt.h>
13 /* DESCRIPTION
14 /* .nf
17 * Utility library.
19 #include <attr.h>
22 * External interface.
24 typedef struct ATTR_CLNT ATTR_CLNT;
25 typedef int (*ATTR_CLNT_PRINT_FN) (VSTREAM *, int, va_list);
26 typedef int (*ATTR_CLNT_SCAN_FN) (VSTREAM *, int, va_list);
28 extern ATTR_CLNT *attr_clnt_create(const char *, int, int, int);
29 extern int attr_clnt_request(ATTR_CLNT *, int,...);
30 extern void attr_clnt_free(ATTR_CLNT *);
31 extern void attr_clnt_control(ATTR_CLNT *, int, ...);
33 #define ATTR_CLNT_CTL_END 0
34 #define ATTR_CLNT_CTL_PROTO 1
36 /* LICENSE
37 /* .ad
38 /* .fi
39 /* The Secure Mailer license must be distributed with this software.
40 /* AUTHOR(S)
41 /* Wietse Venema
42 /* IBM T.J. Watson Research
43 /* P.O. Box 704
44 /* Yorktown Heights, NY 10598, USA
45 /*--*/
47 #endif