Commit Graph

4 Commits

Author SHA1 Message Date
guy d4161c0060 Fix it to compile on systems without "pcap_datalink_val_to_name()" (or
with "pcap_datalink_val_to_name()" but without a declaration of it in
"pcap.h" *cough* Software Update *cough*).


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12858 f5534014-38df-0310-8fa8-9805f1628bb7
2004-12-29 21:20:42 +00:00
ulfl 2e48f1639a Don't use a global capture_opts in the capturing engine (this isn't a good idea). Do some more "housekeeping" in the capturing part.
Hopefully the unspecified forward declaration of capture_options_t in main.h is portable, but buildbot will tell me. This way I need the internals of that struct only at the places I really use it.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12853 f5534014-38df-0310-8fa8-9805f1628bb7
2004-12-29 09:09:35 +00:00
guy 427630f6d4 Move some #defines and #includes around, and add some other #includes,
to make it compile on UN*X.  Get rid of some #includes that don't appear
to be needed, at least on OS X 10.3 (they might be needed on other
platforms).


git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12453 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-30 23:26:47 +00:00
ulfl f3cc4dc4e1 code cleanup: split capture_sync from capture.c into it's own file.
That's the part used, when "Update list of packets in real time" is used while capturing.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12445 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-30 11:44:06 +00:00