aboutsummaryrefslogtreecommitdiffstats
path: root/epan/uat.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-02-05 05:06:21 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-02-05 05:06:21 +0000
commit2b22bcb1a3d4b1979ff81077f3137072a95fdcae (patch)
tree9589763778aa33de988993687a746eca572bd2c3 /epan/uat.c
parentb7a16926d738da9fce30fdef9845476733ada9ef (diff)
* Add a help facility for UATs
* export help_topic_html() svn path=/trunk/; revision=20717
Diffstat (limited to 'epan/uat.c')
-rw-r--r--epan/uat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/uat.c b/epan/uat.c
index 133c466d97..de8966a329 100644
--- a/epan/uat.c
+++ b/epan/uat.c
@@ -56,6 +56,7 @@ uat_t* uat_new(const char* name,
char* filename,
void** data_ptr,
guint* numitems_ptr,
+ char* help,
uat_copy_cb_t copy_cb,
uat_update_cb_t update_cb,
uat_free_cb_t free_cb,
@@ -83,6 +84,7 @@ uat_t* uat_new(const char* name,
uat->changed = FALSE;
uat->rep = NULL;
uat->free_rep = NULL;
+ uat->help = help;
for (i=0;flds_array[i].name;i++) {
fld_data_t* f = g_malloc(sizeof(fld_data_t));