ldap_exp_fn.c File Reference

#include <string.h>
#include <stdio.h>
#include <ldap.h>
#include "../../ut.h"
#include "../../str.h"
#include "../../pvar.h"
#include "../../usr_avp.h"
#include "../../mem/mem.h"
#include "ldap_exp_fn.h"
#include "ldap_connect.h"
#include "ldap_api_fn.h"
#include "ldap_escape.h"

Include dependency graph for ldap_exp_fn.c:

Go to the source code of this file.

Defines

#define ESC_BUF_SIZE   65536
#define STR_BUF_SIZE   1024

Functions

int ldap_filter_url_encode (struct sip_msg *_msg, pv_elem_t *_filter_component, pv_spec_t *_dst_avp_spec)
int ldap_result_check (struct sip_msg *_msg, struct ldap_result_check_params *_lrp, struct subst_expr *_se)
int ldap_result_next (void)
int ldap_search_impl (struct sip_msg *_msg, pv_elem_t *_ldap_url)
int ldap_write_result (struct sip_msg *_msg, struct ldap_result_params *_lrp, struct subst_expr *_se)

Variables

static char esc_buf [ESC_BUF_SIZE]
static char str_buf [STR_BUF_SIZE]


Define Documentation

#define ESC_BUF_SIZE   65536

Definition at line 50 of file ldap_exp_fn.c.

Referenced by ldap_filter_url_encode().

#define STR_BUF_SIZE   1024

Definition at line 49 of file ldap_exp_fn.c.


Function Documentation

int ldap_filter_url_encode ( struct sip_msg _msg,
pv_elem_t _filter_component,
pv_spec_t _dst_avp_spec 
)

int ldap_result_check ( struct sip_msg _msg,
struct ldap_result_check_params _lrp,
struct subst_expr _se 
)

int ldap_result_next ( void   ) 

Definition at line 215 of file ldap_exp_fn.c.

References ldap_inc_result_pointer().

Referenced by w_ldap_result_next().

int ldap_search_impl ( struct sip_msg _msg,
pv_elem_t _ldap_url 
)

int ldap_write_result ( struct sip_msg _msg,
struct ldap_result_params _lrp,
struct subst_expr _se 
)


Variable Documentation

char esc_buf[ESC_BUF_SIZE] [static]

Definition at line 53 of file ldap_exp_fn.c.

Referenced by ldap_filter_url_encode().

char str_buf[STR_BUF_SIZE] [static]

Definition at line 52 of file ldap_exp_fn.c.


Generated on Wed May 23 18:00:41 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6