aboutsummaryrefslogtreecommitdiffstats
path: root/epan/uat.c
diff options
context:
space:
mode:
authorlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>2007-02-08 10:15:04 +0000
committerlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>2007-02-08 10:15:04 +0000
commitea0c5ab5500127bfb492a81121c3e0bb9fbcd907 (patch)
treed428cb2e05fc680ec31eb2d42a75018a0253e379 /epan/uat.c
parent60c9ae4d36a3138566d17e48f38e0f668f4a2785 (diff)
Have the windows buildot compiling again.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20742 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/uat.c')
-rw-r--r--epan/uat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/uat.c b/epan/uat.c
index e911163c6b..38541272ca 100644
--- a/epan/uat.c
+++ b/epan/uat.c
@@ -275,6 +275,16 @@ void uat_cleanup(void) {
g_ptr_array_free(all_uats,TRUE);
}
+
+void uat_foreach_table(uat_cb_t cb,void* user_data) {
+ guint i;
+
+ for (i=0; i < all_uats->len; i++)
+ cb(g_ptr_array_index(all_uats,i), user_data);
+
+}
+
+
void uat_load_all(void) {
guint i;
gchar* err;
@@ -291,6 +301,7 @@ void uat_load_all(void) {
}
}
+
gboolean uat_fld_chk_str(void* u1 _U_, const char* strptr, unsigned len _U_, void* u2 _U_, void* u3 _U_, char** err) {
if (strptr == NULL) {
*err = "NULL pointer";