I'm now doing smth I'd like the good guys in the know to stop me doing right away in case I'm doing it fundamentally wrong.
My current objective is to have protocol stats output to terminal window/file by (t)ethereal for further analysis. What I am going to do in the patch I'm working on: 1) move proto_hier_stats.[ch] to ETHEREAL_COMMON_SRC in .am/.nmake 2) create a terminal version of the progress_dlg.c stuff to link into tethereal (gonna be dummy stubs probably at first) (- in progress now) 3) copy gtk/proto_hier_stats_dlg.c:create_tree() logic into a similar terminal- oriented file to link into tethereal.c (anyone has a good name for the file?) What can be done later: 4) add a GUI feature to the ethereal's stats dialog to write out to a file using the routine from (3). Lifetime of ps should be extended to the dialog life time so it doesn't have to be regenerated in case the user wants to write it out to a file 5) update the mans
