#include "../../str.h"#include "../../pvar.h"#include "../../parser/msg_parser.h"#include "../../re.h"


Go to the source code of this file.
Data Structures | |
| struct | ldap_result_check_params |
| struct | ldap_result_params |
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) |
| int | rfc2254_escape (struct sip_msg *_msg, char *_value, char *_avp_name) |
| int ldap_filter_url_encode | ( | struct sip_msg * | _msg, | |
| pv_elem_t * | _filter_component, | |||
| pv_spec_t * | _dst_avp_spec | |||
| ) |
Definition at line 311 of file ldap_exp_fn.c.
References add_avp(), AVP_NAME_STR, AVP_VAL_STR, dst_avp_name, dst_avp_type, esc_buf, ESC_BUF_SIZE, ldap_rfc4515_escape(), _str::len, LM_ERR, pv_get_avp_name(), pv_printf_s(), _pv_spec::pvp, _str::s, int_str::s, str_buf, and STR_BUF_SIZE.
Referenced by w_ldap_filter_url_encode().
| int ldap_result_check | ( | struct sip_msg * | _msg, | |
| struct ldap_result_check_params * | _lrp, | |||
| struct subst_expr * | _se | |||
| ) |
Definition at line 232 of file ldap_exp_fn.c.
References ldap_result_check_params::check_str_elem_p, ldap_result_check_params::ldap_attr_name, ldap_get_attr_vals(), _str::len, LM_DBG, LM_ERR, NULL, pkg_free, pv_printf_s(), _str::s, and subst_str().
Referenced by w_ldap_result_check_1(), and w_ldap_result_check_2().
| 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().
Definition at line 60 of file ldap_exp_fn.c.
References _pv_spec::getf, ldap_url_search(), _str::len, LM_ERR, LM_INFO, NULL, pv_printf_s(), _str::s, _pv_elem::spec, and _pv_elem::text.
Referenced by w_ldap_search().
| int ldap_write_result | ( | struct sip_msg * | _msg, | |
| struct ldap_result_params * | _lrp, | |||
| struct subst_expr * | _se | |||
| ) |
Definition at line 100 of file ldap_exp_fn.c.
References add_avp(), AVP_NAME_STR, AVP_VAL_STR, dst_avp_name, ldap_result_params::dst_avp_spec, dst_avp_type, ldap_result_params::dst_avp_val_type, ldap_result_params::ldap_attr_name, ldap_get_attr_vals(), _str::len, LM_ERR, int_str::n, NULL, pkg_free, pv_get_avp_name(), _pv_spec::pvp, _str::s, int_str::s, str2sint(), str_buf, STR_BUF_SIZE, and subst_str().
Referenced by w_ldap_result1(), and w_ldap_result2().
| int rfc2254_escape | ( | struct sip_msg * | _msg, | |
| char * | _value, | |||
| char * | _avp_name | |||
| ) |
1.5.6