aboutsummaryrefslogtreecommitdiffstats
path: root/capture_info.h
Commit message (Collapse)AuthorAgeFilesLines
* Add gtk/capture_globals.h, to declare global_capture_opts, so files thatGuy Harris2008-06-241-2/+3
| | | | | | | | | | | | | | | | | | | | | | | don't need global_capture_opts don't need to have it declared and thus don't need capture_options defined. Include gtk/capture_globals in the files in question. Change some more capture_opts references to refer to global_capture_opts. Change some global_capture_opts references in routines with a capture_opts argument to refer to capture_opts. The structure type is capture_options, not capture_opts; fix some references. Include <sys/types.h>, if it's present, in capture_opts.h, so we get gid_t defined. Clean up indentation. svn path=/trunk/; revision=25574
* Have capture_info_ui_create() and capture_info_open() take a pointer toGuy Harris2008-06-241-2/+2
| | | | | | | | | | the capture_opts structure as an argument, rather than just a pointer to the interface name. Don't declare a global "capture_opts" pointer, as we don't define it any more. svn path=/trunk/; revision=25570
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* Clean up indentation a bit.Guy Harris2006-03-011-1/+1
| | | | | | | | | | | | In "capture_input_new_file()", don't call the callbacks unless we succeed in opening the new file. Have "capture_info_new_file()" return a success/failure indication. Improve the message logged when we fail to open the new file if we're only opening it for the quick packet counts. We really should put up an alert box and give up on the capture at that point. svn path=/trunk/; revision=17437
* move the complete functionality of the capture info dialog from ↵Ulf Lamping2005-12-041-4/+12
| | | | | | | | | | capture_loop.c to capture_info.c and call it from capture.c (instead of capture_loop.c). This way, the capture child don't need to now any of the packet_counter things (no epan/packet.h and all alike). Currently the capture_info code will always open another wiretap file instance to build it's own counter values. This isn't optimized for now (next step: use data from cf_continue_tail() somehow). svn path=/trunk/; revision=16669
* split some parts of the packet counting functions into their own files ↵Ulf Lamping2005-12-031-0/+68
capture_info(.c/.h), so we can use it from the main program svn path=/trunk/; revision=16668