D:/opendownloadmanager/ODM-1.x/InetFile/cURL_lib/ldap.c File Reference

#include "setup.h"
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include "urldata.h"
#include <curl/curl.h>
#include "sendf.h"
#include "escape.h"
#include "transfer.h"
#include "strequal.h"
#include "strtok.h"
#include "ldap.h"
#include "memory.h"
#include "base64.h"
#include <curl/mprintf.h>
#include "memdebug.h"

Go to the source code of this file.

Classes

struct  bv
struct  ldap_url_desc

Defines

#define _MPRINTF_REPLACE
#define __cdecl
#define LDAP_SIZELIMIT_EXCEEDED   4
#define LDAP_VERSION2   2
#define LDAP_VERSION3   3
#define LDAP_OPT_PROTOCOL_VERSION   0x0011
#define DLOPEN_MODE   RTLD_LAZY
#define DYNA_GET_FUNCTION(type, fnc)
#define ZERO_NULL   0
#define LDAP_TRACE(x)   ((void)0)

Typedefs

typedef void *(* dynafunc )(void *input)
typedef struct ldap_url_desc LDAPURLDesc

Functions

static int DynaOpen (const char **mod_name)
static void DynaClose (void)
static dynafunc DynaGetFunction (const char *name)
CURLcode Curl_ldap (struct connectdata *conn, bool *done)


Define Documentation

#define __cdecl

Definition at line 71 of file ldap.c.

Referenced by Curl_ldap().

#define _MPRINTF_REPLACE

Definition at line 61 of file ldap.c.

#define DLOPEN_MODE   RTLD_LAZY

Definition at line 87 of file ldap.c.

Referenced by DynaOpen().

#define DYNA_GET_FUNCTION ( type,
fnc   ) 

Value:

do { \
          (fnc) = (type)DynaGetFunction(#fnc); \
          if ((fnc) == NULL) \
             return CURLE_FUNCTION_NOT_FOUND; \
        } while (0)

Definition at line 98 of file ldap.c.

Referenced by Curl_ldap().

#define LDAP_OPT_PROTOCOL_VERSION   0x0011

Definition at line 84 of file ldap.c.

Referenced by Curl_ldap().

#define LDAP_SIZELIMIT_EXCEEDED   4

Definition at line 75 of file ldap.c.

Referenced by Curl_ldap().

#define LDAP_TRACE (  )     ((void)0)

Definition at line 249 of file ldap.c.

Referenced by Curl_ldap().

#define LDAP_VERSION2   2

Definition at line 78 of file ldap.c.

Referenced by Curl_ldap().

#define LDAP_VERSION3   3

Definition at line 81 of file ldap.c.

Referenced by Curl_ldap().

#define ZERO_NULL   0

CygWin etc. configure could set these, but we don't want it. Must use WLdap32.dll code.

Definition at line 117 of file ldap.c.

Referenced by CreateConnection(), Curl_open(), and DynaGetFunction().


Typedef Documentation

typedef void*(* dynafunc)(void *input)

Definition at line 119 of file ldap.c.

typedef struct ldap_url_desc LDAPURLDesc


Function Documentation

CURLcode Curl_ldap ( struct connectdata conn,
bool done 
)

static void DynaClose ( void   )  [static]

Definition at line 170 of file ldap.c.

References NULL.

Referenced by Curl_ldap().

static dynafunc DynaGetFunction ( const char *  name  )  [static]

Definition at line 191 of file ldap.c.

References ZERO_NULL.

static int DynaOpen ( const char **  mod_name  )  [static]

Definition at line 135 of file ldap.c.

References DL_LDAP_FILE, DLOPEN_MODE, and NULL.

Referenced by Curl_ldap().


Generated on Sun May 25 00:20:07 2008 by  doxygen 1.5.6