ldap/api.h File Reference

#include <ldap.h>
#include "../../str.h"
#include "../../sr_module.h"

Include dependency graph for ldap/api.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ldap_api

Typedefs

typedef void(* get_last_ldap_result_t )(LDAP **_last_ldap_handle, LDAPMessage **_last_ldap_result)
typedef int(* get_ldap_handle_t )(char *_lds_name, LDAP **_ldap_handle)
typedef struct ldap_api ldap_api_t
typedef int(* ldap_params_search_t )(int *_ld_result_count, char *_lds_name, char *_dn, int _scope, char **_attrs, char *_filter,...)
typedef int(* ldap_result_attr_vals_t )(str *_attr_name, struct berval ***_vals)
typedef int(* ldap_result_next_t )(void)
typedef int(* ldap_rfc4515_escape_t )(str *sin, str *sout, int url_encode)
typedef int(* ldap_str2scope_t )(char *scope_str)
typedef int(* ldap_url_search_t )(char *_ldap_url, int *_result_count)
typedef void(* ldap_value_free_len_t )(struct berval **_vals)
typedef int(* load_ldap_t )(ldap_api_t *api)

Functions

int load_ldap (ldap_api_t *api)
static int load_ldap_api (ldap_api_t *api)


Typedef Documentation

typedef void(* get_last_ldap_result_t)(LDAP **_last_ldap_handle, LDAPMessage **_last_ldap_result)

Definition at line 70 of file ldap/api.h.

typedef int(* get_ldap_handle_t)(char *_lds_name, LDAP **_ldap_handle)

Definition at line 68 of file ldap/api.h.

typedef struct ldap_api ldap_api_t

typedef int(* ldap_params_search_t)(int *_ld_result_count, char *_lds_name, char *_dn, int _scope, char **_attrs, char *_filter,...)

Definition at line 45 of file ldap/api.h.

typedef int(* ldap_result_attr_vals_t)(str *_attr_name, struct berval ***_vals)

Definition at line 58 of file ldap/api.h.

typedef int(* ldap_result_next_t)(void)

Definition at line 64 of file ldap/api.h.

typedef int(* ldap_rfc4515_escape_t)(str *sin, str *sout, int url_encode)

Definition at line 74 of file ldap/api.h.

typedef int(* ldap_str2scope_t)(char *scope_str)

Definition at line 66 of file ldap/api.h.

typedef int(* ldap_url_search_t)(char *_ldap_url, int *_result_count)

Definition at line 54 of file ldap/api.h.

typedef void(* ldap_value_free_len_t)(struct berval **_vals)

Definition at line 62 of file ldap/api.h.

typedef int(* load_ldap_t)(ldap_api_t *api)

Definition at line 93 of file ldap/api.h.


Function Documentation

int load_ldap ( ldap_api_t api  ) 

static int load_ldap_api ( ldap_api_t api  )  [inline, static]

Definition at line 97 of file ldap/api.h.

References find_export(), LM_ERR, and load_ldap().

Referenced by mod_init().


Generated on Wed May 23 08:01:06 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6