aboutsummaryrefslogtreecommitdiffstats
path: root/capture_ui_utils.h
AgeCommit message (Collapse)AuthorFilesLines
2010-03-04In Wireshark and TShark, run dumpcap to get interface lists and lists ofguy1-2/+2
link-layer header types for interfaces; if special privileges are necessary to open capture devices, Wireshark and TShark shouldn't have those privileges, but dumpcap should. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32104 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-02Added an option to set default link-layer header type for each interface.stig1-0/+6
Set linktype history for each interface so we don't mix them. Fixed some indents. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25411 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-18Display the interface comment if defined.stig1-0/+6
On non-win32 also display the interface name. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25114 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-22gcc 4 doesn't like my macro for getting the interface description: it says ↵morriss1-1/+11
there's an invalid lvalue in it. I don't see what's wrong with it, but replace the macro with a function. Also: don't include the .xpm files in gtk/main.c if we're building without PCAP (as they're not used in that configuration). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22588 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-02-17fix a commentulfl1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17325 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-14Constify a bunch of arguments and variables, to squelch compilerguy1-1/+1
warnings. Include "wiretap/libpcap.h" in "capture_loop.h", to get its declarations of data structures for headers in libpcap files. This lets us remove the includes of "wiretap/libpcap.h from files including "capture_loop.h". Make "log_func_ignore()" in "tethereal.c" static, and declare some of its arguments unused. Also get rid of an unused variable. Include <pcap.h> before including "wiretap/wtap-capture.h", to declare "struct pcap_pkthdr". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16791 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-13make get_if_name() parameter if_text const, it's not changed insideulfl1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16785 f5534014-38df-0310-8fa8-9805f1628bb7
2005-04-19fix some minor bugs with the current interface name:ulfl1-4/+12
-always show descriptive string in combo box -correct the initialization, so cancelling the option dialog won't make trouble git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14144 f5534014-38df-0310-8fa8-9805f1628bb7
2005-01-16Rename capture_combo_utils.{c,h} to capture_ui_utils.{c,h}, as the codeguy1-0/+70
in there is for UI functions including, but not limited to, the combo box in capture dialogs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13061 f5534014-38df-0310-8fa8-9805f1628bb7