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
97fa2ea2
Commit
97fa2ea2
authored
25 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Remove NULL* macros (namespace).
parent
388d51fe
No related branches found
Branches containing commit
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
include/disptmpl.h
+7
-15
7 additions, 15 deletions
include/disptmpl.h
include/srchpref.h
+0
-2
0 additions, 2 deletions
include/srchpref.h
with
7 additions
and
17 deletions
include/disptmpl.h
+
7
−
15
View file @
97fa2ea2
...
...
@@ -131,8 +131,6 @@ struct ldap_tmplitem {
};
#define NULLTMPLITEM ((struct ldap_tmplitem *)0)
#define LDAP_SET_TMPLITEM_APPDATA( ti, datap ) \
( (ti)->ti_appdata = (void *)(datap) )
...
...
@@ -151,8 +149,6 @@ struct ldap_oclist {
struct
ldap_oclist
*
oc_next
;
};
#define NULLOCLIST ((struct ldap_oclist *)0)
/*
* add defaults list
...
...
@@ -166,8 +162,6 @@ struct ldap_adddeflist {
struct
ldap_adddeflist
*
ad_next
;
};
#define NULLADLIST ((struct ldap_adddeflist *)0)
/*
* display template global options
...
...
@@ -207,8 +201,6 @@ struct ldap_disptmpl {
struct
ldap_disptmpl
*
dt_next
;
};
#define NULLDISPTMPL ((struct ldap_disptmpl *)0)
#define LDAP_SET_DISPTMPL_APPDATA( dt, datap ) \
( (dt)->dt_appdata = (void *)(datap) )
...
...
@@ -229,7 +221,7 @@ struct ldap_disptmpl {
#define LDAP_DTMPL_BUFSIZ 8192
typedef
int
(
*
writeptype
)
LDAP_P
((
void
*
writeparm
,
char
*
p
,
int
len
));
typedef
int
(
*
ldap_
writeptype
)
LDAP_P
((
void
*
writeparm
,
char
*
p
,
int
len
));
LDAP_F
(
int
)
ldap_init_templates
LDAP_P
((
char
*
file
,
struct
ldap_disptmpl
**
tmpllistp
));
...
...
@@ -283,40 +275,40 @@ LDAP_F( int )
ldap_entry2text
LDAP_P
((
LDAP
*
ld
,
char
*
buf
,
LDAPMessage
*
entry
,
struct
ldap_disptmpl
*
tmpl
,
char
**
defattrs
,
char
***
defvals
,
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
,
ldap_
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
,
unsigned
long
opts
));
LDAP_F
(
int
)
ldap_vals2text
LDAP_P
((
LDAP
*
ld
,
char
*
buf
,
char
**
vals
,
char
*
label
,
int
labelwidth
,
unsigned
long
syntaxid
,
writeptype
writeproc
,
void
*
writeparm
,
unsigned
long
syntaxid
,
ldap_
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
));
LDAP_F
(
int
)
ldap_entry2text_search
LDAP_P
((
LDAP
*
ld
,
char
*
dn
,
char
*
base
,
LDAPMessage
*
entry
,
struct
ldap_disptmpl
*
tmpllist
,
char
**
defattrs
,
char
***
defvals
,
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
,
ldap_
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
,
unsigned
long
opts
));
LDAP_F
(
int
)
ldap_entry2html
LDAP_P
((
LDAP
*
ld
,
char
*
buf
,
LDAPMessage
*
entry
,
struct
ldap_disptmpl
*
tmpl
,
char
**
defattrs
,
char
***
defvals
,
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
,
ldap_
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
,
unsigned
long
opts
,
char
*
urlprefix
,
char
*
base
));
LDAP_F
(
int
)
ldap_vals2html
LDAP_P
((
LDAP
*
ld
,
char
*
buf
,
char
**
vals
,
char
*
label
,
int
labelwidth
,
unsigned
long
syntaxid
,
writeptype
writeproc
,
void
*
writeparm
,
unsigned
long
syntaxid
,
ldap_
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
,
char
*
urlprefix
));
LDAP_F
(
int
)
ldap_entry2html_search
LDAP_P
((
LDAP
*
ld
,
char
*
dn
,
char
*
base
,
LDAPMessage
*
entry
,
struct
ldap_disptmpl
*
tmpllist
,
char
**
defattrs
,
char
***
defvals
,
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
,
ldap_
writeptype
writeproc
,
void
*
writeparm
,
char
*
eol
,
int
rdncount
,
unsigned
long
opts
,
char
*
urlprefix
));
LDAP_END_DECL
...
...
This diff is collapsed.
Click to expand it.
include/srchpref.h
+
0
−
2
View file @
97fa2ea2
...
...
@@ -60,8 +60,6 @@ struct ldap_searchobj {
struct
ldap_searchobj
*
so_next
;
};
#define NULLSEARCHOBJ ((struct ldap_searchobj *)0)
/*
* global search object options
*/
...
...
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