ldap_is_ldap_url_utf8()--Verify UTF-8 codepage LDAP URL


  Syntax
 #include <ldap.h>

 int ldap_is_ldap_url_utf8(
             char  *url)

  Default Public Authority: *USE

  Library Name/Service Program: QSYS/QGLDCLNT

  Threadsafe: Yes

The ldap_is_ldap_url_utf8() function is used to check a UTF-8 codepage string to determine if it could be an LDAP URL. It can be used as a quick check for an LDAP URL.


Authorities and Locks

No IBM® i authority is required.


Parameters

url
(Input) Specifies a pointer to the URL string.

Return Value

non-zero
if url begins with "ldap://" or "ldaps://".

0
if url is not an LDAP URL.

Related Information




API introduced: V5R4

[ Back to top | LDAP APIs | APIs by category ]