/* saslauthd.h.in. Generated from configure.in by autoheader. */ #ifndef _SASLAUTHD_H #define _SASLAUTHD_H #include /* Include SASLdb Support */ #undef AUTH_SASLDB /* Define if your getpwnam_r()/getspnam_r() functions take 5 arguments */ #undef GETXXNAM_R_5ARG /* Define to 1 if you have the header file. */ #undef HAVE_CRYPT_H /* Define to 1 if you have the `dns_lookup' function. */ #undef HAVE_DNS_LOOKUP /* Define to 1 if you have the `dn_expand' function. */ #undef HAVE_DN_EXPAND /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H /* Does the compiler understand __func__ */ #undef HAVE_FUNC /* Does compiler understand __FUNCTION__ */ #undef HAVE_FUNCTION /* Do we have a getaddrinfo? */ #undef HAVE_GETADDRINFO /* Define to 1 if you have the `gethostname' function. */ #undef HAVE_GETHOSTNAME /* Do we have a getnameinfo() function? */ #undef HAVE_GETNAMEINFO /* Define to 1 if you have the `getspnam' function. */ #undef HAVE_GETSPNAM /* Define to 1 if you have the `getuserpw' function. */ #undef HAVE_GETUSERPW /* Include GSSAPI/Kerberos 5 Support */ #undef HAVE_GSSAPI /* Define if you have the gssapi.h header file */ #undef HAVE_GSSAPI_H /* Define to 1 if you have the `gsskrb5_register_acceptor_identity' function. */ #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY /* Define if your GSSAPI implimentation defines GSS_C_NT_HOSTBASED_SERVICE */ #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE /* Define if your GSSAPI implimentation defines GSS_C_NT_USER_NAME */ #undef HAVE_GSS_C_NT_USER_NAME /* Include HTTP form Support */ #undef HAVE_HTTPFORM /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Do we have Kerberos 4 Support? */ #undef HAVE_KRB /* Define to 1 if you have the header file. */ #undef HAVE_KRB5_H /* Define to 1 if you have the `krb_get_err_text' function. */ #undef HAVE_KRB_GET_ERR_TEXT /* Support for LDAP? */ #undef HAVE_LDAP /* Define to 1 if you have the `resolv' library (-lresolv). */ #undef HAVE_LIBRESOLV /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `mkdir' function. */ #undef HAVE_MKDIR /* Do we have OpenSSL? */ #undef HAVE_OPENSSL /* Support for PAM? */ #undef HAVE_PAM /* Does compiler understand __PRETTY_FUNCTION__ */ #undef HAVE_PRETTY_FUNCTION /* Include support for saslauthd? */ #undef HAVE_SASLAUTHD /* Include SIA Support */ #undef HAVE_SIA /* Does sockaddr have an sa_len? */ #undef HAVE_SOCKADDR_SA_LEN /* Define to 1 if you have the `socket' function. */ #undef HAVE_SOCKET /* Do we have a socklen_t? */ #undef HAVE_SOCKLEN_T /* Is there an ss_family in sockaddr_storage? */ #undef HAVE_SS_FAMILY /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strlcat' function. */ #undef HAVE_STRLCAT /* Define to 1 if you have the `strlcpy' function. */ #undef HAVE_STRLCPY /* Do we have a sockaddr_storage struct? */ #undef HAVE_STRUCT_SOCKADDR_STORAGE /* Define to 1 if you have the header file. */ #undef HAVE_SYSLOG_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_UIO_H /* Define to 1 if you have that is POSIX.1 compatible. */ #undef HAVE_SYS_WAIT_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* define if your compiler has __attribute__ */ #undef HAVE___ATTRIBUTE__ /* Using Heimdal */ #undef KRB5_HEIMDAL /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Location of saslauthd socket */ #undef PATH_SASLAUTHD_RUNDIR /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* Saslauthd runs threaded? */ #undef SASLAUTHD_THREADED /* Use BerkeleyDB for SASLdb */ #undef SASL_BERKELEYDB /* Path to default SASLdb database */ #undef SASL_DB_PATH /* Use GDBM for SASLdb */ #undef SASL_GDBM /* Use NDBM for SASLdb */ #undef SASL_NDBM /* The size of `long', as computed by sizeof. */ #undef SIZEOF_LONG /* User KERBEROS_V4 Staticly */ #undef STATIC_KERBEROS4 /* Link SASLdb Staticly */ #undef STATIC_SASLDB /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME /* Use the doors IPC API */ #undef USE_DOORS /* Version number of package */ #undef VERSION /* Use DES */ #undef WITH_DES /* Use OpenSSL DES Implementation */ #undef WITH_SSL_DES /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `int' if does not define. */ #undef pid_t #ifndef HAVE___ATTRIBUTE__ /* Can't use attributes... */ #define __attribute__(foo) #endif #include #include #include #ifndef WIN32 # include # include #else /* WIN32 */ # include #endif /* WIN32 */ #include #include #ifndef HAVE_SOCKLEN_T typedef unsigned int socklen_t; #endif /* HAVE_SOCKLEN_T */ #ifndef HAVE_STRUCT_SOCKADDR_STORAGE #define _SS_MAXSIZE 128 /* Implementation specific max size */ #define _SS_PADSIZE (_SS_MAXSIZE - sizeof (struct sockaddr)) struct sockaddr_storage { struct sockaddr ss_sa; char __ss_pad2[_SS_PADSIZE]; }; # define ss_family ss_sa.sa_family #endif /* !HAVE_STRUCT_SOCKADDR_STORAGE */ #ifndef AF_INET6 /* Define it to something that should never appear */ #define AF_INET6 AF_MAX #endif /* Create a struct iovec if we need one */ #if !defined(HAVE_SYS_UIO_H) struct iovec { long iov_len; char *iov_base; }; #else #include #include #endif #ifndef HAVE_GETADDRINFO #define getaddrinfo sasl_getaddrinfo #define freeaddrinfo sasl_freeaddrinfo #define getnameinfo sasl_getnameinfo #define gai_strerror sasl_gai_strerror #include "gai.h" #endif #ifndef AI_NUMERICHOST /* support glibc 2.0.x */ #define AI_NUMERICHOST 4 #define NI_NUMERICHOST 2 #define NI_NAMEREQD 4 #define NI_NUMERICSERV 8 #endif /* handy string manipulation functions */ #ifndef HAVE_STRLCPY extern size_t saslauthd_strlcpy(char *dst, const char *src, size_t len); #define strlcpy(x,y,z) saslauthd_strlcpy((x),(y),(z)) #endif #ifndef HAVE_STRLCAT extern size_t saslauthd_strlcat(char *dst, const char *src, size_t len); #define strlcat(x,y,z) saslauthd_strlcat((x),(y),(z)) #endif #endif