aboutsummaryrefslogtreecommitdiffstats
path: root/epan/uat.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-03-04 12:50:18 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-03-04 12:50:18 +0000
commit2f8830b4d03bb3f0ae67ba22896b1ac62c133428 (patch)
tree96338cd40e1cefa0587cb4b5cc2c4f5bc6eab668 /epan/uat.c
parentf05fb51aba628102f83cd814d04f763643baab3e (diff)
From LEGO via bug 3459:
Add a callback to UAT to be called after the table has being updated, use it to renew the snmp_ue_cache. svn path=/trunk/; revision=32112
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 792e360efd..e93ed311d3 100644
--- a/epan/uat.c
+++ b/epan/uat.c
@@ -67,6 +67,7 @@ uat_t* uat_new(const char* name,
uat_copy_cb_t copy_cb,
uat_update_cb_t update_cb,
uat_free_cb_t free_cb,
+ uat_post_update_cb_t post_update_cb,
uat_field_t* flds_array) {
/* Create new uat */
uat_t* uat = g_malloc(sizeof(uat_t));
@@ -91,6 +92,7 @@ uat_t* uat_new(const char* name,
uat->copy_cb = copy_cb;
uat->update_cb = update_cb;
uat->free_cb = free_cb;
+ uat->post_update_cb = post_update_cb;
uat->fields = flds_array;
uat->user_data = g_array_new(FALSE,FALSE,(guint)uat->record_size);
uat->changed = FALSE;