Postfix3.3.1
全て データ構造 ファイル 関数 変数 型定義 マクロ定義
attr_clnt.h
[詳解]
1 #ifndef _ATTR_CLNT_H_INCLUDED_
2 #define _ATTR_CLNT_H_INCLUDED_
3 
4 /*++
5 /* NAME
6 /* attr_clnt 3h
7 /* SUMMARY
8 /* attribute query-reply client
9 /* SYNOPSIS
10 /* #include <attr_clnt.h>
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15  * System library.
16  */
17 #include <stdarg.h>
18 
19  /*
20  * Utility library.
21  */
22 #include <attr.h>
23 
24  /*
25  * External interface.
26  */
27 typedef struct ATTR_CLNT ATTR_CLNT;
28 typedef int (*ATTR_CLNT_PRINT_FN) (VSTREAM *, int, va_list);
29 typedef int (*ATTR_CLNT_SCAN_FN) (VSTREAM *, int, va_list);
30 
31 extern ATTR_CLNT *attr_clnt_create(const char *, int, int, int);
32 extern int attr_clnt_request(ATTR_CLNT *, int,...);
33 extern void attr_clnt_free(ATTR_CLNT *);
34 extern void attr_clnt_control(ATTR_CLNT *, int,...);
35 
36 #define ATTR_CLNT_CTL_END 0
37 #define ATTR_CLNT_CTL_PROTO 1 /* print/scan functions */
38 #define ATTR_CLNT_CTL_REQ_LIMIT 2 /* requests per connection */
39 #define ATTR_CLNT_CTL_TRY_LIMIT 3 /* attempts per request */
40 #define ATTR_CLNT_CTL_TRY_DELAY 4 /* pause between requests */
41 
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 /*--*/
52 
53 #endif
int(* ATTR_CLNT_PRINT_FN)(VSTREAM *, int, va_list)
Definition: attr_clnt.h:28
void attr_clnt_control(ATTR_CLNT *, int,...)
Definition: attr_clnt.c:246
int(* ATTR_CLNT_SCAN_FN)(VSTREAM *, int, va_list)
Definition: attr_clnt.h:29
void attr_clnt_free(ATTR_CLNT *)
Definition: attr_clnt.c:122
int int
Definition: smtpd_proxy.h:21
int attr_clnt_request(ATTR_CLNT *, int,...)
Definition: attr_clnt.c:148
ATTR_CLNT * attr_clnt_create(const char *, int, int, int)
Definition: attr_clnt.c:130