]> git.sur5r.net Git - openldap/blob - include/ldap_features.h.in
Fix entry encode/decode logging
[openldap] / include / ldap_features.h.in
1 /* $OpenLDAP$ */
2 /*
3  * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms are permitted only
7  * as authorized by the OpenLDAP Public License.  A copy of this
8  * license is available at http://www.OpenLDAP.org/license.html or
9  * in file LICENSE in the top-level directory of the distribution.
10  */
11 /* 
12  * LDAP Features
13  */
14 #ifndef _LDAP_FEATURES_H
15 #define _LDAP_FEATURES_H 1
16
17 /* OpenLDAP API version macros */
18 #undef LDAP_VENDOR_VERSION
19 #undef LDAP_VENDOR_VERSION_MAJOR
20 #undef LDAP_VENDOR_VERSION_MINOR
21 #undef LDAP_VENDOR_VERSION_PATCH
22
23 /*
24 ** OpenLDAP reentrancy/thread-safeness should be dynamically
25 ** checked using ldap_get_option().
26 **
27 ** The -lldap implementation may or may not be:
28 **              LDAP_API_FEATURE_THREAD_SAFE
29 **
30 ** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_REENTRANT can
31 ** be used to determine if -lldap is LDAP_API_FEATURE_THREAD_SAFE at
32 ** compile time.
33 **
34 ** The -lldap_r implementation is always THREAD_SAFE but
35 ** may also be:
36 **              LDAP_API_FEATURE_SESSION_THREAD_SAFE
37 **              LDAP_API_FEATURE_OPERATION_THREAD_SAFE
38 **
39 ** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
40 ** can be used to determine if -lldap_r is available at compile
41 ** time.  You must define LDAP_THREAD_SAFE if and only if you
42 ** link with -lldap_r.
43 **
44 ** If you fail to define LDAP_THREAD_SAFE when linking with
45 ** -lldap_r or define LDAP_THREAD_SAFE when linking with -lldap,
46 ** provided header definations and declarations may be incorrect.
47 **
48 */
49
50 /* is -lldap reentrant or not */
51 #undef LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
52
53 /* is threadsafe version of -lldap (ie: -lldap_r) *available* or not */
54 #undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
55
56 /* LDAP v2 Kerberos Bind */
57 #undef LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND
58
59 /* LDAP v2 Referrals */
60 #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
61
62 /* LDAP Server Side Sort. */
63 #define LDAP_API_FEATURE_SERVER_SIDE_SORT 1000
64
65 /* LDAP Virtual List View. */ 
66 #define LDAP_API_FEATURE_VIRTUAL_LIST_VIEW 1000
67
68 #endif /* LDAP_FEATURES */