1 /* saslauthd.h.in. Generated from configure.in by autoheader. */
10 /* Include SASLdb Support */
13 /* Define if your getpwnam_r()/getspnam_r() functions take 5 arguments */
14 #undef GETXXNAM_R_5ARG
16 /* Define to 1 if you have the <crypt.h> header file. */
19 /* Define to 1 if you have the `dns_lookup' function. */
20 #undef HAVE_DNS_LOOKUP
22 /* Define to 1 if you have the `dn_expand' function. */
25 /* Define to 1 if you have the <fcntl.h> header file. */
28 /* Does the compiler understand __func__ */
31 /* Does compiler understand __FUNCTION__ */
34 /* Do we have a getaddrinfo? */
35 #undef HAVE_GETADDRINFO
37 /* Define to 1 if you have the `gethostname' function. */
38 #undef HAVE_GETHOSTNAME
40 /* Do we have a getnameinfo() function? */
41 #undef HAVE_GETNAMEINFO
43 /* Define to 1 if you have the `getspnam' function. */
46 /* Define to 1 if you have the `getuserpw' function. */
49 /* Include GSSAPI/Kerberos 5 Support */
52 /* Define to 1 if you have the <gssapi/gssapi_ext.h> header file. */
53 #undef HAVE_GSSAPI_GSSAPI_EXT_H
55 /* Define if you have the gssapi.h header file */
58 /* Define to 1 if you have the `gsskrb5_register_acceptor_identity' function.
60 #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
62 /* Define if your GSSAPI implimentation defines GSS_C_NT_HOSTBASED_SERVICE */
63 #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
65 /* Define if your GSSAPI implimentation defines GSS_C_NT_USER_NAME */
66 #undef HAVE_GSS_C_NT_USER_NAME
68 /* Define to 1 if you have the `gss_decapsulate_token' function. */
69 #undef HAVE_GSS_DECAPSULATE_TOKEN
71 /* Define to 1 if you have the `gss_encapsulate_token' function. */
72 #undef HAVE_GSS_ENCAPSULATE_TOKEN
74 /* Define to 1 if you have the `gss_oid_equal' function. */
75 #undef HAVE_GSS_OID_EQUAL
77 /* Include HTTP form Support */
80 /* Define to 1 if you have the <inttypes.h> header file. */
81 #undef HAVE_INTTYPES_H
83 /* Do we have Kerberos 4 Support? */
86 /* Define to 1 if you have the <krb5.h> header file. */
89 /* Define to 1 if you have the `krb_get_err_text' function. */
90 #undef HAVE_KRB_GET_ERR_TEXT
92 /* Support for LDAP? */
95 /* Define to 1 if you have the `resolv' library (-lresolv). */
98 /* Define to 1 if you have the <memory.h> header file. */
101 /* Define to 1 if you have the `mkdir' function. */
104 /* Do we have OpenSSL? */
107 /* Support for PAM? */
110 /* Does compiler understand __PRETTY_FUNCTION__ */
111 #undef HAVE_PRETTY_FUNCTION
113 /* Include support for saslauthd? */
114 #undef HAVE_SASLAUTHD
116 /* Include SIA Support */
119 /* Does sockaddr have an sa_len? */
120 #undef HAVE_SOCKADDR_SA_LEN
122 /* Define to 1 if you have the `socket' function. */
125 /* Do we have a socklen_t? */
126 #undef HAVE_SOCKLEN_T
128 /* Is there an ss_family in sockaddr_storage? */
129 #undef HAVE_SS_FAMILY
131 /* Define to 1 if you have the <stdint.h> header file. */
134 /* Define to 1 if you have the <stdlib.h> header file. */
137 /* Define to 1 if you have the `strdup' function. */
140 /* Define to 1 if you have the <strings.h> header file. */
141 #undef HAVE_STRINGS_H
143 /* Define to 1 if you have the <string.h> header file. */
146 /* Define to 1 if you have the `strlcat' function. */
149 /* Define to 1 if you have the `strlcpy' function. */
152 /* Do we have a sockaddr_storage struct? */
153 #undef HAVE_STRUCT_SOCKADDR_STORAGE
155 /* Define to 1 if you have the <syslog.h> header file. */
158 /* Define to 1 if you have the <sys/stat.h> header file. */
159 #undef HAVE_SYS_STAT_H
161 /* Define to 1 if you have the <sys/time.h> header file. */
162 #undef HAVE_SYS_TIME_H
164 /* Define to 1 if you have the <sys/types.h> header file. */
165 #undef HAVE_SYS_TYPES_H
167 /* Define to 1 if you have the <sys/uio.h> header file. */
168 #undef HAVE_SYS_UIO_H
170 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
171 #undef HAVE_SYS_WAIT_H
173 /* Define to 1 if you have the <unistd.h> header file. */
176 /* define if your compiler has __attribute__ */
177 #undef HAVE___ATTRIBUTE__
182 /* Name of package */
185 /* Define to the address where bug reports for this package should be sent. */
186 #undef PACKAGE_BUGREPORT
188 /* Define to the full name of this package. */
191 /* Define to the full name and version of this package. */
192 #undef PACKAGE_STRING
194 /* Define to the one symbol short name of this package. */
195 #undef PACKAGE_TARNAME
197 /* Define to the version of this package. */
198 #undef PACKAGE_VERSION
200 /* Location of saslauthd socket */
201 #undef PATH_SASLAUTHD_RUNDIR
203 /* Define as the return type of signal handlers (`int' or `void'). */
206 /* Saslauthd runs threaded? */
207 #undef SASLAUTHD_THREADED
209 /* Use BerkeleyDB for SASLdb */
210 #undef SASL_BERKELEYDB
212 /* Path to default SASLdb database */
215 /* Use GDBM for SASLdb */
218 /* Use NDBM for SASLdb */
221 /* The size of `long', as computed by sizeof. */
224 /* User KERBEROS_V4 Staticly */
225 #undef STATIC_KERBEROS4
227 /* Link SASLdb Staticly */
230 /* Define to 1 if you have the ANSI C header files. */
233 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
234 #undef TIME_WITH_SYS_TIME
236 /* Use the doors IPC API */
239 /* Version number of package */
245 /* Use OpenSSL DES Implementation */
248 /* Define to empty if `const' does not conform to ANSI C. */
251 /* Define to `int' if <sys/types.h> does not define. */
256 #ifndef HAVE___ATTRIBUTE__
257 /* Can't use attributes... */
258 #define __attribute__(foo)
262 #include <sys/types.h>
263 #include <sys/socket.h>
266 # include <sys/param.h>
268 # include <winsock2.h>
272 #include <netinet/in.h>
274 #ifndef HAVE_SOCKLEN_T
275 typedef unsigned int socklen_t;
276 #endif /* HAVE_SOCKLEN_T */
278 #ifndef HAVE_STRUCT_SOCKADDR_STORAGE
279 #define _SS_MAXSIZE 128 /* Implementation specific max size */
280 #define _SS_PADSIZE (_SS_MAXSIZE - sizeof (struct sockaddr))
282 struct sockaddr_storage {
283 struct sockaddr ss_sa;
284 char __ss_pad2[_SS_PADSIZE];
286 # define ss_family ss_sa.sa_family
287 #endif /* !HAVE_STRUCT_SOCKADDR_STORAGE */
290 /* Define it to something that should never appear */
291 #define AF_INET6 AF_MAX
294 /* Create a struct iovec if we need one */
295 #if !defined(HAVE_SYS_UIO_H)
301 #include <sys/types.h>
305 #ifndef HAVE_GETADDRINFO
306 #define getaddrinfo sasl_getaddrinfo
307 #define freeaddrinfo sasl_freeaddrinfo
308 #define getnameinfo sasl_getnameinfo
309 #define gai_strerror sasl_gai_strerror
313 #ifndef AI_NUMERICHOST /* support glibc 2.0.x */
314 #define AI_NUMERICHOST 4
315 #define NI_NUMERICHOST 2
316 #define NI_NAMEREQD 4
317 #define NI_NUMERICSERV 8
320 /* handy string manipulation functions */
322 extern size_t saslauthd_strlcpy(char *dst, const char *src, size_t len);
323 #define strlcpy(x,y,z) saslauthd_strlcpy((x),(y),(z))
326 extern size_t saslauthd_strlcat(char *dst, const char *src, size_t len);
327 #define strlcat(x,y,z) saslauthd_strlcat((x),(y),(z))