]> git.sur5r.net Git - openldap/blobdiff - include/portable.h.in
Update slapd to use lutil_passwd() for both user and root passwords.
[openldap] / include / portable.h.in
index c306baebc4fd46afe38c183f7151eefefd90278d..c29a0b1eb3c6a34fad9deb28b44dac22dda1fe52 100644 (file)
@@ -1,4 +1,5 @@
 /* include/portable.h.in.  Generated automatically from configure.in by autoheader.  */
+/* portable.h.top begin */
 /*
 Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA
 All rights reserved.
@@ -31,6 +32,7 @@ is provided ``as is'' without express or implied warranty.
 #ifndef _LDAP_PORTABLE_H
 #define _LDAP_PORTABLE_H
 
+/* portable.h.top end */
 
 /* Define if on AIX 3.
    System headers sometimes define this.
@@ -104,12 +106,32 @@ is provided ``as is'' without express or implied warranty.
 /* Define to `int' if <sys/types.h> doesn't define.  */
 #undef uid_t
 
+/* Define if your processor stores words with the most significant
+   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
+#undef WORDS_BIGENDIAN
+
+/* define this if needed to get reentrant functions */
+#undef REENTRANT
+#undef _REENTRANT
+
+/* define this if needed to get threadsafe functions */
+#undef THREADSAFE
+#undef _THREADSAFE
+#undef THREAD_SAFE
+#undef _THREAD_SAFE
+
+/* define this if cross compiling */
+#undef CROSS_COMPILING
+
 /* define this if toupper() requires tolower() check */
 #undef C_UPPER_LOWER
 
 /* define this if sys_errlist is not defined in stdio.h or errno.h */
 #undef DECL_SYS_ERRLIST
 
+/* define this if TIOCGWINSZ is defined in sys/ioctl.h */
+#undef GWINSZ_IN_SYS_IOCTL
+
 /* define if you have berkeley db */
 #undef HAVE_BERKELEY_DB
 
@@ -119,12 +141,15 @@ is provided ``as is'' without express or implied warranty.
 /* define if you have crypt */
 #undef HAVE_CRYPT
 
-/* define if you have DCE */
-#undef HAVE_DCE
+/* define if you have DSAP */
+#undef HAVE_DSAP
 
 /* define if you have GDBM */
 #undef HAVE_GDBM
 
+/* define if you have ISODE */
+#undef HAVE_ISODE
+
 /* define if you have Kerberos */
 #undef HAVE_KERBEROS
 
@@ -143,15 +168,33 @@ is provided ``as is'' without express or implied warranty.
 /* define if you have Mach CThreads */
 #undef HAVE_MACH_CTHREADS
 
-/* define if you have a preemptive POSIX Threads implementation */
-#undef HAVE_PREEMPTIVE_PTHREADS
+/* define if you have POSIX termios */
+#undef HAVE_POSIX_TERMIOS
+
+/* define if you have PP */
+#undef HAVE_PP
 
 /* define if you have POSIX Threads */
 #undef HAVE_PTHREADS
 
-/* define if your POSIX Threads implementatin is circa Draft 4 */
+/* define if your POSIX Threads implementation is circa Final Draft */
+#undef HAVE_PTHREADS_FINAL
+
+/* define if your POSIX Threads implementation is circa Draft 4 */
 #undef HAVE_PTHREADS_D4
 
+/* define if you have ptrdiff_t */
+#undef HAVE_PTRDIFF_T
+
+/* define if you have sched_yield() */
+#ifdef __notdef__
+/* see second sched_yield define */
+#undef HAVE_SCHED_YIELD
+#endif
+
+/* define if you have setproctitle() */
+#undef HAVE_SETPROCTITLE
+
 /* define if you have -lwrap */
 #undef HAVE_TCPD
 
@@ -161,20 +204,23 @@ is provided ``as is'' without express or implied warranty.
 /* define if you have Sun LWP (Solaris style) */
 #undef HAVE_THR
 
+/* define if you have XTPP */
+#undef HAVE_XTPP
+
+/* define this if select() implicitly yields in thread environments */
+#undef HAVE_YIELDING_SELECT
+
 /* define this for connectionless LDAP support */
 #undef LDAP_CONNECTIONLESS
 
 /* define this to add debugging code */
 #undef LDAP_DEBUG
 
