aboutsummaryrefslogtreecommitdiffstats
path: root/capture_ui_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Have the routines to get interface lists take a pointer to a "gchar *"Guy Harris2007-01-211-2/+1
| | | | | | | | | | | | | | | | | | | | as an argument, and, on an error, if they have an error message, have them set that "gchar *" to point to a g_malloc()ed string containing the error message, rather than taking a pointer to a buffer for that message as an argument. That's more like what's done in Wiretap, and doesn't impose an upper limit on the lengths of those error messages. If that pointer is null, don't allocate the message string and return it. Have that error message already have the "cant_get" processing applied to it, so nobody other than those routines need to call the "cant_get" routines to process the error messages. Have get_airpcap_interface_list() explicitly set "*err" to the appropriate error code. Clean up indentation. svn path=/trunk/; revision=20521
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* remove dependencies to pcap.h, so getting an idea what needs to be done by ↵Ulf Lamping2006-02-171-2/+1
| | | | | | | | dumpcap in addition to the things already done now various dumpcap related code cleanup: mainly #include's and capture engine related stuff svn path=/trunk/; revision=17327
* Constify a bunch of arguments and variables, to squelch compilerGuy Harris2005-12-141-2/+2
| | | | | | | | | | | | | | | | | 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". svn path=/trunk/; revision=16791
* make get_if_name() parameter if_text const, it's not changed insideUlf Lamping2005-12-131-1/+1
| | | | svn path=/trunk/; revision=16785
* rename pcap-....c/.h files to capture-pcap-....c/.hUlf Lamping2005-12-061-1/+1
| | | | | | | | this way, the capture prefix will "logically" group the files together and file browsers will also group them we may want to move the files into a subdir capture later svn path=/trunk/; revision=16691
* fix some minor bugs with the current interface name:Ulf Lamping2005-04-191-0/+54
| | | | | | | -always show descriptive string in combo box -correct the initialization, so cancelling the option dialog won't make trouble svn path=/trunk/; revision=14144
* change nmake makefiles in /trunk and /trunk/epan so thatLars Roland2005-02-131-4/+0
| | | | | | | | | | | | object code for libethereal.dll isn't generated by the makefile in /trunk. Having no code in /trunk linked into libethereal.dll anymore, the definition of the macro _NEED_VAR_IMPORT_ can be moved from various source files in /trunk to /trunk/Makefile.nmake . So do that, too. svn path=/trunk/; revision=13389
* Rename capture_combo_utils.{c,h} to capture_ui_utils.{c,h}, as the codeGuy Harris2005-01-161-0/+299
in there is for UI functions including, but not limited to, the combo box in capture dialogs. svn path=/trunk/; revision=13061