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
orbea -
OpenLDAP
Commits
2b08e96b
Commit
2b08e96b
authored
Feb 02, 2009
by
Howard Chu
Browse files
ITS#5916 - externally callable functions are ldap_pvt, not ldap_int.
parent
43a35baf
Changes
5
Hide whitespace changes
Inline
Side-by-side
include/ldap_pvt.h
View file @
2b08e96b
...
...
@@ -304,6 +304,34 @@ LDAP_F( int )
ldap_bv2escaped_filter_value_x
LDAP_P
((
struct
berval
*
in
,
struct
berval
*
out
,
int
inplace
,
void
*
ctx
));
LDAP_F
(
int
)
ldap_pvt_search
LDAP_P
((
struct
ldap
*
ld
,
LDAP_CONST
char
*
base
,
int
scope
,
LDAP_CONST
char
*
filter
,
char
**
attrs
,
int
attrsonly
,
struct
ldapcontrol
**
sctrls
,
struct
ldapcontrol
**
cctrls
,
struct
timeval
*
timeout
,
int
sizelimit
,
int
deref
,
int
*
msgidp
));
LDAP_F
(
int
)
ldap_pvt_search_s
LDAP_P
((
struct
ldap
*
ld
,
LDAP_CONST
char
*
base
,
int
scope
,
LDAP_CONST
char
*
filter
,
char
**
attrs
,
int
attrsonly
,
struct
ldapcontrol
**
sctrls
,
struct
ldapcontrol
**
cctrls
,
struct
timeval
*
timeout
,
int
sizelimit
,
int
deref
,
struct
ldapmsg
**
res
));
/* string.c */
LDAP_F
(
char
*
)
ldap_pvt_str2upper
LDAP_P
((
char
*
str
));
...
...
libraries/libldap/ldap-int.h
View file @
2b08e96b
...
...
@@ -591,34 +591,6 @@ LDAP_F (const char *) ldap_int_msgtype2str( ber_tag_t tag );
/*
* in search.c
*/
LDAP_F
(
int
)
ldap_int_search
LDAP_P
((
LDAP
*
ld
,
LDAP_CONST
char
*
base
,
int
scope
,
LDAP_CONST
char
*
filter
,
char
**
attrs
,
int
attrsonly
,
LDAPControl
**
sctrls
,
LDAPControl
**
cctrls
,
struct
timeval
*
timeout
,
int
sizelimit
,
int
deref
,
int
*
msgidp
));
LDAP_F
(
int
)
ldap_int_search_s
LDAP_P
((
LDAP
*
ld
,
LDAP_CONST
char
*
base
,
int
scope
,
LDAP_CONST
char
*
filter
,
char
**
attrs
,
int
attrsonly
,
LDAPControl
**
sctrls
,
LDAPControl
**
cctrls
,
struct
timeval
*
timeout
,
int
sizelimit
,
int
deref
,
LDAPMessage
**
res
));
LDAP_F
(
BerElement
*
)
ldap_build_search_req
LDAP_P
((
LDAP
*
ld
,
const
char
*
base
,
...
...
libraries/libldap/search.c
View file @
2b08e96b
...
...
@@ -66,12 +66,12 @@ ldap_search_ext(
int
sizelimit
,
int
*
msgidp
)
{
return
ldap_
in
t_search
(
ld
,
base
,
scope
,
filter
,
attrs
,
return
ldap_
pv
t_search
(
ld
,
base
,
scope
,
filter
,
attrs
,
attrsonly
,
sctrls
,
cctrls
,
timeout
,
sizelimit
,
-
1
,
msgidp
);
}
int
ldap_
in
t_search
(
ldap_
pv
t_search
(
LDAP
*
ld
,
LDAP_CONST
char
*
base
,
int
scope
,
...
...
@@ -147,12 +147,12 @@ ldap_search_ext_s(
int
sizelimit
,
LDAPMessage
**
res
)
{
return
ldap_
in
t_search_s
(
ld
,
base
,
scope
,
filter
,
attrs
,
return
ldap_
pv
t_search_s
(
ld
,
base
,
scope
,
filter
,
attrs
,
attrsonly
,
sctrls
,
cctrls
,
timeout
,
sizelimit
,
-
1
,
res
);
}
int
ldap_
in
t_search_s
(
ldap_
pv
t_search_s
(
LDAP
*
ld
,
LDAP_CONST
char
*
base
,
int
scope
,
...
...
@@ -169,7 +169,7 @@ ldap_int_search_s(
int
rc
;
int
msgid
;
rc
=
ldap_
in
t_search
(
ld
,
base
,
scope
,
filter
,
attrs
,
attrsonly
,
rc
=
ldap_
pv
t_search
(
ld
,
base
,
scope
,
filter
,
attrs
,
attrsonly
,
sctrls
,
cctrls
,
timeout
,
sizelimit
,
deref
,
&
msgid
);
if
(
rc
!=
LDAP_SUCCESS
)
{
...
...
servers/slapd/back-ldap/search.c
View file @
2b08e96b
...
...
@@ -215,7 +215,7 @@ ldap_back_search(
/* deal with <draft-zeilenga-ldap-t-f> filters */
filter
=
op
->
ors_filterstr
;
retry:
rs
->
sr_err
=
ldap_
in
t_search
(
lc
->
lc_ld
,
op
->
o_req_dn
.
bv_val
,
rs
->
sr_err
=
ldap_
pv
t_search
(
lc
->
lc_ld
,
op
->
o_req_dn
.
bv_val
,
op
->
ors_scope
,
filter
.
bv_val
,
attrs
,
op
->
ors_attrsonly
,
ctrls
,
NULL
,
tv
.
tv_sec
?
&
tv
:
NULL
,
...
...
@@ -847,7 +847,7 @@ retry:
}
/* TODO: timeout? */
rc
=
ldap_
in
t_search_s
(
lc
->
lc_ld
,
ndn
->
bv_val
,
LDAP_SCOPE_BASE
,
filter
,
rc
=
ldap_
pv
t_search_s
(
lc
->
lc_ld
,
ndn
->
bv_val
,
LDAP_SCOPE_BASE
,
filter
,
attrp
,
0
,
ctrls
,
NULL
,
NULL
,
LDAP_NO_LIMIT
,
op
->
ors_deref
,
&
result
);
if
(
rc
!=
LDAP_SUCCESS
)
{
...
...
servers/slapd/back-meta/search.c
View file @
2b08e96b
...
...
@@ -603,7 +603,7 @@ retry:;
* Starts the search
*/
assert
(
msc
->
msc_ld
!=
NULL
);
rc
=
ldap_
in
t_search
(
msc
->
msc_ld
,
rc
=
ldap_
pv
t_search
(
msc
->
msc_ld
,
mbase
.
bv_val
,
realscope
,
mfilter
.
bv_val
,
mapped_attrs
,
op
->
ors_attrsonly
,
ctrls
,
NULL
,
tvp
,
op
->
ors_slimit
,
op
->
ors_deref
,
...
...
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