]> git.sur5r.net Git - openldap/blobdiff - include/portable.h.in
Update copyright (including with or without modification clarification)
[openldap] / include / portable.h.in
index 0441995f49963c46141fc3b6ec846300c4d0a3da..6e825829d9f414da9f70290776409191e25d23d5 100644 (file)
@@ -3,10 +3,11 @@
  * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
- * Redistribution and use in source and binary forms are permitted only
- * as authorized by the OpenLDAP Public License.  A copy of this
- * license is available at http://www.OpenLDAP.org/license.html or
- * in file LICENSE in the top-level directory of the distribution.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.  A copy of this * license is available at
+ * http://www.OpenLDAP.org/license.html or in file LICENSE in the
+ * top-level directory of the distribution.
  */
 
 #ifndef _LDAP_PORTABLE_H
 
 /* end of preamble */
 
-#if !defined(SLAPD_SCHEMA_COMPAT) && !defined(SLAPD_SCHEMA_NOT_COMPAT)
-       /* define SLAPD_SCHEMA_COMPAT if you want old schema codes */
-#define SLAPD_SCHEMA_NOT_COMPAT 1
-#endif
-
 
 /* Define if on AIX 3.
    System headers sometimes define this.
 /*
  LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
  LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
- LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
  LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND
  LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
 */
 /* Define if you have the endpwent function.  */
 #undef HAVE_ENDPWENT
 
+/* Define if you have the fcntl function.  */
+#undef HAVE_FCNTL
+
 /* Define if you have the flock function.  */
 #undef HAVE_FLOCK
 
+/* Define if you have the gai_strerror function.  */
+#undef HAVE_GAI_STRERROR
+
+/* Define if you have the getaddrinfo function.  */
+#undef HAVE_GETADDRINFO
+
 /* Define if you have the getdtablesize function.  */
 #undef HAVE_GETDTABLESIZE
 
 /* Define if you have the gettimeofday function.  */
 #undef HAVE_GETTIMEOFDAY
 
+/* Define if you have the inet_ntop function.  */
+#undef HAVE_INET_NTOP
+
 /* Define if you have the initgroups function.  */
 #undef HAVE_INITGROUPS
 
 /* Define if you have the pthread_kill function.  */
 #undef HAVE_PTHREAD_KILL
 
+/* Define if you have the pthread_kill_other_threads_np function.  */
+#undef HAVE_PTHREAD_KILL_OTHER_THREADS_NP
+
+/* Define if you have the pthread_rwlock_destroy function.  */
+#undef HAVE_PTHREAD_RWLOCK_DESTROY
+
 /* Define if you have the pthread_setconcurrency function.  */
 #undef HAVE_PTHREAD_SETCONCURRENCY
 
 /* Define if you have the <pwd.h> header file.  */
 #undef HAVE_PWD_H
 
-/* Define if you have the <quipu/commonarg.h> header file.  */
-#undef HAVE_QUIPU_COMMONARG_H
-
 /* Define if you have the <readline/history.h> header file.  */
 #undef HAVE_READLINE_HISTORY_H
 
 /* Define if you have the <shadow.h> header file.  */
 #undef HAVE_SHADOW_H
 
+/* Define if you have the <slp.h> header file.  */
+#undef HAVE_SLP_H
+
 /* Define if you have the <ssl.h> header file.  */
 #undef HAVE_SSL_H
 
 /* Define if you have the <sys/types.h> header file.  */
 #undef HAVE_SYS_TYPES_H
 
+/* Define if you have the <sys/un.h> header file.  */
+#undef HAVE_SYS_UN_H
+
 /* Define if you have the <sysexits.h> header file.  */
 #undef HAVE_SYSEXITS_H
 
 /* Define if you have the bind library (-lbind).  */
 #undef HAVE_LIBBIND
 
+/* Define if you have the dl library (-ldl).  */
+#undef HAVE_LIBDL
+
 /* Define if you have the gen library (-lgen).  */
 #undef HAVE_LIBGEN
 
 /* Version */
 #undef OPENLDAP_VERSION
 
