ldap_is_ldaps_url

Determines whether the URL is an LDAPS URL.

LDAP Version:v3
Library:*ldapsdk.*
NDS Version:7.xx or higher
Platform:NLM, Windows (NT, 95, 98, 2000, XP, Vista 32-bit and 64-bit ), Linux (32-bit and 64-bit), Solaris, AIX, and HP-UX

Syntax

  #include <ldap.h>
  
  int ldap_is_ldaps_url (
     const char   *url);
  

Parameters

url

(IN) Points to the URL that you want to check.

Return Values

1

URL is an LDAPS URL

0

URL is not an LDAPS URL

Remarks

An LDAPS URL has the protocol set to ldaps:// for an encrypted SSL connection.

See Also

ldap_url_parse, ldap_is_ldap_url