ldap_search_ext_s() instead.
#include <ldap.h>
int ldap_search_st( LDAP *ld, const char *base, int scope,
const char* filter, char **attrs, int attrsonly,
struct timeval *timeout, LDAPMessage **res );
ld |
Connection handle, which is a pointer to an |
base | |
scope | Scope of the search, which can be one of the following values: |
filter | For details on the syntax for filters, see "Specifying a Search Filter" on page 113. |
attrs | |
attrsonly | |
timeout | |
res |
ldap_search_ext_s() function.
ldap_search_st() function searches the directory for matching entries. The ldap_search_st() function works like the ldap_search_s() function and lets you set a timeout period for the search.
A newer version of this function, ldap_search_ext_s(), is available in this release of the LDAP API. ldap_search_st() (the older version of the function) is included only for backward-compatibility. If you are writing a new LDAP client, use ldap_search_ext_s() instead of ldap_search_st().
If you want more information on ldap_search_st(), refer to the LDAP C SDK 1.0 Programmer's Guide.
ldap_search_ext_s().
Last Updated: 10/01/98 17:06:23