+/* Version */
+#undef LDAP_VENDOR_VERSION
+
+/* Major */
+#undef LDAP_VENDOR_VERSION_MAJOR
+
+/* Minor */
+#undef LDAP_VENDOR_VERSION_MINOR
+
+/* Patch */
+#undef LDAP_VENDOR_VERSION_PATCH
+
 /* define this if you have mkversion */
 #undef HAVE_MKVERSION
 
 /* define if you have winsock */
 #undef HAVE_WINSOCK
 
-/* define if you have res_search() */
-#undef HAVE_RES_SEARCH
+/* define if you have res_query() */
+#undef HAVE_RES_QUERY
 
 /* define if you have HEIMDAL Kerberos */
 #undef HAVE_HEIMDAL_KERBEROS
 /* define if you have TLS */
 #undef HAVE_TLS
 
+/* define to support LAN Manager passwords */
+#undef SLAPD_LMHASH
+
 /* set to the number of arguments ctime_r() expects */
 #undef CTIME_R_NARGS
 
 /* define if setproctitle(3) is available */
 #undef HAVE_SETPROCTITLE
 
+/* define if you have -lslp */
+#undef HAVE_SLP
+
 /* Define to `int' if <sys/types.h> does not define. */
 #undef mode_t
 
 /* define this to add syslog code */
 #undef LDAP_SYSLOG
 
-/* define this for LDAP User Interface support */
-#undef LDAP_LIBUI
-
 /* define this to remove -lldap cache support */
 #undef LDAP_NOCACHE
 
 /* define this for LDAP process title support */
 #undef LDAP_PROCTITLE
 
-/* define to support CLDAP */
-#undef LDAP_CONNECTIONLESS
+/* define to support PF_LOCAL */
+#undef LDAP_PF_LOCAL
 
-/* define to support PF_LOCAL transport */
-#undef USE_PF_LOCAL
+/* define to support PF_INET6 */
+#undef LDAP_PF_INET6
 
 /* define to support cleartext passwords */
 #undef SLAPD_CLEARTEXT
 /* define to support SASL passwords */
 #undef SLAPD_SPASSWD
 
-/* define to support multimaster replication */
-#undef SLAPD_MULTIMASTER
-
 /* define to support phonetic */
 #undef SLAPD_PHONETIC
 
 /* define to support modules */
 #undef SLAPD_MODULES
 
-/* define to support BDB2 backend */
-#undef SLAPD_BDB2
+/* define to support BDB backend */
+#undef SLAPD_BDB
 
-/* define to support dynamic BDB2 backend */
-#undef SLAPD_BDB2_DYNAMIC
+/* define to support dynamic BDB backend */
+#undef SLAPD_BDB_DYNAMIC
 
 /* define to support DNS SRV backend */
 #undef SLAPD_DNSSRV
 /* define to support dynamic LDBM backend */
 #undef SLAPD_LDBM_DYNAMIC
 
+/* define to support LDAP Metadirectory backend */
+#undef SLAPD_META
+
+/* define to support dynamic LDAP Metadirectory backend */
+#undef SLAPD_META_DYNAMIC
+
 /* define to support PASSWD backend */
 #undef SLAPD_PASSWD
 
 /* define to support dynamic SQL backend */
 #undef SLAPD_SQL_DYNAMIC
 
+/* define to enable rewriting in back-ldap and back-meta */
+#undef ENABLE_REWRITE
+
 
 /* begin of postamble */
 
 #      define WIN32_LEAN_AND_MEAN 1
 #endif
 
-#ifndef __NEED_PROTOTYPES
+#ifndef LDAP_NEEDS_PROTOTYPES
 /* force LDAP_P to always include prototypes */
-#define __NEED_PROTOTYPES 1
+#define LDAP_NEEDS_PROTOTYPES 1
 #endif
 
 #ifdef HAVE_STDDEF_H