aboutsummaryrefslogtreecommitdiffstats
path: root/epan/uat-int.h
diff options
context:
space:
mode:
authorlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-29 10:23:38 +0000
committerlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-29 10:23:38 +0000
commitb8a1911db9c91214c5456d78133680c61617d532 (patch)
tree158ac266f766fccdfcc7a049a629be4d20ac133e /epan/uat-int.h
parent256b2403a133057618426ab2b3520c567e34a802 (diff)
The UAT gui starts to work
set the macros_dlg to use it add a dummy dfilter_macros file to supress a warning at startup git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20598 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/uat-int.h')
-rw-r--r--epan/uat-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/uat-int.h b/epan/uat-int.h
index ca46f1553f..4f9b8a48f7 100644
--- a/epan/uat-int.h
+++ b/epan/uat-int.h
@@ -82,5 +82,5 @@ gboolean uat_save(uat_t* dt, char** error);
gboolean uat_load(uat_t* dt, char** error);
#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