Postfix3.3.1
全て データ構造 ファイル 関数 変数 型定義 マクロ定義
nvtable.h
[詳解]
1 #ifndef _NVTABLE_H_INCLUDED_
2 #define _NVTABLE_H_INCLUDED_
3 
4 /*++
5 /* NAME
6 /* nvtable 3h
7 /* SUMMARY
8 /* attribute list manager
9 /* SYNOPSIS
10 /* #include <nvtable.h>
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15  * Utility library.
16  */
17 #include <htable.h>
18 #include <mymalloc.h>
19 
20 typedef struct HTABLE NVTABLE;
21 typedef struct HTABLE_INFO NVTABLE_INFO;
22 
23 #define nvtable_create(size) htable_create(size)
24 #define nvtable_locate(table, key) htable_locate((table), (key))
25 #define nvtable_walk(table, action, ptr) htable_walk((table), HTABLE_ACTION_FN_CAST(action), (ptr))
26 #define nvtable_list(table) htable_list(table)
27 #define nvtable_find(table, key) htable_find((table), (key))
28 #define nvtable_delete(table, key) htable_delete((table), (key), myfree)
29 #define nvtable_free(table) htable_free((table), myfree)
30 
31 extern NVTABLE_INFO *nvtable_update(NVTABLE *, const char *, const char *);
32 
33 /* LICENSE
34 /* .ad
35 /* .fi
36 /* The Secure Mailer license must be distributed with this software.
37 /* AUTHOR(S)
38 /* Wietse Venema
39 /* IBM T.J. Watson Research
40 /* P.O. Box 704
41 /* Yorktown Heights, NY 10598, USA
42 /*--*/
43 
44 #endif
Definition: htable.h:25
NVTABLE_INFO * nvtable_update(NVTABLE *, const char *, const char *)
Definition: nvtable.c:111