@@ -47,7 +47,6 @@
#include "../../lib/kcore/strcommon.h"
#include "pv_trans.h"
-#define is_in_str(p, in) (p<in->s+in->len && *p)
/*! transformation buffer size */
#define TR_BUFFER_SIZE 65536
@@ -28,12 +28,11 @@
#include "../../mem/mem.h"
#include "../../dprint.h"
#include "../../trim.h"
+#include "../../ut.h"
#include "sql_trans.h"
-
#define TR_BUFFER_SIZE 2048
@@ -29,11 +29,10 @@
#include "../../re.h"
#include "txt_var.h"
int tr_txt_eval_re(struct sip_msg *msg, tr_param_t *tp, int subtype,
pv_value_t *val)
{
@@ -40,8 +40,6 @@
#include "pvapi.h"
#include "pvar.h"
#define PV_TABLE_SIZE 16 /*!< pseudo-variable table size */
#define TR_TABLE_SIZE 4 /*!< PV transformation size */
@@ -158,6 +158,9 @@
*((_dest)++) = _c;
+#define is_in_str(p, in) (p < in->s + in->len && *p)
+
/* links a value to a msgid */
struct msgid_var{
union{