Postfix3.3.1
load_lib.h
[詳解]
1 #ifndef _LOAD_LIB_H_INCLUDED_
2 #define _LOAD_LIB_H_INCLUDED_
3 
4 /*++
5 /* NAME
6 /* load_lib 3h
7 /* SUMMARY
8 /* library loading wrappers
9 /* SYNOPSIS
10 /* #include "load_lib.h"
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15  * External interface.
16  */
17 /* NULL name terminates list */
18 typedef struct LIB_FN {
19  const char *name;
20  void (*fptr)(void);
21 } LIB_FN;
22 
23 typedef struct LIB_DP {
24  const char *name;
25  void *dptr;
26 } LIB_DP;
27 
28 extern void load_library_symbols(const char *, LIB_FN *, LIB_DP *);
29 
30 /* LICENSE
31 /* .ad
32 /* .fi
33 /* The Secure Mailer license must be distributed with this software.
34 /* AUTHOR(S)
35 /* LaMont Jones
36 /* Hewlett-Packard Company
37 /* 3404 Harmony Road
38 /* Fort Collins, CO 80528, USA
39 /*
40 /* Wietse Venema
41 /* IBM T.J. Watson Research
42 /* P.O. Box 704
43 /* Yorktown Heights, NY 10598, USA
44 /*--*/
45 
46 #endif
struct LIB_FN LIB_FN
const char * name
Definition: load_lib.h:24
void load_library_symbols(const char *, LIB_FN *, LIB_DP *)
void(* fptr)(void)
Definition: load_lib.h:20
struct LIB_DP LIB_DP
const char * name
Definition: load_lib.h:19
void * dptr
Definition: load_lib.h:25