Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wine-mirror
GitHub Repository: wine-mirror/wine
Path: blob/master/libs/ldap/include/ldap_features.h
4394 views
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-2022 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 000000
26
#define LDAP_VENDOR_VERSION_MAJOR 2
27
#define LDAP_VENDOR_VERSION_MINOR X
28
#define LDAP_VENDOR_VERSION_PATCH X
29
30
/*
31
** WORK IN PROGRESS!
32
**
33
** OpenLDAP reentrancy/thread-safeness should be dynamically
34
** checked using ldap_get_option().
35
**
36
** If built with thread support, the -lldap implementation is:
37
** LDAP_API_FEATURE_THREAD_SAFE (basic thread safety)
38
** LDAP_API_FEATURE_SESSION_THREAD_SAFE
39
** LDAP_API_FEATURE_OPERATION_THREAD_SAFE
40
**
41
** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
42
** can be used to determine if -lldap is thread safe at compile
43
** time.
44
**
45
*/
46
47
/* is -lldap reentrant or not */
48
#define LDAP_API_FEATURE_X_OPENLDAP_REENTRANT 1
49
50
/* is -lldap thread safe or not */
51
#define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
52
53
/* LDAP v2 Referrals */
54
/* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */
55
56
#endif /* LDAP_FEATURES */
57
58