Back to index

openldap  2.4.31
Defines | Typedefs | Functions | Variables
ldap_utf8.h File Reference
#include <lber_types.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LDAP_UCS4_INVALID   (0x80000000U)
#define LDAP_MAX_UTF8_LEN   ( sizeof(wchar_t) * 3/2 )

Typedefs

typedef ber_int_t ldap_ucs4_t

Functions

 LDAP_F (ldap_ucs4_t) ldap_x_utf8_to_ucs4(LDAP_CONST char *p)
 LDAP_F (int) ldap_x_ucs4_to_utf8(ldap_ucs4_t c

Variables

char * buf
LDAP_CONST char * utf8char
LDAP_CONST char * utf8str
LDAP_CONST char size_t count
wchar_t wchar
LDAP_CONST wchar_t * wcstr
LDAP_CONST char int(* ldap_f_wctomb )(char *mbchar, wchar_t wchar)))
LDAP_CONST char size_t size_t(* ldap_f_wcstombs )(char *mbstr, LDAP_CONST wchar_t *wcstr, size_t count)))
LDAP_CONST char * mbchar
LDAP_CONST char size_t mbsize
LDAP_CONST char size_t int(* ldap_f_mbtowc )(wchar_t *wchar, LDAP_CONST char *mbchar, size_t count)))
LDAP_CONST char * mbstr
LDAP_CONST char size_t size_t(* ldap_f_mbstowcs )(wchar_t *wcstr, LDAP_CONST char *mbstr, size_t count)))

Define Documentation

#define LDAP_MAX_UTF8_LEN   ( sizeof(wchar_t) * 3/2 )

Definition at line 50 of file ldap_utf8.h.

#define LDAP_UCS4_INVALID   (0x80000000U)

Definition at line 45 of file ldap_utf8.h.


Typedef Documentation

typedef ber_int_t ldap_ucs4_t

Definition at line 46 of file ldap_utf8.h.


Function Documentation

LDAP_F ( int  )

Variable Documentation

char* buf

Definition at line 54 of file ldap_utf8.h.

LDAP_CONST char size_t count

Definition at line 67 of file ldap_utf8.h.

LDAP_CONST char size_t size_t(* ldap_f_mbstowcs)(wchar_t *wcstr, LDAP_CONST char *mbstr, size_t count)))

Definition at line 101 of file ldap_utf8.h.

LDAP_CONST char size_t int(* ldap_f_mbtowc)(wchar_t *wchar, LDAP_CONST char *mbchar, size_t count)))

Definition at line 95 of file ldap_utf8.h.

LDAP_CONST char size_t size_t(* ldap_f_wcstombs)(char *mbstr, LDAP_CONST wchar_t *wcstr, size_t count)))

Definition at line 89 of file ldap_utf8.h.

LDAP_CONST char int(* ldap_f_wctomb)(char *mbchar, wchar_t wchar)))

Definition at line 84 of file ldap_utf8.h.

Definition at line 94 of file ldap_utf8.h.

LDAP_CONST char size_t mbsize

Definition at line 94 of file ldap_utf8.h.

Definition at line 100 of file ldap_utf8.h.

Definition at line 63 of file ldap_utf8.h.

Definition at line 67 of file ldap_utf8.h.

wchar_t wchar

Definition at line 71 of file ldap_utf8.h.

LDAP_CONST wchar_t* wcstr

Definition at line 75 of file ldap_utf8.h.