PageRenderTime 24ms CodeModel.GetById 15ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/bind9/lib/isc/include/isc/namespace.h

https://bitbucket.org/freebsd/freebsd-head/
C++ Header | 164 lines | 133 code | 11 blank | 20 comment | 0 complexity | b5c84b07ce496e9f52c284a91d127d54 MD5 | raw file
  1/*
  2 * Copyright (C) 2009, 2010, 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_ctxshutdown isc__app_ctxshutdown
 35#define isc_app_ctxsuspend isc__app_ctxsuspend
 36#define isc_app_reload isc__app_reload
 37#define isc_app_finish isc__app_finish
 38#define isc_app_block isc__app_block
 39#define isc_app_unblock isc__app_unblock
 40#define isc_appctx_create isc__appctx_create
 41#define isc_appctx_destroy isc__appctx_destroy
 42#define isc_appctx_settaskmgr isc__appctx_settaskmgr
 43#define isc_appctx_setsocketmgr isc__appctx_setsocketmgr
 44#define isc_appctx_settimermgr isc__appctx_settimermgr
 45
 46#define isc_mem_checkdestroyed isc__mem_checkdestroyed
 47#define isc_mem_createx isc__mem_createx
 48#define isc_mem_createx2 isc__mem_createx2
 49#define isc_mem_create isc__mem_create
 50#define isc_mem_create2 isc__mem_create2
 51#define isc_mem_attach isc__mem_attach
 52#define isc_mem_detach isc__mem_detach
 53#define isc__mem_putanddetach isc___mem_putanddetach
 54#define isc_mem_destroy isc__mem_destroy
 55#define isc_mem_ondestroy isc__mem_ondestroy
 56#define isc__mem_get isc___mem_get
 57#define isc__mem_put isc___mem_put
 58#define isc_mem_stats isc__mem_stats
 59#define isc__mem_allocate isc___mem_allocate
 60#define isc__mem_free isc___mem_free
 61#define isc__mem_strdup isc___mem_strdup
 62#define isc__mem_reallocate isc___mem_reallocate
 63#define isc_mem_references isc__mem_references
 64#define isc_mem_setdestroycheck isc__mem_setdestroycheck
 65#define isc_mem_setquota isc__mem_setquota
 66#define isc_mem_getname isc__mem_getname
 67#define isc_mem_getquota isc__mem_getquota
 68#define isc_mem_gettag isc__mem_gettag
 69#define isc_mem_inuse isc__mem_inuse
 70#define isc_mem_isovermem isc__mem_isovermem
 71#define isc_mem_setname isc__mem_setname
 72#define isc_mem_setwater isc__mem_setwater
 73#define isc_mem_printallactive isc__mem_printallactive
 74#define isc_mem_waterack isc__mem_waterack
 75#define isc_mempool_create isc__mempool_create
 76#define isc_mempool_setname isc__mempool_setname
 77#define isc_mempool_destroy isc__mempool_destroy
 78#define isc_mempool_associatelock isc__mempool_associatelock
 79#define isc__mempool_get isc___mempool_get
 80#define isc__mempool_put isc___mempool_put
 81#define isc_mempool_setfreemax isc__mempool_setfreemax
 82#define isc_mempool_getfreemax isc__mempool_getfreemax
 83#define isc_mempool_getfreecount isc__mempool_getfreecount
 84#define isc_mempool_setmaxalloc isc__mempool_setmaxalloc
 85#define isc_mempool_getmaxalloc isc__mempool_getmaxalloc
 86#define isc_mempool_getallocated isc__mempool_getallocated
 87#define isc_mempool_setfillcount isc__mempool_setfillcount
 88#define isc_mempool_getfillcount isc__mempool_getfillcount
 89
 90#define isc_socket_create isc__socket_create
 91#define isc_socket_attach isc__socket_attach
 92#define isc_socket_detach isc__socket_detach
 93#define isc_socketmgr_create isc__socketmgr_create
 94#define isc_socketmgr_create2 isc__socketmgr_create2
 95#define isc_socketmgr_destroy isc__socketmgr_destroy
 96#define isc_socket_open isc__socket_open
 97#define isc_socket_close isc__socket_close
 98#define isc_socket_recvv isc__socket_recvv
 99#define isc_socket_recv isc__socket_recv
100#define isc_socket_recv2 isc__socket_recv2
101#define isc_socket_send isc__socket_send
102#define isc_socket_sendto isc__socket_sendto
103#define isc_socket_sendv isc__socket_sendv
104#define isc_socket_sendtov isc__socket_sendtov
105#define isc_socket_sendto2 isc__socket_sendto2
106#define isc_socket_cleanunix isc__socket_cleanunix
107#define isc_socket_permunix isc__socket_permunix
108#define isc_socket_bind isc__socket_bind
109#define isc_socket_filter isc__socket_filter
110#define isc_socket_listen isc__socket_listen
111#define isc_socket_accept isc__socket_accept
112#define isc_socket_connect isc__socket_connect
113#define isc_socket_getname isc__socket_getname
114#define isc_socket_gettag isc__socket_gettag
115#define isc_socket_getpeername isc__socket_getpeername
116#define isc_socket_getsockname isc__socket_getsockname
117#define isc_socket_cancel isc__socket_cancel
118#define isc_socket_gettype isc__socket_gettype
119#define isc_socket_isbound isc__socket_isbound
120#define isc_socket_ipv6only isc__socket_ipv6only
121#define isc_socket_setname isc__socket_setname
122#define isc_socketmgr_getmaxsockets isc__socketmgr_getmaxsockets
123#define isc_socketmgr_setstats isc__socketmgr_setstats
124#define isc_socketmgr_setreserved isc__socketmgr_setreserved
125#define isc__socketmgr_maxudp isc___socketmgr_maxudp
126#define isc_socket_fdwatchcreate isc__socket_fdwatchcreate
127#define isc_socket_fdwatchpoke isc__socket_fdwatchpoke
128
129#define isc_task_create isc__task_create
130#define isc_task_attach isc__task_attach
131#define isc_task_detach isc__task_detach
132/* #define isc_task_exiting isc__task_exiting XXXMPA */
133#define isc_task_send isc__task_send
134#define isc_task_sendanddetach isc__task_sendanddetach
135#define isc_task_purgerange isc__task_purgerange
136#define isc_task_purge isc__task_purge
137#define isc_task_purgeevent isc__task_purgeevent
138#define isc_task_unsendrange isc__task_unsendrange
139#define isc_task_unsend isc__task_unsend
140#define isc_task_onshutdown isc__task_onshutdown
141#define isc_task_shutdown isc__task_shutdown
142#define isc_task_destroy isc__task_destroy
143#define isc_task_setname isc__task_setname
144#define isc_task_getname isc__task_getname
145#define isc_task_gettag isc__task_gettag
146#define isc_task_getcurrenttime isc__task_getcurrenttime
147#define isc_taskmgr_create isc__taskmgr_create
148#define isc_taskmgr_destroy isc__taskmgr_destroy
149#define isc_task_beginexclusive isc__task_beginexclusive
150#define isc_task_endexclusive isc__task_endexclusive
151
152#define isc_timer_create isc__timer_create
153#define isc_timer_reset isc__timer_reset
154#define isc_timer_gettype isc__timer_gettype
155#define isc_timer_touch isc__timer_touch
156#define isc_timer_attach isc__timer_attach
157#define isc_timer_detach isc__timer_detach
158#define isc_timermgr_create isc__timermgr_create
159#define isc_timermgr_poke isc__timermgr_poke
160#define isc_timermgr_destroy isc__timermgr_destroy
161
162#endif /* BIND9 */
163
164#endif /* ISCAPI_NAMESPACE_H */