-/* define this for LDAP DNS support */
-#undef LDAP_DNS
-
 /* define this to remove -lldap cache support */
 #undef LDAP_NOCACHE
 
-/* define this for LDAP referrals support */
-#undef LDAP_REFERRALS
+/* define this for LDAP process title support */
+#undef LDAP_PROCTITLE
 
 /* define this for LDAP User Interface support */
 #undef LDAP_LIBUI
@@ -191,21 +237,18 @@ is provided ``as is'' without express or implied warranty.
 /* define this if you want no thread support */
 #undef NO_THREADS
 
-/* define this if the thread package is preemptive */
-#undef PREEMPTIVE_THREADS
-
 /* define this for ACL Group support */
 #undef SLAPD_ACLGROUPS
 
+/* define this for ClearText password support */
+#undef SLAPD_CLEARTEXT
+
 /* define this for crypt(3) password support */
 #undef SLAPD_CRYPT
 
 /* define this to use SLAPD LDBM backend */
 #undef SLAPD_LDBM
 
-/* define this for MD5 password support */
-#undef SLAPD_MD5
-
 /* define this to use SLAPD passwd backend */
 #undef SLAPD_PASSWD
 
@@ -215,15 +258,30 @@ is provided ``as is'' without express or implied warranty.
 /* define this for Reverse Lookup support */
 #undef SLAPD_RLOOKUPS
 
-/* define this for SHA1 password support */
-#undef SLAPD_SHA1
-
 /* define this to use SLAPD shell backend */
 #undef SLAPD_SHELL
 
+/* These are defined in ldap_features.h */
+/*
+ LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
+ LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
+*/
+
+/* The number of bytes in a int.  */
+#undef SIZEOF_INT
+
+/* The number of bytes in a long.  */
+#undef SIZEOF_LONG
+
+/* The number of bytes in a short.  */
+#undef SIZEOF_SHORT
+
 /* Define if you have the bcopy function.  */
 #undef HAVE_BCOPY
 
+/* Define if you have the des_string_to_key function.  */
+#undef HAVE_DES_STRING_TO_KEY
+
 /* Define if you have the flock function.  */
 #undef HAVE_FLOCK
 
@@ -236,6 +294,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the getopt function.  */
 #undef HAVE_GETOPT
 
+/* Define if you have the getpwuid function.  */
+#undef HAVE_GETPWUID
+
 /* Define if you have the gettimeofday function.  */
 #undef HAVE_GETTIMEOFDAY
 
@@ -251,15 +312,36 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the mkstemp function.  */
 #undef HAVE_MKSTEMP
 
-/* Define if you have the mktime function.  */
-#undef HAVE_MKTIME
+/* Define if you have the pthread_attr_create function.  */
+#undef HAVE_PTHREAD_ATTR_CREATE
+
+/* Define if you have the pthread_attr_delete function.  */
+#undef HAVE_PTHREAD_ATTR_DELETE
+
+/* Define if you have the pthread_attr_destroy function.  */
+#undef HAVE_PTHREAD_ATTR_DESTROY
+
+/* Define if you have the pthread_attr_init function.  */
+#undef HAVE_PTHREAD_ATTR_INIT
+
+/* Define if you have the pthread_attr_setdetach_np function.  */
+#undef HAVE_PTHREAD_ATTR_SETDETACH_NP
+
+/* Define if you have the pthread_attr_setdetachstate function.  */
+#undef HAVE_PTHREAD_ATTR_SETDETACHSTATE
 
 /* Define if you have the pthread_kill function.  */
 #undef HAVE_PTHREAD_KILL
 
+/* Define if you have the pthread_setconcurrency function.  */
+#undef HAVE_PTHREAD_SETCONCURRENCY
+
 /* Define if you have the pthread_yield function.  */
 #undef HAVE_PTHREAD_YIELD
 
+/* Define if you have the res_search function.  */
+#undef HAVE_RES_SEARCH
+
 /* Define if you have the sched_yield function.  */
 #undef HAVE_SCHED_YIELD
 
@@ -278,6 +360,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the sigset function.  */
 #undef HAVE_SIGSET
 
+/* Define if you have the snprintf function.  */
+#undef HAVE_SNPRINTF
+
 /* Define if you have the socket function.  */
 #undef HAVE_SOCKET
 
@@ -287,6 +372,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the strerror function.  */
 #undef HAVE_STRERROR
 
