From 53d3904a2844354529289f1712d6e25c8eb4d6a2 Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Sun, 1 Apr 2007 16:02:41 +0000 Subject: [PATCH] Have the prototypes of uat_esc and uat_unesc available to packet-snmp.c svn path=/trunk/; revision=21296 --- epan/uat-int.h | 4 ---- epan/uat.h | 5 +++++ 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);