diff --git a/src/core/pvapi.c b/src/core/pvapi.c index bd0d3c2e98c..28429406c69 100644 --- a/src/core/pvapi.c +++ b/src/core/pvapi.c @@ -695,6 +695,14 @@ str *pv_get_null_str(void) return &pv_str_null; } +/** + * + */ +str *pv_get_empty_str(void) +{ + return &pv_str_empty; +} + /** * */ diff --git a/src/core/pvar.h b/src/core/pvar.h index 564bc03d906..a61072ff6b9 100644 --- a/src/core/pvar.h +++ b/src/core/pvar.h @@ -210,6 +210,7 @@ int pv_locate_name(str *in); pv_spec_t* pv_cache_get(str *name); str* pv_cache_get_name(pv_spec_t *spec); str *pv_get_null_str(void); +str *pv_get_empty_str(void); /*! \brief PV helper functions */ int pv_get_null(struct sip_msg *msg, pv_param_t *param, pv_value_t *res);