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
Dimitar Stoychev
OpenLDAP
Commits
12d5c6bb
Commit
12d5c6bb
authored
21 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Move global to ldapsync
parent
a379dd4f
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
servers/slapd/globals.c
+2
-17
2 additions, 17 deletions
servers/slapd/globals.c
servers/slapd/ldapsync.c
+7
-0
7 additions, 0 deletions
servers/slapd/ldapsync.c
with
9 additions
and
17 deletions
servers/slapd/globals.c
+
2
−
17
View file @
12d5c6bb
...
...
@@ -13,16 +13,6 @@
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
/* Portions Copyright (c) 1995 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
#include
"portable.h"
...
...
@@ -32,9 +22,9 @@
/*
*
g
lobal variables, in general, should be declared in the file
*
G
lobal variables, in general, should be declared in the file
* primarily responsible for its management. Configurable globals
* belong in config.c.
v
ariables declared here have no other
* belong in config.c.
V
ariables declared here have no other
* sensible home.
*/
...
...
@@ -45,8 +35,3 @@ const struct berval slap_unknown_bv = BER_BVC("unknown");
const
struct
berval
slap_true_bv
=
BER_BVC
(
"TRUE"
);
const
struct
berval
slap_false_bv
=
BER_BVC
(
"FALSE"
);
#if 0
struct sync_cookie *slap_sync_cookie = NULL;
#endif
struct
slap_sync_cookie_s
slap_sync_cookie
=
LDAP_STAILQ_HEAD_INITIALIZER
(
slap_sync_cookie
);
This diff is collapsed.
Click to expand it.
servers/slapd/ldapsync.c
+
7
−
0
View file @
12d5c6bb
...
...
@@ -28,6 +28,13 @@
#include
"../../libraries/liblber/lber-int.h"
/* get ber_strndup() */
#include
"lutil_ldap.h"
#if 0
struct sync_cookie *slap_sync_cookie = NULL;
#else
struct
slap_sync_cookie_s
slap_sync_cookie
=
LDAP_STAILQ_HEAD_INITIALIZER
(
slap_sync_cookie
);
#endif
int
slap_build_sync_state_ctrl
(
Operation
*
op
,
...
...
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