diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-10 21:43:51 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-10 21:43:51 +0000 |
commit | 33beb2609aa17f645c1f98288af739775759cc62 (patch) | |
tree | 3bbab93a9566e7d8b52f1e31e1ed977366c5fee6 /doc/README.stats_tree | |
parent | 17678f9b5d48f8f09695877d03d09f1f86b7e943 (diff) |
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9116 :
README.stats_tree shows the wrong function parameters for stats_tree_register
svn path=/trunk/; revision=51944
Diffstat (limited to 'doc/README.stats_tree')
-rw-r--r-- | doc/README.stats_tree | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/README.stats_tree b/doc/README.stats_tree index 91090e0df2..b5b24e42e5 100644 --- a/doc/README.stats_tree +++ b/doc/README.stats_tree @@ -117,6 +117,7 @@ WS_DLL_PUBLIC_DEF void plugin_register_tap_listener(void) { stats_tree_register("udp", /* the proto we are going to "tap" */ "udp_terms", /* the abbreviation for this tree (to be used as -z udp_terms,tree) */ st_str_udp_term, /* the name of the menu and window (use "/" for sub menus)*/ + 0, /* tap listener flags for per-packet callback */ udp_term_stats_tree_packet, /* the per packet callback */ udp_term_stats_tree_init, /* the init callback */ NULL ); /* the cleanup callback (in this case there isn't) */ @@ -131,7 +132,7 @@ the stats_tree API every stats_tree callback has a stats_tree* parameter (st), stats_tree is an obscure data structure which should be passed to the api functions. -stats_tree_register( tapname, abbr, name, packet_cb, init_cb, cleanup_cb); +stats_tree_register( tapname, abbr, name, flags, packet_cb, init_cb, cleanup_cb); registers a new stats tree stats_tree_parent_id_by_name( st, parent_name) |