Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions | Variables
ldap-extension.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LDAPsortkey
struct  ldapvirtuallist
struct  ldap_url_desc
struct  ldap_thread_fns
struct  ldap_x_pollfd
struct  ldap_x_ext_io_fns
struct  ldap_filt_info
struct  friendly
struct  ldap_memalloc_fns
struct  ldap_extra_thread_fns

Defines

#define LDAP_PORT_MAX   65535 /* API extension */
#define LDAP_VERSION1   1 /* API extension */
#define LDAP_VERSION   LDAP_VERSION2 /* API extension */
#define LDAP_API_FEATURE_SERVER_SIDE_SORT   1
#define LDAP_API_FEATURE_VIRTUAL_LIST_VIEW   1
#define LDAP_API_FEATURE_PERSISTENT_SEARCH   1
#define LDAP_API_FEATURE_PROXY_AUTHORIZATION   1
#define LDAP_API_FEATURE_X_LDERRNO   1
#define LDAP_API_FEATURE_X_MEMCACHE   1
#define LDAP_API_FEATURE_X_IO_FUNCTIONS   1
#define LDAP_API_FEATURE_X_EXTIO_FUNCTIONS   1
#define LDAP_API_FEATURE_X_DNS_FUNCTIONS   1
#define LDAP_API_FEATURE_X_MEMALLOC_FUNCTIONS   1
#define LDAP_API_FEATURE_X_THREAD_FUNCTIONS   1
#define LDAP_API_FEATURE_X_EXTHREAD_FUNCTIONS   1
#define LDAP_API_FEATURE_X_GETLANGVALUES   1
#define LDAP_API_FEATURE_X_CLIENT_SIDE_SORT   1
#define LDAP_API_FEATURE_X_URL_FUNCTIONS   1
#define LDAP_API_FEATURE_X_FILTER_FUNCTIONS   1
#define LDAP_ROOT_DSE   "" /* API extension */
#define LDAP_OPT_DESC   0x01 /* 1 */
#define NULLMSG   ((LDAPMessage *)0)
#define LDAP_SASL_EXTERNAL   "EXTERNAL" /* TLS/SSL extension */
#define LDAP_PARTIAL_RESULTS   0x09 /* 9 (UMich LDAPv2 extn) */
#define NAME_ERROR(n)   ((n & 0xf0) == 0x20)
#define LDAP_SORT_CONTROL_MISSING   0x3C /* 60 (server side sort extn) */
#define LDAP_INDEX_RANGE_ERROR   0x3D /* 61 (VLV extn) */
#define LDAP_CONTROL_MANAGEDSAIT   "2.16.840.1.113730.3.4.2"
#define LDAP_CONTROL_SORTREQUEST   "1.2.840.113556.1.4.473"
#define LDAP_CONTROL_SORTRESPONSE   "1.2.840.113556.1.4.474"
#define LDAP_CONTROL_PERSISTENTSEARCH   "2.16.840.1.113730.3.4.3"
#define LDAP_CONTROL_ENTRYCHANGE   "2.16.840.1.113730.3.4.7"
#define LDAP_CONTROL_VLVREQUEST   "2.16.840.1.113730.3.4.9"
#define LDAP_CONTROL_VLVRESPONSE   "2.16.840.1.113730.3.4.10"
#define LDAP_CONTROL_PROXYAUTH
#define LDAP_CONTROL_PROXIEDAUTH
#define LDAP_CONTROL_AUTH_REQUEST   "2.16.840.1.113730.3.4.16"
#define LDAP_CONTROL_AUTH_RESPONSE   "2.16.840.1.113730.3.4.15"
#define LDAP_CONTROL_PWEXPIRED   "2.16.840.1.113730.3.4.4"
#define LDAP_CONTROL_PWEXPIRING   "2.16.840.1.113730.3.4.5"
#define LDAP_CONTROL_REAL_ATTRS_ONLY   "2.16.840.1.113730.3.4.17"
#define LDAP_CONTROL_VIRTUAL_ATTRS_ONLY   "2.16.840.1.113730.3.4.19"
#define LDAP_CHANGETYPE_ADD   1
#define LDAP_CHANGETYPE_DELETE   2
#define LDAP_CHANGETYPE_MODIFY   4
#define LDAP_CHANGETYPE_MODDN   8
#define LDAP_CHANGETYPE_ANY   (1|2|4|8)
#define LDAP_URL_OPT_SECURE   0x01
#define NULLLDAPURLDESC   ((LDAPURLDesc *)NULL)
#define LDAP_URL_ERR_NOTLDAP   1 /* URL doesn't begin with "ldap://" */
#define LDAP_URL_ERR_NODN   2 /* URL has no DN (required) */
#define LDAP_URL_ERR_BADSCOPE   3 /* URL scope string is invalid */
#define LDAP_URL_ERR_MEM   4 /* can't allocate memory space */
#define LDAP_URL_ERR_PARAM   5 /* bad parameter to an URL function */
#define LDAP_URL_UNRECOGNIZED_CRITICAL_EXTENSION   6
#define LDAP_OPT_SSL   0x0A /* 10 - API extension */
#define LDAP_OPT_REFERRAL_HOP_LIMIT   0x10 /* 16 - API extension */
#define LDAP_OPT_REBIND_FN   0x06 /* 6 - API extension */
#define LDAP_OPT_REBIND_ARG   0x07 /* 7 - API extension */
#define LDAP_OPT_THREAD_FN_PTRS   0x05 /* 5 - API extension */
#define LDAP_X_OPT_EXTIO_FN_PTRS   (LDAP_OPT_PRIVATE_EXTENSION_BASE + 0x0F00)
#define LDAP_X_IO_TIMEOUT_NO_WAIT   0 /* return immediately */
#define LDAP_X_IO_TIMEOUT_NO_TIMEOUT   (-1) /* block indefinitely */
#define LDAP_X_POLLIN   0x01 /* regular data ready for reading */
#define LDAP_X_POLLPRI   0x02 /* high priority data available */
#define LDAP_X_POLLOUT   0x04 /* ready for writing */
#define LDAP_X_POLLERR   0x08 /* error occurred -- only in lpoll_revents */
#define LDAP_X_POLLHUP   0x10 /* connection closed -- only in lpoll_revents */
#define LDAP_X_POLLNVAL   0x20 /* invalid lpoll_fd -- only in lpoll_revents */
#define LDAP_X_EXTIOF_OPT_NONBLOCKING   0x01 /* turn on non-blocking mode */
#define LDAP_X_EXTIOF_OPT_SECURE   0x02 /* turn on 'secure' mode */
#define LDAP_X_EXTIO_FNS_SIZE   sizeof(struct ldap_x_ext_io_fns)
#define LDAP_FILT_MAXSIZ   1024
#define LDAP_X_OPT_CONNECT_TIMEOUT   (LDAP_OPT_PRIVATE_EXTENSION_BASE + 0x0F01)
#define LDAP_OPT_MEMALLOC_FN_PTRS   0x61 /* 97 - API extension */
#define LDAP_OPT_RECONNECT   0x62 /* 98 - API extension */
#define LDAP_OPT_EXTRA_THREAD_FN_PTRS   0x65 /* 101 - API extension */
#define LDAP_OPT_DEBUG_LEVEL   0x6E /* 110 - API extension */
#define LDAP_UTF8LEN(s)   ((0x80 & *(unsigned char*)(s)) ? ldap_utf8len (s) : 1)
#define LDAP_UTF8NEXT(s)   ((0x80 & *(unsigned char*)(s)) ? ldap_utf8next(s) : ( s)+1)
#define LDAP_UTF8INC(s)   ((0x80 & *(unsigned char*)(s)) ? s=ldap_utf8next(s) : ++s)
#define LDAP_UTF8PREV(s)   ldap_utf8prev(s)
#define LDAP_UTF8DEC(s)   (s=ldap_utf8prev(s))
#define LDAP_UTF8COPY(d, s)   ((0x80 & *(unsigned char*)(s)) ? ldap_utf8copy(d,s) : ((*(d) = *(s)), 1))
#define LDAP_UTF8GETCC(s)   ((0x80 & *(unsigned char*)(s)) ? ldap_utf8getcc (&s) : *s++)
#define LDAP_UTF8GETC(s)   ((0x80 & *(unsigned char*)(s)) ? ldap_utf8getcc ((const char**)&s) : *s++)

