aboutsummaryrefslogtreecommitdiffstats
path: root/capture_info.h
AgeCommit message (Collapse)AuthorFilesLines
2008-06-24Add gtk/capture_globals.h, to declare global_capture_opts, so files thatguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25574 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-24Have capture_info_ui_create() and capture_info_open() take a pointer toguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25570 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21name changesahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-01Clean up indentation a bit.guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17437 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-04move the complete functionality of the capture info dialog from ↵ulfl1-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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16669 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-03split some parts of the packet counting functions into their own files ↵ulfl1-0/+68
capture_info(.c/.h), so we can use it from the main program git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16668 f5534014-38df-0310-8fa8-9805f1628bb7