Classes | Macros | Functions | Variables
ldap.c File Reference
#include "curl_setup.h"
#include <ldap.h>
#include "urldata.h"
#include <curl/curl.h>
#include "sendf.h"
#include "escape.h"
#include "progress.h"
#include "transfer.h"
#include "strcase.h"
#include "strtok.h"
#include "curl_ldap.h"
#include "curl_multibyte.h"
#include "curl_base64.h"
#include "connect.h"
#include "curl_printf.h"
#include "curl_memory.h"
#include "memdebug.h"
Include dependency graph for ldap.c:

Go to the source code of this file.

Classes

struct  CURL_LDAPURLDesc
 

Macros

#define LDAP_DEPRECATED   1 /* Be sure ldap_init() is defined. */
 
#define ldap_free_urldesc   _ldap_free_urldesc
 
#define LDAP_TRACE(x)   Curl_nop_stmt
 
#define LDAPURLDesc   CURL_LDAPURLDesc
 

Functions

static void _ldap_free_urldesc (LDAPURLDesc *ludp)
 
static int _ldap_url_parse (const struct connectdata *conn, LDAPURLDesc **ludp)
 
static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp)
 
static CURLcode Curl_ldap (struct connectdata *conn, bool *done)
 
static bool split_str (char *str, char ***out, size_t *count)
 
static int str2scope (const char *p)
 

Variables

const struct Curl_handler Curl_handler_ldap
 

Macro Definition Documentation

#define LDAP_DEPRECATED   1 /* Be sure ldap_init() is defined. */

Definition at line 47 of file ldap.c.

#define ldap_free_urldesc   _ldap_free_urldesc

Definition at line 117 of file ldap.c.

#define LDAP_TRACE (   x)    Curl_nop_stmt

Definition at line 128 of file ldap.c.

#define LDAPURLDesc   CURL_LDAPURLDesc

Definition at line 110 of file ldap.c.

Function Documentation

static void _ldap_free_urldesc ( LDAPURLDesc ludp)
static

Definition at line 1066 of file ldap.c.

static int _ldap_url_parse ( const struct connectdata conn,
LDAPURLDesc **  ludp 
)
static

Definition at line 1047 of file ldap.c.

static int _ldap_url_parse2 ( const struct connectdata conn,
LDAPURLDesc ludp 
)
static

Definition at line 839 of file ldap.c.

static CURLcode Curl_ldap ( struct connectdata conn,
bool done 
)
static

suspicious that this isn't 'const'

Definition at line 261 of file ldap.c.

static bool split_str ( char *  str,
char ***  out,
size_t count 
)
static

Definition at line 797 of file ldap.c.

static int str2scope ( const char *  p)
static

Definition at line 778 of file ldap.c.

Variable Documentation

const struct Curl_handler Curl_handler_ldap
Initial value:
= {
"LDAP",
}
#define ZERO_NULL
Definition: curlx.c:131
#define CURLPROTO_LDAP
Definition: curl.h:851
#define PROTOPT_NONE
Definition: urldata.h:699
#define PORT_LDAP
Definition: urldata.h:35
static CURLcode Curl_ldap(struct connectdata *conn, bool *done)
Definition: ldap.c:261

Definition at line 138 of file ldap.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17