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
5cc86c17
Commit
5cc86c17
authored
24 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Demonstrate how rdwr routines could be easily replaced.
Update comment with reference to publically available examples.
parent
64d72278
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/libldap_r/rdwr.c
+11
-6
11 additions, 6 deletions
libraries/libldap_r/rdwr.c
with
11 additions
and
6 deletions
libraries/libldap_r/rdwr.c
+
11
−
6
View file @
5cc86c17
...
...
@@ -7,13 +7,10 @@
**
** Does not support cancellation nor does any status checking.
*/
/********************************************************
* Adapted from:
/* Adapted from publically available examples for:
* "Programming with Posix Threads"
* by David R Butenhof
* Addison-Wesley
********************************************************
* by David R Butenhof, Addison-Wesley
* http://cseng.aw.com/bookpage.taf?ISBN=0-201-63392-2
*/
#include
"portable.h"
...
...
@@ -25,6 +22,12 @@
#include
"ldap_pvt_thread.h"
/*
* implementations that provide their own compatible
* should define LDAP_THREAD_HAVE_RDWR in ldap_pvt_thread.h
*/
#ifndef LDAP_THREAD_HAVE_RDWR
int
ldap_pvt_thread_rdwr_init
(
ldap_pvt_thread_rdwr_t
*
rw
)
{
...
...
@@ -260,3 +263,5 @@ int ldap_pvt_thread_rdwr_active(ldap_pvt_thread_rdwr_t *rw)
}
#endif
/* LDAP_DEBUG */
#endif
/* LDAP_THREAD_HAVE_RDWR */
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