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


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 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.
| int load_ldap | ( | ldap_api_t * | api | ) |
Definition at line 62 of file ldap_api_fn.c.
References get_last_ldap_result(), ldap_api::get_last_ldap_result, get_ldap_handle(), ldap_api::get_ldap_handle, ldap_get_attr_vals(), ldap_inc_result_pointer(), ldap_params_search(), ldap_api::ldap_params_search, ldap_api::ldap_result_attr_vals, ldap_api::ldap_result_next, ldap_rfc4515_escape(), ldap_api::ldap_rfc4515_escape, ldap_str2scope(), ldap_api::ldap_str2scope, ldap_url_search(), ldap_api::ldap_url_search, ldap_api::ldap_value_free_len, and NULL.
Referenced by load_ldap_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().
1.5.6