Module: Miscellaneous
Definition in file LDAP_URL_Header.h.
#include "PKIFdll.h"
#include "PKIFEnums.h"
#include "ldap.h"
Go to the source code of this file.
Namespaces | |
namespace | PKIFLDAP |
Classes | |
struct | PKIFLDAP::lber_options |
defined(LDAP_SCOPE_DEFAULT) More... | |
Defines | |
#define | c const char |
#define | LDAP_UCS4_INVALID (0x80000000U) |
#define | LDAP_UTF8_ISASCII(p) ( !(*(const unsigned char *)(p) & 0x80 ) ) |
#define | LDAP_UTF8_INCR(p) ((p) = LDAP_UTF8_NEXT(p)) |
#define | LDAP_UTF8_NEXT(p) |
#define | LDAP_UTF8_CHARLEN(p) |
#define | LDAP_UTF8_CHARLEN2(p, l) |
#define | LBER_INT_T int |
#define | LBER_LEN_T long |
#define | LBER_MALLOC malloc |
#define | LBER_CALLOC calloc |
#define | LBER_REALLOC realloc |
#define | LBER_FREE free |
#define | LBER_VFREE ber_memvfree |
#define | LBER_STRDUP strdup |
#define | LBER_STRNDUP ber_strndup__ |
#define | LDAP_MALLOC(s) (LBER_MALLOC((s))) |
#define | LDAP_CALLOC(n, s) (LBER_CALLOC((n),(s))) |
#define | LDAP_REALLOC(p, s) (LBER_REALLOC((p),(s))) |
#define | LDAP_FREE(p) (LBER_FREE((p))) |
#define | LDAP_VFREE(v) (LBER_VFREE((void **)(v))) |
#define | LDAP_STRDUP(s) (LBER_STRDUP((s))) |
#define | LDAP_STRNDUP(s, l) (LBER_STRNDUP((s),(l))) |
#define | LDAP_PORT 389 |
#define | LDAPS_PORT 636 |
#define | LDAP_SCOPE_DEFAULT ((PKIFLDAP::ber_int_t) -1) |
#define | BER_MEM_VALID(p) |
#define | LBER_UNINITIALIZED 0x0 |
#define | LBER_INITIALIZED 0x1 |
#define | LBER_VALID_BERELEMENT 0x2 |
#define | LBER_VALID_SOCKBUF 0x3 |
#define | LDAP_URL_SUCCESS 0x00 |
#define | LDAP_URL_ERR_MEM 0x01 |
#define | LDAP_URL_ERR_PARAM 0x02 |
#define | LDAP_URL_ERR_BADSCHEME 0x03 |
#define | LDAP_URL_ERR_BADENCLOSURE 0x04 |
#define | LDAP_URL_ERR_BADURL 0x05 |
#define | LDAP_URL_ERR_BADHOST 0x06 |
#define | LDAP_URL_ERR_BADATTRS 0x07 |
#define | LDAP_URL_ERR_BADSCOPE 0x08 |
#define | LDAP_URL_ERR_BADFILTER 0x09 |
#define | LDAP_URL_ERR_BADEXTS 0x0a |
#define | LDAP_URL_PREFIX "ldap://" |
#define | LDAP_URL_PREFIX_LEN (sizeof(LDAP_URL_PREFIX)-1) |
#define | LDAPS_URL_PREFIX "ldaps://" |
#define | LDAPS_URL_PREFIX_LEN (sizeof(LDAPS_URL_PREFIX)-1) |
#define | LDAPI_URL_PREFIX "ldapi://" |
#define | LDAPI_URL_PREFIX_LEN (sizeof(LDAPI_URL_PREFIX)-1) |
#define | LDAP_URL_URLCOLON "URL:" |
#define | LDAP_URL_URLCOLON_LEN (sizeof(LDAP_URL_URLCOLON)-1) |
#define | LDAP_URL_URLEQUALTO "URL=" |
#define | LDAP_URL_URLEQUALTO_LEN (sizeof(LDAP_URL_URLEQUALTO)-1) |
#define | LDAP_REF_STR "Referral:\n" |
#define | LDAP_REF_STR_LEN (sizeof(LDAP_REF_STR)-1) |
#define | LDAP_LDAP_REF_STR LDAP_URL_PREFIX |
#define | LDAP_LDAP_REF_STR_LEN LDAP_URL_PREFIX_LEN |
#define | ERR_LDAP_CONNECTION 1001 |
#define | ERR_LDAP_QUERY 1002 |
Typedefs | |
typedef LBER_INT_T | PKIFLDAP::ber_int_t |
typedef ber_int_t | PKIFLDAP::ldap_ucs4_t |
typedef unsigned LBER_LEN_T | PKIFLDAP::ber_len_t |
typedef ::LDAPURLDesc | PKIFLDAP::LDAPURLDesc |
_WIN32 | |
Functions | |
int | PKIFLDAP::ldap_url_parse (const char *url_in, LDAPURLDesc **ludpp) |
int | PKIFLDAP::ldap_url_parse_ext (const char *url_in, LDAPURLDesc **ludpp) |
const char * | PKIFLDAP::skip_url_prefix (const char *url, int *enclosedp, const char **scheme) |
void | PKIFLDAP::ldap_free_urldesc (LDAPURLDesc *ludp) |
void | PKIFLDAP::ber_memvfree (void **vec) |
void | PKIFLDAP::ldap_pvt_hex_unescape (char *s) |
char ** | PKIFLDAP::ldap_str2charray (const char *str_in, const char *brkstr) |
char *() | PKIFLDAP::ldap_utf8_strchr (const char *str, const char *chr) |
char *() | PKIFLDAP::ldap_utf8_strtok (char *str, const char *sep, char **last) |
ber_len_t() | PKIFLDAP::ldap_utf8_strspn (const char *str, const char *set) |
ber_len_t() | PKIFLDAP::ldap_utf8_strcspn (const char *str, const char *set) |
ldap_ucs4_t | PKIFLDAP::ldap_x_utf8_to_ucs4 (const char *p) |
char * | PKIFLDAP::ldap_utf8_next (const char *p) |
Variables | |
const char | PKIFLDAP::ldap_utf8_lentab [] |
c | PKIFLDAP::ldap_utf8_mintab [] |
struct PKIFLDAP::lber_options | ber_int_options |
#define BER_MEM_VALID | ( | p | ) |
Definition at line 113 of file LDAP_URL_Header.h.
#define c const char |
Definition at line 37 of file LDAP_URL_Header.h.
Referenced by CBase64Buffer::decode(), CPKIFOCSPRequest::Encode(), GetCredential(), CPKIFSimpleCertAndCrlPanel::OnInitDialog(), CPKIFLdapAndOcspPanel::OnInitDialog(), SaveCryptoComponents(), SavePathProcessingComponents(), SaveRevocationStatusComponents(), SaveStorageAndRetrievalComponents(), wxASCIIHelper::to_bytes(), and wxASCIIHelper::to_chars().
#define ERR_LDAP_CONNECTION 1001 |
Definition at line 200 of file LDAP_URL_Header.h.
Referenced by GetCertfromLDAPURL(), and GetCRLfromLDAPURL().
#define ERR_LDAP_QUERY 1002 |
Definition at line 201 of file LDAP_URL_Header.h.
Referenced by GetCertfromLDAPURL(), and GetCRLfromLDAPURL().
#define LBER_CALLOC calloc |
Definition at line 73 of file LDAP_URL_Header.h.
#define LBER_FREE free |
Definition at line 75 of file LDAP_URL_Header.h.
#define LBER_INITIALIZED 0x1 |
Definition at line 118 of file LDAP_URL_Header.h.
#define LBER_INT_T int |
Definition at line 63 of file LDAP_URL_Header.h.
#define LBER_LEN_T long |
Definition at line 67 of file LDAP_URL_Header.h.
#define LBER_MALLOC malloc |
Definition at line 72 of file LDAP_URL_Header.h.
#define LBER_REALLOC realloc |
Definition at line 74 of file LDAP_URL_Header.h.
#define LBER_STRDUP strdup |
Definition at line 77 of file LDAP_URL_Header.h.
#define LBER_STRNDUP ber_strndup__ |
Definition at line 78 of file LDAP_URL_Header.h.
#define LBER_UNINITIALIZED 0x0 |
Definition at line 117 of file LDAP_URL_Header.h.
#define LBER_VALID_BERELEMENT 0x2 |
Definition at line 119 of file LDAP_URL_Header.h.
#define LBER_VALID_SOCKBUF 0x3 |
Definition at line 120 of file LDAP_URL_Header.h.
#define LBER_VFREE ber_memvfree |
Definition at line 76 of file LDAP_URL_Header.h.
#define LDAP_CALLOC | ( | n, | |||
s | ) | (LBER_CALLOC((n),(s))) |
#define LDAP_FREE | ( | p | ) | (LBER_FREE((p))) |
Definition at line 86 of file LDAP_URL_Header.h.
Referenced by PKIFLDAP::ldap_url_parse(), and PKIFLDAP::ldap_url_parse_ext().
#define LDAP_LDAP_REF_STR LDAP_URL_PREFIX |
Definition at line 177 of file LDAP_URL_Header.h.
#define LDAP_LDAP_REF_STR_LEN LDAP_URL_PREFIX_LEN |
Definition at line 178 of file LDAP_URL_Header.h.
#define LDAP_MALLOC | ( | s | ) | (LBER_MALLOC((s))) |
Definition at line 83 of file LDAP_URL_Header.h.
#define LDAP_PORT 389 |
#define LDAP_REALLOC | ( | p, | |||
s | ) | (LBER_REALLOC((p),(s))) |
Definition at line 85 of file LDAP_URL_Header.h.
#define LDAP_REF_STR "Referral:\n" |
Definition at line 175 of file LDAP_URL_Header.h.
#define LDAP_REF_STR_LEN (sizeof(LDAP_REF_STR)-1) |
Definition at line 176 of file LDAP_URL_Header.h.
#define LDAP_SCOPE_DEFAULT ((PKIFLDAP::ber_int_t) -1) |
Definition at line 97 of file LDAP_URL_Header.h.
Referenced by PKIFLDAP::ldap_url_parse(), and PKIFLDAP::ldap_url_parse_ext().
#define LDAP_STRDUP | ( | s | ) | (LBER_STRDUP((s))) |
#define LDAP_STRNDUP | ( | s, | |||
l | ) | (LBER_STRNDUP((s),(l))) |
Definition at line 89 of file LDAP_URL_Header.h.
#define LDAP_UCS4_INVALID (0x80000000U) |
Definition at line 45 of file LDAP_URL_Header.h.
#define LDAP_URL_ERR_BADATTRS 0x07 |
#define LDAP_URL_ERR_BADENCLOSURE 0x04 |
#define LDAP_URL_ERR_BADEXTS 0x0a |
#define LDAP_URL_ERR_BADFILTER 0x09 |
#define LDAP_URL_ERR_BADHOST 0x06 |
Definition at line 150 of file LDAP_URL_Header.h.
#define LDAP_URL_ERR_BADSCHEME 0x03 |
#define LDAP_URL_ERR_BADSCOPE 0x08 |
#define LDAP_URL_ERR_BADURL 0x05 |
#define LDAP_URL_ERR_MEM 0x01 |
#define LDAP_URL_ERR_PARAM 0x02 |
#define LDAP_URL_PREFIX "ldap://" |
Definition at line 158 of file LDAP_URL_Header.h.
#define LDAP_URL_PREFIX_LEN (sizeof(LDAP_URL_PREFIX)-1) |
Definition at line 159 of file LDAP_URL_Header.h.
#define LDAP_URL_SUCCESS 0x00 |
Definition at line 143 of file LDAP_URL_Header.h.
Referenced by PKIFLDAP::ldap_url_parse(), and PKIFLDAP::ldap_url_parse_ext().
#define LDAP_URL_URLCOLON "URL:" |
Definition at line 168 of file LDAP_URL_Header.h.
#define LDAP_URL_URLCOLON_LEN (sizeof(LDAP_URL_URLCOLON)-1) |
Definition at line 169 of file LDAP_URL_Header.h.
#define LDAP_URL_URLEQUALTO "URL=" |
Definition at line 171 of file LDAP_URL_Header.h.
#define LDAP_URL_URLEQUALTO_LEN (sizeof(LDAP_URL_URLEQUALTO)-1) |
Definition at line 172 of file LDAP_URL_Header.h.
#define LDAP_UTF8_CHARLEN | ( | p | ) |
Value:
( LDAP_UTF8_ISASCII(p) \ ? 1 : ldap_utf8_lentab[*(const unsigned char *)(p) ^ 0x80] )
Definition at line 52 of file LDAP_URL_Header.h.
#define LDAP_UTF8_CHARLEN2 | ( | p, | |||
l | ) |
Value:
( ( ( l = LDAP_UTF8_CHARLEN( p )) < 3 || \ ( ldap_utf8_mintab[*(const unsigned char *)(p) & 0x1f] & (p)[1] ) ) ? \ l : 0 )
Definition at line 59 of file LDAP_URL_Header.h.
#define LDAP_UTF8_INCR | ( | p | ) | ((p) = LDAP_UTF8_NEXT(p)) |
Definition at line 48 of file LDAP_URL_Header.h.
#define LDAP_UTF8_ISASCII | ( | p | ) | ( !(*(const unsigned char *)(p) & 0x80 ) ) |
Definition at line 47 of file LDAP_URL_Header.h.
#define LDAP_UTF8_NEXT | ( | p | ) |
Value:
( LDAP_UTF8_ISASCII(p) \ ? (char *)(p)+1 : ldap_utf8_next((p)) )
Definition at line 49 of file LDAP_URL_Header.h.
#define LDAP_VFREE | ( | v | ) | (LBER_VFREE((void **)(v))) |
Definition at line 87 of file LDAP_URL_Header.h.
#define LDAPI_URL_PREFIX "ldapi://" |
Definition at line 162 of file LDAP_URL_Header.h.
#define LDAPI_URL_PREFIX_LEN (sizeof(LDAPI_URL_PREFIX)-1) |
Definition at line 163 of file LDAP_URL_Header.h.
#define LDAPS_PORT 636 |
#define LDAPS_URL_PREFIX "ldaps://" |
Definition at line 160 of file LDAP_URL_Header.h.
#define LDAPS_URL_PREFIX_LEN (sizeof(LDAPS_URL_PREFIX)-1) |
Definition at line 161 of file LDAP_URL_Header.h.
Definition at line 13 of file LDAPFunctions.cpp.