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