Change the kernel dev_t, representing a pointer to a specinfo structure,
[dragonfly.git] / contrib / bind-9.2.4rc7 / lib / bind / port_before.h.in
1 #ifndef port_before_h
2 #define port_before_h
3 #include <config.h>
4
5 struct group;           /* silence warning */
6 struct passwd;          /* silence warning */
7 struct timeval;         /* silence warning */
8 struct timezone;        /* silence warning */
9
10 #ifdef HAVE_SYS_TIMERS_H
11 #include <sys/timers.h>
12 #endif
13 #include <limits.h>
14
15
16 @WANT_IRS_GR@
17 @WANT_IRS_NIS@
18 @WANT_IRS_PW@
19
20 @BSD_COMP@
21
22 @DO_PTHREADS@
23 @GETGROUPLIST_ARGS@
24 @GETNETBYADDR_ADDR_T@
25 @SETPWENT_VOID@
26 @SETGRENT_VOID@
27
28 @NET_R_ARGS@
29 @NET_R_BAD@
30 @NET_R_COPY@
31 @NET_R_COPY_ARGS@
32 @NET_R_END_RESULT@
33 @NET_R_END_RETURN@
34 @NET_R_ENT_ARGS@
35 @NET_R_OK@
36 @NET_R_RETURN@
37 @NET_R_SET_RESULT@
38 @NET_R_SETANSWER@
39 @NET_R_SET_RETURN@
40 @NETENT_DATA@
41
42 @GROUP_R_RETURN@
43 @GROUP_R_SET_RETURN@
44 @GROUP_R_SET_RESULT@
45 @GROUP_R_END_RETURN@
46 @GROUP_R_END_RESULT@
47 @GROUP_R_ARGS@
48 @GROUP_R_ENT_ARGS@
49 @GROUP_R_OK@
50 @GROUP_R_BAD@
51
52 @HOST_R_ARGS@
53 @HOST_R_BAD@
54 @HOST_R_COPY@
55 @HOST_R_COPY_ARGS@
56 @HOST_R_END_RESULT@
57 @HOST_R_END_RETURN@
58 @HOST_R_ENT_ARGS@
59 @HOST_R_ERRNO@
60 @HOST_R_OK@
61 @HOST_R_RETURN@
62 @HOST_R_SETANSWER@
63 @HOST_R_SET_RESULT@
64 @HOST_R_SET_RETURN@
65 @HOSTENT_DATA@
66
67 @NGR_R_ARGS@
68 @NGR_R_BAD@
69 @NGR_R_COPY@
70 @NGR_R_COPY_ARGS@
71 @NGR_R_END_RESULT@
72 @NGR_R_END_RETURN@
73 @NGR_R_ENT_ARGS@
74 @NGR_R_OK@
75 @NGR_R_RETURN@
76 @NGR_R_SET_RESULT@
77 @NGR_R_SET_RETURN@
78 @NGR_R_PRIVATE@
79
80 @PROTO_R_ARGS@
81 @PROTO_R_BAD@
82 @PROTO_R_COPY@
83 @PROTO_R_COPY_ARGS@
84 @PROTO_R_END_RESULT@
85 @PROTO_R_END_RETURN@
86 @PROTO_R_ENT_ARGS@
87 @PROTO_R_OK@
88 @PROTO_R_SETANSWER@
89 @PROTO_R_RETURN@
90 @PROTO_R_SET_RESULT@
91 @PROTO_R_SET_RETURN@
92
93 @PASS_R_ARGS@
94 @PASS_R_BAD@
95 @PASS_R_COPY@
96 @PASS_R_COPY_ARGS@
97 @PASS_R_END_RESULT@
98 @PASS_R_END_RETURN@
99 @PASS_R_ENT_ARGS@
100 @PASS_R_OK@
101 @PASS_R_RETURN@
102 @PASS_R_SET_RESULT@
103 @PASS_R_SET_RETURN@
104
105 @SERV_R_ARGS@
106 @SERV_R_BAD@
107 @SERV_R_COPY@
108 @SERV_R_COPY_ARGS@
109 @SERV_R_END_RESULT@
110 @SERV_R_END_RETURN@
111 @SERV_R_ENT_ARGS@
112 @SERV_R_OK@
113 @SERV_R_SETANSWER@
114 @SERV_R_RETURN@
115 @SERV_R_SET_RESULT@
116 @SERV_R_SET_RETURN@
117
118
119 #define DE_CONST(konst, var) \
120         do { \
121                 union { const void *k; void *v; } _u; \
122                 _u.k = konst; \
123                 var = _u.v; \
124         } while (0)
125
126 #define UNUSED(x) (x) = (x)
127
128 @SOLARIS_BITTYPES@
129 @ISC_SOCKLEN_T@
130
131 #ifdef __GNUC__
132 #define ISC_FORMAT_PRINTF(fmt, args) \
133         __attribute__((__format__(__printf__, fmt, args)))
134 #else
135 #define ISC_FORMAT_PRINTF(fmt, args)
136 #endif
137
138 #endif