xref: /freebsd/contrib/ntp/libntp/lib/isc/include/isc/namespace.h (revision a466cc55373fc3cf86837f09da729535b57e69a1)
1 /*
2  * Copyright (C) 2009-2012  Internet Systems Consortium, Inc. ("ISC")
3  *
4  * Permission to use, copy, modify, and/or distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14  * PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 /* $Id$ */
18 
19 #ifndef ISCAPI_NAMESPACE_H
20 #define ISCAPI_NAMESPACE_H 1
21 
22 /*%
23  * name space conversions
24  */
25 
26 #ifdef BIND9
27 
28 #define isc_app_start isc__app_start
29 #define isc_app_ctxstart isc__app_ctxstart
30 #define isc_app_onrun isc__app_onrun
31 #define isc_app_run isc__app_run
32 #define isc_app_ctxrun isc__app_ctxrun
33 #define isc_app_shutdown isc__app_shutdown
34 #define isc_app_ctxfinish isc__app_ctxfinish
35 #define isc_app_ctxshutdown isc__app_ctxshutdown
36 #define isc_app_ctxsuspend isc__app_ctxsuspend
37 #define isc_app_reload isc__app_reload
38 #define isc_app_finish isc__app_finish
39 #define isc_app_block isc__app_block
40 #define isc_app_unblock isc__app_unblock
41 #define isc_appctx_create isc__appctx_create
42 #define isc_appctx_destroy isc__appctx_destroy
43 #define isc_appctx_settaskmgr isc__appctx_settaskmgr
44 #define isc_appctx_setsocketmgr isc__appctx_setsocketmgr
45 #define isc_appctx_settimermgr isc__appctx_settimermgr
46 
47 #define isc_mem_checkdestroyed isc__mem_checkdestroyed
48 #define isc_mem_createx isc__mem_createx
49 #define isc_mem_createx2 isc__mem_createx2
50 #define isc_mem_create isc__mem_create
51 #define isc_mem_create2 isc__mem_create2
52 #define isc_mem_attach isc__mem_attach
53 #define isc_mem_detach isc__mem_detach
54 #define isc__mem_putanddetach isc___mem_putanddetach
55 #define isc_mem_destroy isc__mem_destroy
56 #define isc_mem_ondestroy isc__mem_ondestroy
57 #define isc__mem_get isc___mem_get
58 #define isc__mem_put isc___mem_put
59 #define isc_mem_stats isc__mem_stats
60 #define isc__mem_allocate isc___mem_allocate
61 #define isc__mem_free isc___mem_free
62 #define isc__mem_strdup isc___mem_strdup
63 #define isc__mem_reallocate isc___mem_reallocate
64 #define isc_mem_references isc__mem_references
65 #define isc_mem_setdestroycheck isc__mem_setdestroycheck
66 #define isc_mem_setquota isc__mem_setquota
67 #define isc_mem_getname isc__mem_getname
68 #define isc_mem_getquota isc__mem_getquota
69 #define isc_mem_gettag isc__mem_gettag
70 #define isc_mem_inuse isc__mem_inuse
71 #define isc_mem_isovermem isc__mem_isovermem
72 #define isc_mem_setname isc__mem_setname
73 #define isc_mem_setwater isc__mem_setwater
74 #define isc_mem_printallactive isc__mem_printallactive
75 #define isc_mem_waterack isc__mem_waterack
76 #define isc_mempool_create isc__mempool_create
77 #define isc_mempool_setname isc__mempool_setname
78 #define isc_mempool_destroy isc__mempool_destroy
79 #define isc_mempool_associatelock isc__mempool_associatelock
80 #define isc__mempool_get isc___mempool_get
81 #define isc__mempool_put isc___mempool_put
82 #define isc_mempool_setfreemax isc__mempool_setfreemax
83 #define isc_mempool_getfreemax isc__mempool_getfreemax
84 #define isc_mempool_getfreecount isc__mempool_getfreecount
85 #define isc_mempool_setmaxalloc isc__mempool_setmaxalloc
86 #define isc_mempool_getmaxalloc isc__mempool_getmaxalloc
87 #define isc_mempool_getallocated isc__mempool_getallocated
88 #define isc_mempool_setfillcount isc__mempool_setfillcount
89 #define isc_mempool_getfillcount isc__mempool_getfillcount
90 
91 #define isc_socket_create isc__socket_create
92 #define isc_socket_dup isc__socket_dup
93 #define isc_socket_attach isc__socket_attach
94 #define isc_socket_detach isc__socket_detach
95 #define isc_socketmgr_create isc__socketmgr_create
96 #define isc_socketmgr_create2 isc__socketmgr_create2
97 #define isc_socketmgr_destroy isc__socketmgr_destroy
98 #define isc_socket_open isc__socket_open
99 #define isc_socket_close isc__socket_close
100 #define isc_socket_recvv isc__socket_recvv
101 #define isc_socket_recv isc__socket_recv
102 #define isc_socket_recv2 isc__socket_recv2
103 #define isc_socket_send isc__socket_send
104 #define isc_socket_sendto isc__socket_sendto
105 #define isc_socket_sendv isc__socket_sendv
106 #define isc_socket_sendtov isc__socket_sendtov
107 #define isc_socket_sendto2 isc__socket_sendto2
108 #define isc_socket_cleanunix isc__socket_cleanunix
109 #define isc_socket_permunix isc__socket_permunix
110 #define isc_socket_bind isc__socket_bind
111 #define isc_socket_filter isc__socket_filter
112 #define isc_socket_listen isc__socket_listen
113 #define isc_socket_accept isc__socket_accept
114 #define isc_socket_connect isc__socket_connect
115 #define isc_socket_getfd isc__socket_getfd
116 #define isc_socket_getname isc__socket_getname
117 #define isc_socket_gettag isc__socket_gettag
118 #define isc_socket_getpeername isc__socket_getpeername
119 #define isc_socket_getsockname isc__socket_getsockname
120 #define isc_socket_cancel isc__socket_cancel
121 #define isc_socket_gettype isc__socket_gettype
122 #define isc_socket_isbound isc__socket_isbound
123 #define isc_socket_ipv6only isc__socket_ipv6only
124 #define isc_socket_setname isc__socket_setname
125 #define isc_socketmgr_getmaxsockets isc__socketmgr_getmaxsockets
126 #define isc_socketmgr_setstats isc__socketmgr_setstats
127 #define isc_socketmgr_setreserved isc__socketmgr_setreserved
128 #define isc__socketmgr_maxudp isc___socketmgr_maxudp
129 #define isc_socket_fdwatchcreate isc__socket_fdwatchcreate
130 #define isc_socket_fdwatchpoke isc__socket_fdwatchpoke
131 
132 #define isc_task_create isc__task_create
133 #define isc_task_attach isc__task_attach
134 #define isc_task_detach isc__task_detach
135 /* #define isc_task_exiting isc__task_exiting XXXMPA */
136 #define isc_task_send isc__task_send
137 #define isc_task_sendanddetach isc__task_sendanddetach
138 #define isc_task_purgerange isc__task_purgerange
139 #define isc_task_purge isc__task_purge
140 #define isc_task_purgeevent isc__task_purgeevent
141 #define isc_task_unsendrange isc__task_unsendrange
142 #define isc_task_unsend isc__task_unsend
143 #define isc_task_onshutdown isc__task_onshutdown
144 #define isc_task_shutdown isc__task_shutdown
145 #define isc_task_destroy isc__task_destroy
146 #define isc_task_setname isc__task_setname
147 #define isc_task_getname isc__task_getname
148 #define isc_task_gettag isc__task_gettag
149 #define isc_task_getcurrenttime isc__task_getcurrenttime
150 #define isc_taskmgr_create isc__taskmgr_create
151 #define isc_taskmgr_setmode isc__taskmgr_setmode
152 #define isc_taskmgr_mode isc__taskmgr_mode
153 #define isc_taskmgr_destroy isc__taskmgr_destroy
154 #define isc_task_beginexclusive isc__task_beginexclusive
155 #define isc_task_endexclusive isc__task_endexclusive
156 #define isc_task_setprivilege isc__task_setprivilege
157 #define isc_task_privilege isc__task_privilege
158 
159 #define isc_timer_create isc__timer_create
160 #define isc_timer_reset isc__timer_reset
161 #define isc_timer_gettype isc__timer_gettype
162 #define isc_timer_touch isc__timer_touch
163 #define isc_timer_attach isc__timer_attach
164 #define isc_timer_detach isc__timer_detach
165 #define isc_timermgr_create isc__timermgr_create
166 #define isc_timermgr_poke isc__timermgr_poke
167 #define isc_timermgr_destroy isc__timermgr_destroy
168 
169 #endif /* BIND9 */
170 
171 #endif /* ISCAPI_NAMESPACE_H */
172