Warning: That file was not part of the compilation database. It may have many parsing errors.
1 | /* include/ldap_features.h. Generated from ldap_features.hin by configure. */ |
---|---|
2 | /* $OpenLDAP$ */ |
3 | /* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
4 | * |
5 | * Copyright 1998-2014 The OpenLDAP Foundation. |
6 | * All rights reserved. |
7 | * |
8 | * Redistribution and use in source and binary forms, with or without |
9 | * modification, are permitted only as authorized by the OpenLDAP |
10 | * Public License. |
11 | * |
12 | * A copy of this license is available in file LICENSE in the |
13 | * top-level directory of the distribution or, alternatively, at |
14 | * <http://www.OpenLDAP.org/license.html>. |
15 | */ |
16 | |
17 | /* |
18 | * LDAP Features |
19 | */ |
20 | |
21 | #ifndef _LDAP_FEATURES_H |
22 | #define _LDAP_FEATURES_H 1 |
23 | |
24 | /* OpenLDAP API version macros */ |
25 | #define LDAP_VENDOR_VERSION 20439 |
26 | #define LDAP_VENDOR_VERSION_MAJOR 2 |
27 | #define LDAP_VENDOR_VERSION_MINOR 4 |
28 | #define LDAP_VENDOR_VERSION_PATCH 39 |
29 | |
30 | /* |
31 | ** WORK IN PROGRESS! |
32 | ** |
33 | ** OpenLDAP reentrancy/thread-safeness should be dynamically |
34 | ** checked using ldap_get_option(). |
35 | ** |
36 | ** The -lldap implementation is not thread-safe. |
37 | ** |
38 | ** The -lldap_r implementation is: |
39 | ** LDAP_API_FEATURE_THREAD_SAFE (basic thread safety) |
40 | ** but also be: |
41 | ** LDAP_API_FEATURE_SESSION_THREAD_SAFE |
42 | ** LDAP_API_FEATURE_OPERATION_THREAD_SAFE |
43 | ** |
44 | ** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE |
45 | ** can be used to determine if -lldap_r is available at compile |
46 | ** time. You must define LDAP_THREAD_SAFE if and only if you |
47 | ** link with -lldap_r. |
48 | ** |
49 | ** If you fail to define LDAP_THREAD_SAFE when linking with |
50 | ** -lldap_r or define LDAP_THREAD_SAFE when linking with -lldap, |
51 | ** provided header definations and declarations may be incorrect. |
52 | ** |
53 | */ |
54 | |
55 | /* is -lldap_r available or not */ |
56 | #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1 |
57 | |
58 | /* LDAP v2 Referrals */ |
59 | /* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */ |
60 | |
61 | #endif /* LDAP_FEATURES */ |
62 |
Warning: That file was not part of the compilation database. It may have many parsing errors.