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 if you have the gssapi.h header file */
55 /* Define to 1 if you have the `gsskrb5_register_acceptor_identity' function.
57 #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
59 /* Define if your GSSAPI implimentation defines GSS_C_NT_HOSTBASED_SERVICE */
60 #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
62 /* Define if your GSSAPI implimentation defines GSS_C_NT_USER_NAME */
63 #undef HAVE_GSS_C_NT_USER_NAME
65 /* Include HTTP form Support */
68 /* Define to 1 if you have the <inttypes.h> header file. */
69 #undef HAVE_INTTYPES_H
71 /* Do we have Kerberos 4 Support? */
74 /* Define to 1 if you have the <krb5.h> header file. */
77 /* Define to 1 if you have the `krb_get_err_text' function. */
78 #undef HAVE_KRB_GET_ERR_TEXT
80 /* Support for LDAP? */
83 /* Define to 1 if you have the `resolv' library (-lresolv). */
86 /* Define to 1 if you have the <memory.h> header file. */
89 /* Define to 1 if you have the `mkdir' function. */
92 /* Do we have OpenSSL? */
95 /* Support for PAM? */
98 /* Does compiler understand __PRETTY_FUNCTION__ */
99 #undef HAVE_PRETTY_FUNCTION
101 /* Include support for saslauthd? */
102 #undef HAVE_SASLAUTHD
104 /* Include SIA Support */
107 /* Does sockaddr have an sa_len? */
108 #undef HAVE_SOCKADDR_SA_LEN
110 /* Define to 1 if you have the `socket' function. */
113 /* Do we have a socklen_t? */
114 #undef HAVE_SOCKLEN_T
116 /* Is there an ss_family in sockaddr_storage? */
117 #undef HAVE_SS_FAMILY
119 /* Define to 1 if you have the <stdint.h> header file. */
122 /* Define to 1 if you have the <stdlib.h> header file. */
125 /* Define to 1 if you have the `strdup' function. */
128 /* Define to 1 if you have the <strings.h> header file. */
129 #undef HAVE_STRINGS_H
131 /* Define to 1 if you have the <string.h> header file. */
134 /* Define to 1 if you have the `strlcat' function. */
137 /* Define to 1 if you have the `strlcpy' function. */
140 /* Do we have a sockaddr_storage struct? */
141 #undef HAVE_STRUCT_SOCKADDR_STORAGE
143 /* Define to 1 if you have the <syslog.h> header file. */
146 /* Define to 1 if you have the <sys/stat.h> header file. */
147 #undef HAVE_SYS_STAT_H
149 /* Define to 1 if you have the <sys/time.h> header file. */
150 #undef HAVE_SYS_TIME_H
152 /* Define to 1 if you have the <sys/types.h> header file. */
153 #undef HAVE_SYS_TYPES_H
155 /* Define to 1 if you have the <sys/uio.h> header file. */
156 #undef HAVE_SYS_UIO_H
158 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
159 #undef HAVE_SYS_WAIT_H
161 /* Define to 1 if you have the <unistd.h> header file. */
164 /* define if your compiler has __attribute__ */
165 #undef HAVE___ATTRIBUTE__
170 /* Name of package */
173 /* Define to the address where bug reports for this package should be sent. */
174 #undef PACKAGE_BUGREPORT
176 /* Define to the full name of this package. */
179 /* Define to the full name and version of this package. */
180 #undef PACKAGE_STRING
182 /* Define to the one symbol short name of this package. */
183 #undef PACKAGE_TARNAME
185 /* Define to the home page for this package. */
188 /* Define to the version of this package. */
189 #undef PACKAGE_VERSION
191 /* Location of saslauthd socket */
192 #undef PATH_SASLAUTHD_RUNDIR
194 /* Define as the return type of signal handlers (`int' or `void'). */
197 /* Saslauthd runs threaded? */
198 #undef SASLAUTHD_THREADED
200 /* Use BerkeleyDB for SASLdb */
201 #undef SASL_BERKELEYDB
203 /* Path to default SASLdb database */
206 /* Use GDBM for SASLdb */
209 /* Use NDBM for SASLdb */
212 /* The size of `long', as computed by sizeof. */
215 /* User KERBEROS_V4 Staticly */
216 #undef STATIC_KERBEROS4
218 /* Link SASLdb Staticly */
221 /* Define to 1 if you have the ANSI C header files. */
224 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
225 #undef TIME_WITH_SYS_TIME
227 /* Use the doors IPC API */
230 /* Version number of package */
236 /* Use OpenSSL DES Implementation */
239 /* Define to empty if `const' does not conform to ANSI C. */
242 /* Define to `int' if <sys/types.h> does not define. */
247 #ifndef HAVE___ATTRIBUTE__
248 /* Can't use attributes... */
249 #define __attribute__(foo)
253 #include <sys/types.h>
254 #include <sys/socket.h>
257 # include <sys/param.h>
259 # include <winsock2.h>
263 #include <netinet/in.h>
265 #ifndef HAVE_SOCKLEN_T
266 typedef unsigned int socklen_t;
267 #endif /* HAVE_SOCKLEN_T */
269 #ifndef HAVE_STRUCT_SOCKADDR_STORAGE
270 #define _SS_MAXSIZE 128 /* Implementation specific max size */
271 #define _SS_PADSIZE (_SS_MAXSIZE - sizeof (struct sockaddr))
273 struct sockaddr_storage {
274 struct sockaddr ss_sa;
275 char __ss_pad2[_SS_PADSIZE];
277 # define ss_family ss_sa.sa_family
278 #endif /* !HAVE_STRUCT_SOCKADDR_STORAGE */
281 /* Define it to something that should never appear */
282 #define AF_INET6 AF_MAX
285 /* Create a struct iovec if we need one */
286 #if !defined(HAVE_SYS_UIO_H)
292 #include <sys/types.h>
296 #ifndef HAVE_GETADDRINFO
297 #define getaddrinfo sasl_getaddrinfo
298 #define freeaddrinfo sasl_freeaddrinfo
299 #define getnameinfo sasl_getnameinfo
300 #define gai_strerror sasl_gai_strerror
304 #ifndef AI_NUMERICHOST /* support glibc 2.0.x */
305 #define AI_NUMERICHOST 4
306 #define NI_NUMERICHOST 2
307 #define NI_NAMEREQD 4
308 #define NI_NUMERICSERV 8
311 /* handy string manipulation functions */
313 extern size_t saslauthd_strlcpy(char *dst, const char *src, size_t len);
314 #define strlcpy(x,y,z) saslauthd_strlcpy((x),(y),(z))
317 extern size_t saslauthd_strlcat(char *dst, const char *src, size_t len);
318 #define strlcat(x,y,z) saslauthd_strlcat((x),(y),(z))