Typedefs

typedef struct LDAPsortkey LDAPsortkey
typedef struct ldapvirtuallist LDAPVirtualList
typedef struct ldap_url_desc LDAPURLDesc
typedef char ** dnp
typedef char char ** passwdp
typedef char char intauthmethodp
typedef char char int int freeit
typedef char char int int voidarg
typedef void *LDAP_C LDAP_CALLBACK LDAP_TF_MUTEX_ALLOC_CALLBACK (void)
typedef char ** errmsgp
typedef char * matched
typedef char char * errmsg
typedef struct ldap_x_pollfd LDAP_X_PollFD
typedef int port
typedef int int timeout
typedef int int unsigned long options
typedef int int unsigned long
struct lextiof_session_private
sessionarg
typedef int int unsigned long
struct lextiof_session_private
struct lextiof_socket_private ** 
socketargp
typedef struct
lextiof_socket_private
socketarg
typedef int nfds
typedef struct berval *LDAP_C
LDAP_CALLBACK 
LDAP_KEYGEN_CALLBACK (void *arg, LDAP *ld, LDAPMessage *entry)
typedef struct berval struct
berval *typedef 
void (LDAP_C LDAP_CALLBACK LDAP_KEYFREE_CALLBACK)(void *arg
typedef struct berval struct
berval *typedef struct berval
*typedef 
int (LDAP_C LDAP_CALLBACK LDAP_CMP_CALLBACK)(const char *val1
typedef struct berval struct
berval *typedef struct berval
*typedef const char * 
val2
typedef const char ** val2p
typedef struct ldap_filt_info LDAPFiltInfo
typedef struct ldap_filt_list
typedef struct ldap_filt_desc
typedef struct friendlyFriendlyMap
typedef struct ldapmemcache
typedef void *LDAP_C LDAP_CALLBACK LDAP_TF_SEMA_ALLOC_CALLBACK (void)
typedef void *LDAP_C LDAP_CALLBACK LDAP_TF_THREADID_CALLBACK (void)

Functions

 LDAP_API (void) LDAP_CALL ldap_ber_free(BerElement *ber
 LDAP_API (int) LDAP_CALL ldap_create_sort_control(LDAP *ld
typedef int (LDAP_CALL LDAP_CALLBACK LDAP_REBINDPROC_CALLBACK)(LDAP *ld
typedef void (LDAP_C LDAP_CALLBACK LDAP_TF_MUTEX_FREE_CALLBACK)(void *m)
typedef int (LDAP_C LDAP_CALLBACK LDAP_TF_MUTEX_LOCK_CALLBACK)(void *m)
 LDAP_API (LDAPFiltDesc *) LDAP_CALL ldap_init_getfilter(char *fname)
 LDAP_API (LDAPFiltInfo *) LDAP_CALL ldap_getfirstfilter(LDAPFiltDesc *lfdp
 LDAP_API (char *) LDAP_CALL ldap_friendly_name(char *filename
voidldap_x_malloc (size_t size)
voidldap_x_calloc (size_t nelem, size_t elsize)
voidldap_x_realloc (void *ptr, size_t size)
void ldap_x_free (void *ptr)
 LDAP_API (size_t) LDAP_CALL ldap_utf8characters(const char *)

Variables

int freebuf
LDAPsortkey ** sortKeyList
LDAPsortkey const char ctl_iscritical
LDAPsortkey const char
LDAPControl ** 
ctrlp
LDAPControl ** ctrls
LDAPControl unsigned longresult
LDAPControl unsigned long char ** attribute
const char * string_rep
LDAPVirtualListldvlistp
LDAPControl unsigned longtarget_posp
LDAPControl unsigned long
unsigned long
list_sizep
LDAPControl unsigned long
unsigned long int
errcodep
int changetypes
int int changesonly
int int int return_echg_ctls
LDAPControl intchgtypep
LDAPControl int char ** prevdnp
LDAPControl int char intchgnumpresentp
LDAPControl int char int longchgnump
const char * dn
const char * authzid
char ** m
char char ** s
int e
LDAPURLDesc ** ludpp
const char * url
const char int attrsonly
const char int LDAPMessage ** res
int freemods
LDAP_REBINDPROC_CALLBACK * rebindproc
int defport
int char ** hostp
int char intportp
int char int struct
ldap_x_hostlist_status ** 
statusp
int struct ldap_x_hostlist_statusstatus
LDAPMessage ** chain
LDAPMessage void
LDAP_KEYGEN_CALLBACK
gen
LDAPMessage void
LDAP_KEYGEN_CALLBACK
LDAP_KEYCMP_CALLBACK * 
cmp
LDAPMessage void
LDAP_KEYGEN_CALLBACK
LDAP_KEYCMP_CALLBACK
LDAP_KEYFREE_CALLBACK * 
fre
LDAPMessage char ** attr
char ** vals
const char ** b
long buflen
char * tagpat
char char * value
char * prefix
char char * suffix
unsigned long char * pattern
unsigned long char char char
char char char ** 
valwords
char * name
char FriendlyMapmap
unsigned long size
unsigned long char ** baseDNs
unsigned long char struct
ldap_thread_fns
thread_fns
unsigned long char struct
ldap_thread_fns LDAPMemCache ** 
cachep
LDAPMemCache * cache
char int scope
const char * src
const char * brk
const char char ** next

Class Documentation

struct LDAPsortkey

Definition at line 127 of file ldap-extension.h.

Collaboration diagram for LDAPsortkey:
Class Members
char * sk_attrtype
char * sk_matchruleoid
int sk_reverseorder
struct ldapvirtuallist

Definition at line 152 of file ldap-extension.h.

Class Members
unsigned long ldvlist_after_count
char * ldvlist_attrvalue
unsigned long ldvlist_before_count
void * ldvlist_extradata
unsigned long ldvlist_index
unsigned long ldvlist_size
struct ldap_url_desc

Definition at line 217 of file ldap-extension.h.

Collaboration diagram for ldap_url_desc:
Class Members
char ** lud_attrs
char * lud_dn
char * lud_filter
char * lud_host
unsigned long lud_options
int lud_port
int lud_scope
char * lud_string
struct ldap_thread_fns

Definition at line 305 of file ldap-extension.h.

Class Members
LDAP_TF_GET_ERRNO_CALLBACK * ltf_get_errno
LDAP_TF_GET_LDERRNO_CALLBACK * ltf_get_lderrno
void * ltf_lderrno_arg
LDAP_TF_MUTEX_ALLOC_CALLBACK * ltf_mutex_alloc
LDAP_TF_MUTEX_FREE_CALLBACK * ltf_mutex_free
LDAP_TF_MUTEX_LOCK_CALLBACK * ltf_mutex_lock
LDAP_TF_MUTEX_UNLOCK_CALLBACK * ltf_mutex_unlock
LDAP_TF_SET_ERRNO_CALLBACK * ltf_set_errno
LDAP_TF_SET_LDERRNO_CALLBACK * ltf_set_lderrno
struct ldap_x_pollfd

Definition at line 372 of file ldap-extension.h.

Collaboration diagram for ldap_x_pollfd:
Class Members
short lpoll_events
int lpoll_fd
short lpoll_revents
struct lextiof_socket_private * lpoll_socketarg
struct ldap_x_ext_io_fns

Definition at line 418 of file ldap-extension.h.

Collaboration diagram for ldap_x_ext_io_fns:
Class Members
LDAP_X_EXTIOF_CLOSE_CALLBACK * lextiof_close
LDAP_X_EXTIOF_CONNECT_CALLBACK * lextiof_connect
LDAP_X_EXTIOF_DISPOSEHANDLE_CALLBACK * lextiof_disposehandle
LDAP_X_EXTIOF_NEWHANDLE_CALLBACK * lextiof_newhandle
LDAP_X_EXTIOF_POLL_CALLBACK * lextiof_poll
LDAP_X_EXTIOF_READ_CALLBACK * lextiof_read
void * lextiof_session_arg
int lextiof_size
LDAP_X_EXTIOF_WRITE_CALLBACK * lextiof_write
LDAP_X_EXTIOF_WRITEV_CALLBACK * lextiof_writev
struct ldap_filt_info

Definition at line 489 of file ldap-extension.h.

Collaboration diagram for ldap_filt_info:
Class Members
char * lfi_desc
char * lfi_filter
int lfi_isexact
struct ldap_filt_info * lfi_next
int lfi_scope
struct friendly

Definition at line 521 of file ldap-extension.h.

Class Members
char * f_friendly
char * f_unfriendly
struct ldap_memalloc_fns

Definition at line 561 of file ldap-extension.h.

Class Members
LDAP_CALLOC_CALLBACK * ldapmem_calloc
LDAP_FREE_CALLBACK * ldapmem_free
LDAP_MALLOC_CALLBACK * ldapmem_malloc
LDAP_REALLOC_CALLBACK * ldapmem_realloc
struct ldap_extra_thread_fns

Definition at line 596 of file ldap-extension.h.

Class Members
LDAP_TF_MUTEX_TRYLOCK_CALLBACK * ltf_mutex_trylock
LDAP_TF_SEMA_ALLOC_CALLBACK * ltf_sema_alloc
LDAP_TF_SEMA_FREE_CALLBACK * ltf_sema_free
LDAP_TF_SEMA_POST_CALLBACK * ltf_sema_post
LDAP_TF_SEMA_WAIT_CALLBACK * ltf_sema_wait
LDAP_TF_THREADID_CALLBACK * ltf_threadid_fn

Define Documentation

Definition at line 62 of file ldap-extension.h.

Definition at line 63 of file ldap-extension.h.

Definition at line 60 of file ldap-extension.h.

Definition at line 61 of file ldap-extension.h.

Definition at line 73 of file ldap-extension.h.

Definition at line 68 of file ldap-extension.h.

Definition at line 71 of file ldap-extension.h.

Definition at line 67 of file ldap-extension.h.

Definition at line 75 of file ldap-extension.h.

Definition at line 72 of file ldap-extension.h.

Definition at line 66 of file ldap-extension.h.

Definition at line 64 of file ldap-extension.h.

Definition at line 69 of file ldap-extension.h.

Definition at line 65 of file ldap-extension.h.

Definition at line 70 of file ldap-extension.h.

Definition at line 74 of file ldap-extension.h.

Definition at line 176 of file ldap-extension.h.

#define LDAP_CHANGETYPE_ANY   (1|2|4|8)

Definition at line 180 of file ldap-extension.h.

Definition at line 177 of file ldap-extension.h.

Definition at line 179 of file ldap-extension.h.

Definition at line 178 of file ldap-extension.h.

#define LDAP_CONTROL_AUTH_REQUEST   "2.16.840.1.113730.3.4.16"

Definition at line 107 of file ldap-extension.h.

#define LDAP_CONTROL_AUTH_RESPONSE   "2.16.840.1.113730.3.4.15"

Definition at line 108 of file ldap-extension.h.

#define LDAP_CONTROL_ENTRYCHANGE   "2.16.840.1.113730.3.4.7"

Definition at line 100 of file ldap-extension.h.

#define LDAP_CONTROL_MANAGEDSAIT   "2.16.840.1.113730.3.4.2"

Definition at line 96 of file ldap-extension.h.

#define LDAP_CONTROL_PERSISTENTSEARCH   "2.16.840.1.113730.3.4.3"

Definition at line 99 of file ldap-extension.h.

Value:
"2.16.840.1.113730.3.4.18" /* version 2
*/

Definition at line 104 of file ldap-extension.h.

Value:
"2.16.840.1.113730.3.4.12" /* version 1
*/

Definition at line 103 of file ldap-extension.h.

#define LDAP_CONTROL_PWEXPIRED   "2.16.840.1.113730.3.4.4"

Definition at line 111 of file ldap-extension.h.

#define LDAP_CONTROL_PWEXPIRING   "2.16.840.1.113730.3.4.5"

Definition at line 112 of file ldap-extension.h.

#define LDAP_CONTROL_REAL_ATTRS_ONLY   "2.16.840.1.113730.3.4.17"

Definition at line 115 of file ldap-extension.h.

#define LDAP_CONTROL_SORTREQUEST   "1.2.840.113556.1.4.473"

Definition at line 97 of file ldap-extension.h.

#define LDAP_CONTROL_SORTRESPONSE   "1.2.840.113556.1.4.474"

Definition at line 98 of file ldap-extension.h.

#define LDAP_CONTROL_VIRTUAL_ATTRS_ONLY   "2.16.840.1.113730.3.4.19"

Definition at line 118 of file ldap-extension.h.

#define LDAP_CONTROL_VLVREQUEST   "2.16.840.1.113730.3.4.9"

Definition at line 101 of file ldap-extension.h.

#define LDAP_CONTROL_VLVRESPONSE   "2.16.840.1.113730.3.4.10"

Definition at line 102 of file ldap-extension.h.

Definition at line 497 of file ldap-extension.h.

#define LDAP_INDEX_RANGE_ERROR   0x3D /* 61 (VLV extn) */

Definition at line 91 of file ldap-extension.h.

#define LDAP_OPT_DEBUG_LEVEL   0x6E /* 110 - API extension */

Definition at line 608 of file ldap-extension.h.

#define LDAP_OPT_DESC   0x01 /* 1 */

Definition at line 79 of file ldap-extension.h.

#define LDAP_OPT_EXTRA_THREAD_FN_PTRS   0x65 /* 101 - API extension */

Definition at line 587 of file ldap-extension.h.

#define LDAP_OPT_MEMALLOC_FN_PTRS   0x61 /* 97 - API extension */

Definition at line 559 of file ldap-extension.h.

#define LDAP_OPT_REBIND_ARG   0x07 /* 7 - API extension */

Definition at line 276 of file ldap-extension.h.

#define LDAP_OPT_REBIND_FN   0x06 /* 6 - API extension */

Definition at line 275 of file ldap-extension.h.

#define LDAP_OPT_RECONNECT   0x62 /* 98 - API extension */

Definition at line 580 of file ldap-extension.h.

#define LDAP_OPT_REFERRAL_HOP_LIMIT   0x10 /* 16 - API extension */

Definition at line 270 of file ldap-extension.h.

#define LDAP_OPT_SSL   0x0A /* 10 - API extension */

Definition at line 265 of file ldap-extension.h.

#define LDAP_OPT_THREAD_FN_PTRS   0x05 /* 5 - API extension */

Definition at line 286 of file ldap-extension.h.

#define LDAP_PARTIAL_RESULTS   0x09 /* 9 (UMich LDAPv2 extn) */

Definition at line 87 of file ldap-extension.h.

#define LDAP_PORT_MAX   65535 /* API extension */

Definition at line 47 of file ldap-extension.h.

#define LDAP_ROOT_DSE   "" /* API extension */

Definition at line 77 of file ldap-extension.h.

#define LDAP_SASL_EXTERNAL   "EXTERNAL" /* TLS/SSL extension */

Definition at line 84 of file ldap-extension.h.

#define LDAP_SORT_CONTROL_MISSING   0x3C /* 60 (server side sort extn) */

Definition at line 90 of file ldap-extension.h.

#define LDAP_URL_ERR_BADSCOPE   3 /* URL scope string is invalid */

Definition at line 236 of file ldap-extension.h.

#define LDAP_URL_ERR_MEM   4 /* can't allocate memory space */

Definition at line 237 of file ldap-extension.h.

#define LDAP_URL_ERR_NODN   2 /* URL has no DN (required) */

Definition at line 235 of file ldap-extension.h.

#define LDAP_URL_ERR_NOTLDAP   1 /* URL doesn't begin with "ldap://" */

Definition at line 234 of file ldap-extension.h.

#define LDAP_URL_ERR_PARAM   5 /* bad parameter to an URL function */

Definition at line 238 of file ldap-extension.h.

Definition at line 225 of file ldap-extension.h.

Definition at line 239 of file ldap-extension.h.

#define LDAP_UTF8COPY (   d,
  s 
)    ((0x80 & *(unsigned char*)(s)) ? ldap_utf8copy(d,s) : ((*(d) = *(s)), 1))

Definition at line 658 of file ldap-extension.h.

#define LDAP_UTF8DEC (   s)    (s=ldap_utf8prev(s))

Definition at line 656 of file ldap-extension.h.

#define LDAP_UTF8GETC (   s)    ((0x80 & *(unsigned char*)(s)) ? ldap_utf8getcc ((const char**)&s) : *s++)

Definition at line 660 of file ldap-extension.h.

#define LDAP_UTF8GETCC (   s)    ((0x80 & *(unsigned char*)(s)) ? ldap_utf8getcc (&s) : *s++)

Definition at line 659 of file ldap-extension.h.

#define LDAP_UTF8INC (   s)    ((0x80 & *(unsigned char*)(s)) ? s=ldap_utf8next(s) : ++s)

Definition at line 653 of file ldap-extension.h.

#define LDAP_UTF8LEN (   s)    ((0x80 & *(unsigned char*)(s)) ? ldap_utf8len (s) : 1)

Definition at line 651 of file ldap-extension.h.

#define LDAP_UTF8NEXT (   s)    ((0x80 & *(unsigned char*)(s)) ? ldap_utf8next(s) : ( s)+1)

Definition at line 652 of file ldap-extension.h.

Definition at line 655 of file ldap-extension.h.

#define LDAP_VERSION   LDAP_VERSION2 /* API extension */

Definition at line 49 of file ldap-extension.h.

#define LDAP_VERSION1   1 /* API extension */

Definition at line 48 of file ldap-extension.h.

Definition at line 431 of file ldap-extension.h.

#define LDAP_X_EXTIOF_OPT_NONBLOCKING   0x01 /* turn on non-blocking mode */

Definition at line 393 of file ldap-extension.h.

#define LDAP_X_EXTIOF_OPT_SECURE   0x02 /* turn on 'secure' mode */

Definition at line 394 of file ldap-extension.h.

#define LDAP_X_IO_TIMEOUT_NO_TIMEOUT   (-1) /* block indefinitely */

Definition at line 368 of file ldap-extension.h.

#define LDAP_X_IO_TIMEOUT_NO_WAIT   0 /* return immediately */

Definition at line 367 of file ldap-extension.h.

Definition at line 547 of file ldap-extension.h.

Definition at line 321 of file ldap-extension.h.

#define LDAP_X_POLLERR   0x08 /* error occurred -- only in lpoll_revents */

Definition at line 387 of file ldap-extension.h.

#define LDAP_X_POLLHUP   0x10 /* connection closed -- only in lpoll_revents */

Definition at line 388 of file ldap-extension.h.

#define LDAP_X_POLLIN   0x01 /* regular data ready for reading */

Definition at line 384 of file ldap-extension.h.

#define LDAP_X_POLLNVAL   0x20 /* invalid lpoll_fd -- only in lpoll_revents */

Definition at line 389 of file ldap-extension.h.

#define LDAP_X_POLLOUT   0x04 /* ready for writing */

Definition at line 386 of file ldap-extension.h.

#define LDAP_X_POLLPRI   0x02 /* high priority data available */

Definition at line 385 of file ldap-extension.h.

#define NAME_ERROR (   n)    ((n & 0xf0) == 0x20)

Definition at line 88 of file ldap-extension.h.

Definition at line 229 of file ldap-extension.h.

#define NULLMSG   ((LDAPMessage *)0)

Definition at line 81 of file ldap-extension.h.


Typedef Documentation

void * arg

Definition at line 278 of file ldap-extension.h.

typedef char char int* authmethodp

Definition at line 278 of file ldap-extension.h.

typedef char** dnp

Definition at line 278 of file ldap-extension.h.

typedef char char* errmsg

Definition at line 300 of file ldap-extension.h.

typedef char** errmsgp

Definition at line 298 of file ldap-extension.h.

LDAPMessage char LDAPControl int freeit

Definition at line 278 of file ldap-extension.h.

typedef struct friendly * FriendlyMap
typedef int [read, abstract]

Definition at line 461 of file ldap-extension.h.

typedef struct ldap_filt_desc

Definition at line 500 of file ldap-extension.h.

typedef struct ldap_filt_list

Definition at line 499 of file ldap-extension.h.

typedef struct berval* LDAP_C LDAP_CALLBACK LDAP_KEYGEN_CALLBACK(void *arg, LDAP *ld, LDAPMessage *entry)

Definition at line 455 of file ldap-extension.h.

Definition at line 291 of file ldap-extension.h.

Definition at line 590 of file ldap-extension.h.

Definition at line 594 of file ldap-extension.h.

typedef struct ldap_x_pollfd LDAP_X_PollFD
typedef struct ldap_filt_info LDAPFiltInfo
typedef struct ldapmemcache

Definition at line 532 of file ldap-extension.h.

typedef struct LDAPsortkey LDAPsortkey
typedef struct ldap_url_desc LDAPURLDesc
typedef char* matched

Definition at line 300 of file ldap-extension.h.

typedef int nfds

Definition at line 408 of file ldap-extension.h.

typedef int int unsigned long options

Definition at line 400 of file ldap-extension.h.

typedef char char** passwdp

Definition at line 278 of file ldap-extension.h.

Definition at line 400 of file ldap-extension.h.

Definition at line 403 of file ldap-extension.h.

Definition at line 406 of file ldap-extension.h.

Definition at line 404 of file ldap-extension.h.

typedef int int timeout

Definition at line 400 of file ldap-extension.h.

typedef struct berval struct berval* typedef struct berval* typedef const char* val2

Definition at line 462 of file ldap-extension.h.

typedef const char** val2p

Definition at line 464 of file ldap-extension.h.

typedef void

Definition at line 459 of file ldap-extension.h.


Function Documentation

typedef int ( LDAP_CALL LDAP_CALLBACK  LDAP_REBINDPROC_CALLBACK)
typedef int ( LDAP_C LDAP_CALLBACK  LDAP_TF_MUTEX_LOCK_CALLBACK)
LDAP_API ( void  )
LDAP_API ( int  )
LDAP_API ( LDAPFiltDesc *  )
LDAP_API ( char *  )
LDAP_API ( size_t  ) const
void* ldap_x_calloc ( size_t  nelem,
size_t  elsize 
)

Definition at line 811 of file open.c.

{
       return( nsldapi_memalloc_fns.ldapmem_calloc == NULL ?
           calloc(  nelem, elsize ) :
           nsldapi_memalloc_fns.ldapmem_calloc( nelem, elsize ));
}

Here is the call graph for this function:

void ldap_x_free ( void ptr)

Definition at line 829 of file open.c.

{
       if ( nsldapi_memalloc_fns.ldapmem_free == NULL ) {
              free( ptr );
       } else {
              nsldapi_memalloc_fns.ldapmem_free( ptr );
       }
}
void* ldap_x_malloc ( size_t  size)

Definition at line 802 of file open.c.

{
       return( nsldapi_memalloc_fns.ldapmem_malloc == NULL ?
           malloc( size ) :
           nsldapi_memalloc_fns.ldapmem_malloc( size ));
}
void* ldap_x_realloc ( void ptr,
size_t  size 
)

Definition at line 820 of file open.c.

{
       return( nsldapi_memalloc_fns.ldapmem_realloc == NULL ?
           realloc( ptr, size ) :
           nsldapi_memalloc_fns.ldapmem_realloc( ptr, size ));
}

Here is the call graph for this function:

typedef void ( LDAP_C LDAP_CALLBACK  LDAP_TF_MUTEX_FREE_CALLBACK)

Variable Documentation

unsigned long char char char char* attr

Definition at line 472 of file ldap-extension.h.

LDAPControl unsigned long char** attribute

Definition at line 137 of file ldap-extension.h.

Definition at line 247 of file ldap-extension.h.

const char* authzid

Definition at line 197 of file ldap-extension.h.

Definition at line 479 of file ldap-extension.h.

unsigned long char** baseDNs

Definition at line 535 of file ldap-extension.h.

const char* brk

Definition at line 637 of file ldap-extension.h.

unsigned long buflen

Definition at line 507 of file ldap-extension.h.

LDAPMemCache* cache

Definition at line 537 of file ldap-extension.h.

LDAPMemCache ** cachep

Definition at line 535 of file ldap-extension.h.

Definition at line 469 of file ldap-extension.h.

Definition at line 182 of file ldap-extension.h.

Definition at line 182 of file ldap-extension.h.

Definition at line 185 of file ldap-extension.h.

Definition at line 185 of file ldap-extension.h.

Definition at line 185 of file ldap-extension.h.

char LDAP_VALCMP_CALLBACK * cmp

Definition at line 469 of file ldap-extension.h.

Definition at line 134 of file ldap-extension.h.

Definition at line 134 of file ldap-extension.h.

Definition at line 137 of file ldap-extension.h.

Definition at line 439 of file ldap-extension.h.

char* dn

Definition at line 195 of file ldap-extension.h.

int e

Definition at line 207 of file ldap-extension.h.

LDAPControl unsigned long unsigned long int* errcodep

Definition at line 168 of file ldap-extension.h.

LDAPMessage void LDAP_KEYGEN_CALLBACK LDAP_KEYCMP_CALLBACK LDAP_KEYFREE_CALLBACK* fre

Definition at line 469 of file ldap-extension.h.

Definition at line 121 of file ldap-extension.h.

Definition at line 260 of file ldap-extension.h.

Definition at line 469 of file ldap-extension.h.

int char** hostp

Definition at line 439 of file ldap-extension.h.

Definition at line 165 of file ldap-extension.h.

LDAPControl unsigned long unsigned long* list_sizep

Definition at line 168 of file ldap-extension.h.

Definition at line 245 of file ldap-extension.h.

int char * m

Definition at line 206 of file ldap-extension.h.

Definition at line 525 of file ldap-extension.h.

char* name

Definition at line 525 of file ldap-extension.h.

const char char** next

Definition at line 637 of file ldap-extension.h.

unsigned long char* pattern

Definition at line 513 of file ldap-extension.h.

Definition at line 439 of file ldap-extension.h.

unsigned long char char* prefix

Definition at line 512 of file ldap-extension.h.

Definition at line 185 of file ldap-extension.h.

LDAP_REBINDPROC_CALLBACK* rebindproc

Definition at line 280 of file ldap-extension.h.

char char int LDAPMessage ** res

Definition at line 249 of file ldap-extension.h.

LDAPControl unsigned long* result

Definition at line 137 of file ldap-extension.h.

Definition at line 182 of file ldap-extension.h.

int char char* s

Definition at line 206 of file ldap-extension.h.

char int scope

Definition at line 539 of file ldap-extension.h.

unsigned long size

Definition at line 535 of file ldap-extension.h.

Definition at line 134 of file ldap-extension.h.

const char* src

Definition at line 631 of file ldap-extension.h.

Definition at line 442 of file ldap-extension.h.

Definition at line 440 of file ldap-extension.h.

Definition at line 141 of file ldap-extension.h.

unsigned long char char char* suffix

Definition at line 512 of file ldap-extension.h.

char* tagpat

Definition at line 509 of file ldap-extension.h.

Definition at line 168 of file ldap-extension.h.

unsigned long char struct ldap_thread_fns* thread_fns

Definition at line 535 of file ldap-extension.h.

const char size_t const char * url

Definition at line 247 of file ldap-extension.h.

char** vals

Definition at line 476 of file ldap-extension.h.

unsigned long char char char char char* value

Definition at line 509 of file ldap-extension.h.

unsigned long char char char char char char** valwords

Definition at line 513 of file ldap-extension.h.