Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ingo Voss
OpenLDAP
Commits
588be015
Commit
588be015
authored
Jun 01, 2003
by
Kurt Zeilenga
Browse files
fixes
parent
13e0e234
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/extended.c
View file @
588be015
...
...
@@ -88,6 +88,24 @@ static struct {
static
struct
extop_list
*
find_extop
(
struct
extop_list
*
list
,
struct
berval
*
oid
);
struct
berval
*
get_supported_extop
(
int
index
)
{
struct
extop_list
*
ext
;
/* linear scan is slow, but this way doesn't force a
* big change on root_dse.c, where this routine is used.
*/
for
(
ext
=
supp_ext_list
;
ext
!=
NULL
&&
--
index
>=
0
;
ext
=
ext
->
next
)
{
;
/* empty */
}
if
(
ext
==
NULL
)
return
NULL
;
return
&
ext
->
oid
;
}
int
exop_root_dse_info
(
Entry
*
e
)
{
AttributeDescription
*
ad_supportedExtension
...
...
servers/slapd/proto-slap.h
View file @
588be015
...
...
@@ -466,6 +466,8 @@ LDAP_SLAPD_F (int) extops_init LDAP_P(( void ));
LDAP_SLAPD_F
(
int
)
extops_kill
LDAP_P
((
void
));
LDAP_SLAPD_F
(
struct
berval
*
)
get_supported_extop
LDAP_P
((
int
index
));
/*
* * cancel.c
* */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment