aboutsummaryrefslogtreecommitdiffstats
path: root/tap-stats_tree.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" asGuy Harris2005-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | it's used to register a callback for a tap listener invoked if the specified command line argument is specified to the "-z" flag. Move it, along with routines to: look up a "-z" argument in the table constructed by "register_tap_listener_cmd_arg()" and either save the full argument to "-z" and the corresponding listener if it's found or return a failure indication if it isn't; list the available tap listeners; call the "init" routines for the tap listeners saved in the table above; and have Ethereal and Tethereal use those routines. svn path=/trunk/; revision=13993
* Rename all stats_tree extern functions to start with stats_tree_Luis Ontanon2005-03-211-6/+6
| | | | svn path=/trunk/; revision=13840
* There was a design flaw that caused a crash on windows andLuis Ontanon2005-03-201-17/+25
| | | | | | | | | | | | left uninitialized successive copies of the stats tree. Split the stats_tree data in two different structs one for data that's always needed and it's not going to change at every run and another for each run of the tap. svn path=/trunk/; revision=13816
* Several fixes to the stats_treeLuis Ontanon2005-02-271-4/+6
| | | | | | | | | | | - Avoid creating a copy of every branch at reinitialization this used to cause some GTK warnings and a leakage of tree nodes - propperly check the optarg to avoid getting junk in the filter text this caused a crash svn path=/trunk/; revision=13534
* Update to the stats_tree tapping APILuis Ontanon2005-02-241-3/+6
| | | | | | | | | - change the tap init_string to %s,tree instead of %s,stat - change the registration key (it used to be tapname, that disallowed to register more than one tap per protocol) - add a "pivot" node for convenience svn path=/trunk/; revision=13502
* Initial checkin of the stats-tree tap APILuis Ontanon2005-02-161-0/+118
Makefiles have not been modified yet, there's still work to do. svn path=/trunk/; revision=13414