#include <ldap.h> char * ldap_get_iconv_local_codepage ( )
|
The ldap_get_iconv_local_codepage() API is used to obtain the active LDAP code page. It returns the value of a global variable ldap_global_codepage set by ldap_set_iconv_local_codepage(). To free the returned string, use ldap_memfree().
No OS/400 authority is required. All authority checking is done by the LDAP server.
If ldap_get_iconv_local_codepage() is not successful, it returns NULL.
The following message may be set from this function.
CPF3CF2 E Error(s) occurred during running of ldap_get_iconv_local_codepage API.
ldap_xlate_local_to_utf8() -- Convert String From the Local to UTF-8 Code Page.
ldap_xlate_utf8_to_local() -- Convert String From UTF-8 to Local Code Page.
ldap_xlate_local_to_unicode() -- Convert String From the Local to UCS-2 Code Page.
ldap_xlate_unicode_to_local() -- Convert String From UCS-2 to Local Code Page.
ldap_set_iconv_local_codepage() -- Set the Active LDAP Code Page.
ldap_set_iconv_local_charset() -- Set the Active LDAP Character set.
ldap_set_locale() -- Change the Locale Used by LDAP.
ldap_get_locale() -- Get the Locale Used by LDAP.
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |