|
@@ -32,6 +32,7 @@
|
|
#include "../../core/strutils.h"
|
|
#include "../../core/strutils.h"
|
|
#include "../../core/tcp_conn.h"
|
|
#include "../../core/tcp_conn.h"
|
|
#include "../../core/pvapi.h"
|
|
#include "../../core/pvapi.h"
|
|
|
|
+#include "../../core/ppcfg.h"
|
|
#include "../../core/trim.h"
|
|
#include "../../core/trim.h"
|
|
#include "../../core/msg_translator.h"
|
|
#include "../../core/msg_translator.h"
|
|
|
|
|
|
@@ -3671,8 +3672,6 @@ int pv_parse_def_name(pv_spec_p sp, str *in)
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
-extern str *pp_define_get(int len, const char * text);
|
|
|
|
-
|
|
|
|
int pv_get_def(sip_msg_t *msg, pv_param_t *param, pv_value_t *res)
|
|
int pv_get_def(sip_msg_t *msg, pv_param_t *param, pv_value_t *res)
|
|
{
|
|
{
|
|
str *val = pp_define_get(param->pvn.u.isname.name.s.len, param->pvn.u.isname.name.s.s);
|
|
str *val = pp_define_get(param->pvn.u.isname.name.s.len, param->pvn.u.isname.name.s.s);
|