aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-04-01 16:02:41 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-04-01 16:02:41 +0000
commit53d3904a2844354529289f1712d6e25c8eb4d6a2 (patch)
tree3c2a4e1e3e0244095a519a135cee9bdb71fc756f /epan
parent3af0bc1b22a90b61baa9fcda6369e00e152d834b (diff)
Have the prototypes of uat_esc and uat_unesc available to packet-snmp.c
svn path=/trunk/; revision=21296
Diffstat (limited to 'epan')
-rw-r--r--epan/uat-int.h4
-rw-r--r--epan/uat.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/epan/uat-int.h b/epan/uat-int.h
index 45485e979c..5bf22be9dc 100644
--- a/epan/uat-int.h
+++ b/epan/uat-int.h
@@ -87,10 +87,6 @@ gboolean uat_load(uat_t* , char** );
void uat_load_all(void);
-char* uat_undquote(const char* si, guint in_len, guint* len_p);
-char* uat_unbinstring(const char* si, guint in_len, guint* len_p);
-char* uat_esc(const char* buf, guint len);
-
#define UAT_UPDATE(uat) do { *((uat)->user_ptr) = (void*)((uat)->user_data->data); *((uat)->nrows_p) = (uat)->user_data->len; } while(0)
#define UAT_INDEX_PTR(uat,idx) (uat->user_data->data + (uat->record_size * (idx)))
#endif
diff --git a/epan/uat.h b/epan/uat.h
index 65afbb06d4..946d930682 100644
--- a/epan/uat.h
+++ b/epan/uat.h
@@ -267,6 +267,11 @@ gboolean uat_fld_chk_str_ ## what (void*, const char*, unsigned, void*, void*, c
typedef void (*uat_cb_t)(void* uat,void* user_data);
void uat_foreach_table(uat_cb_t cb,void* user_data);
+char* uat_undquote(const char* si, guint in_len, guint* len_p);
+char* uat_unbinstring(const char* si, guint in_len, guint* len_p);
+char* uat_unesc(const char* si, guint in_len, guint* len_p);
+char* uat_esc(const char* buf, guint len);
+
/* Some strings entirely made of ... already declared */
CHK_STR_IS_DECL(isprint);
CHK_STR_IS_DECL(isalpha);