+/* Define if you have the strpbrk function.  */
+#undef HAVE_STRPBRK
+
 /* Define if you have the strrchr function.  */
 #undef HAVE_STRRCHR
 
@@ -296,8 +384,8 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the strstr function.  */
 #undef HAVE_STRSTR
 
-/* Define if you have the strtod function.  */
-#undef HAVE_STRTOD
+/* Define if you have the strtok function.  */
+#undef HAVE_STRTOK
 
 /* Define if you have the strtol function.  */
 #undef HAVE_STRTOL
@@ -311,9 +399,18 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the tempnam function.  */
 #undef HAVE_TEMPNAM
 
+/* Define if you have the thr_setconcurrency function.  */
+#undef HAVE_THR_SETCONCURRENCY
+
+/* Define if you have the vsnprintf function.  */
+#undef HAVE_VSNPRINTF
+
 /* Define if you have the waitpid function.  */
 #undef HAVE_WAITPID
 
+/* Define if you have the <crypt.h> header file.  */
+#undef HAVE_CRYPT_H
+
 /* Define if you have the <db.h> header file.  */
 #undef HAVE_DB_H
 
@@ -350,6 +447,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the <krb.h> header file.  */
 #undef HAVE_KRB_H
 
+/* Define if you have the <libutil.h> header file.  */
+#undef HAVE_LIBUTIL_H
+
 /* Define if you have the <limits.h> header file.  */
 #undef HAVE_LIMITS_H
 
@@ -362,6 +462,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the <malloc.h> header file.  */
 #undef HAVE_MALLOC_H
 
+/* Define if you have the <memory.h> header file.  */
+#undef HAVE_MEMORY_H
+
 /* Define if you have the <ncurses.h> header file.  */
 #undef HAVE_NCURSES_H
 
@@ -371,9 +474,15 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the <ndir.h> header file.  */
 #undef HAVE_NDIR_H
 
+/* Define if you have the <psap.h> header file.  */
+#undef HAVE_PSAP_H
+
 /* Define if you have the <pthread.h> header file.  */
 #undef HAVE_PTHREAD_H
 
+/* Define if you have the <pwd.h> header file.  */
+#undef HAVE_PWD_H
+
 /* Define if you have the <regex.h> header file.  */
 #undef HAVE_REGEX_H
 
@@ -383,9 +492,18 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the <sgtty.h> header file.  */
 #undef HAVE_SGTTY_H
 
+/* Define if you have the <stdarg.h> header file.  */
+#undef HAVE_STDARG_H
+
 /* Define if you have the <stddef.h> header file.  */
 #undef HAVE_STDDEF_H
 
+/* Define if you have the <string.h> header file.  */
+#undef HAVE_STRING_H
+
+/* Define if you have the <strings.h> header file.  */
+#undef HAVE_STRINGS_H
+
 /* Define if you have the <synch.h> header file.  */
 #undef HAVE_SYNCH_H
 
@@ -398,6 +516,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the <sys/file.h> header file.  */
 #undef HAVE_SYS_FILE_H
 
+/* Define if you have the <sys/filio.h> header file.  */
+#undef HAVE_SYS_FILIO_H
+
 /* Define if you have the <sys/ioctl.h> header file.  */
 #undef HAVE_SYS_IOCTL_H
 
@@ -407,6 +528,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the <sys/param.h> header file.  */
 #undef HAVE_SYS_PARAM_H
 
+/* Define if you have the <sys/resource.h> header file.  */
+#undef HAVE_SYS_RESOURCE_H
+
 /* Define if you have the <sys/socket.h> header file.  */
 #undef HAVE_SYS_SOCKET_H
 
@@ -452,13 +576,20 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the nsl_s library (-lnsl_s).  */
 #undef HAVE_LIBNSL_S
 
+/* Define if you have the resolv library (-lresolv).  */
+#undef HAVE_LIBRESOLV
+
 /* Define if you have the socket library (-lsocket).  */
 #undef HAVE_LIBSOCKET
+/* portable.h.bot begin */
 
 #ifdef HAVE_STDDEF_H
 #      include <stddef.h>
 #endif
 
 #include "ldap_cdefs.h"
+#include "ldap_features.h"
 
 #endif /* _LDAP_PORTABLE_H */
+
+/* portable.h.bot end */