Table of Contents | Previous | Next | Index

Netscape Directory SDK 3.0 for C Programmer’s Guide
     Chapter 18 Functions

ldap_url_search_st()

The ldap_url_search_st() function searches the directory for matching entries, based on the contents of the URL. This function works like ldap_url_search_s() and lets you specify a timeout period for the search.

For more information, see "Processing an LDAP URL" on page 254.

Syntax

#include <ldap.h>
int ldap_url_search_st( LDAP *ld, char *url, int attrsonly,
   struct timeval *timeout, LDAPMessage **res );

Parameters

This function has the following parameters:

ld

Connection handle, which is a pointer to an LDAP structure containing information about the connection to the LDAP server.

url

LDAP URL specifying a search of the directory.

attrsonly

Specifies whether or not attribute values are returned along with the attribute types. This parameter can have the following values:

timeout

Maximum time to wait for the results of the search.

res

Results of the search (when the call is completed).

Returns

One of the following values:

See Also

ldap_search(), ldap_search_s().


Table of Contents | Previous | Next | Index

Last Updated: 10/01/98 17:06:23