Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
6f3bb4ad
Commit
6f3bb4ad
authored
26 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Add additional defines to allow more compile time API checks.
parent
a169d9de
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/ldap.h
+6
-2
6 additions, 2 deletions
include/ldap.h
with
6 additions
and
2 deletions
include/ldap.h
+
6
−
2
View file @
6f3bb4ad
...
...
@@ -18,10 +18,13 @@
LDAP_BEGIN_DECL
#define LDAP_PORT 389
#define LDAP_VERSION1 1
#define LDAP_VERSION2 2
#define LDAP_VERSION3 3
#define LDAP_VERSION LDAP_VERSION2
#define LDAP_VERSION_MIN LDAP_VERSION2
#define LDAP_VERSION_MAX LDAP_VERSION2
/*
...
...
@@ -30,7 +33,7 @@ LDAP_BEGIN_DECL
* whatever number does finally get assigned
*/
#define LDAP_API_VERSION 2001
#define LDAP_VENDOR
"OpenLDAP"
#define LDAP_VENDOR
_NAME
"OpenLDAP"
/* We'll eventually release as 200 */
#define LDAP_VENDOR_VERSION 190
...
...
@@ -66,13 +69,14 @@ LDAP_BEGIN_DECL
extern
int
ldap_debug
;
#define LDAP_API_INFO_VERSION 1
typedef
struct
ldapapiinfo
{
int
ldapai_info_version
;
/* version of LDAPAPIInfo (1) */
int
ldapai_api_version
;
/* revision of API supported */
int
ldapai_protocol_version
;
/* highest LDAP version supported */
char
**
ldapai_extensions
;
/* names of API extensions */
char
*
ldapai_vendor_name
;
/* name of supplier */
int
ldapai_vendor_version
;
/* supplier-specific version
times
100 */
int
ldapai_vendor_version
;
/* supplier-specific version
*
100 */
}
LDAPAPIInfo
;
typedef
struct
ldapcontrol
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment