path: root/util.c
AgeCommit message (Expand)AuthorFilesLines
2001-11-09Wrap calls to "pcap_datalink()" in a routine that attempts to compensateGuy Harris1-302/+2
2001-10-26Fix the rest of the signed/unsigned comparison warnings.Gilbert Ramirez1-2/+2
2001-08-21On Windows, use the directory in which the binary resides as theGuy Harris1-48/+2
2001-04-02"get_home_dir()", in "epan/filesystem.c", usesGuy Harris1-92/+1
2001-03-22Throw in a cast to squelch a complaint from Visual C++ 6.0.Guy Harris1-2/+2
2001-01-28There's no need for a member of a "capture_file" structure holding aGuy Harris1-1/+3
2000-12-23On Linux, try to open the "any" device and, if we can open it, add it toGuy Harris1-1/+18
2000-10-11Fix it to build on Windows.Guy Harris1-2/+2
2000-09-28More EPAN-related code movements. Get rid of usage of #include "globals.h"Gilbert Ramirez1-77/+1
2000-09-17libpcap unconditionally includes <net/if.h> on UNIX systems, as that is,Guy Harris1-2/+2
2000-09-10Compute and display negative relative and delta time stamps correctly,Guy Harris1-1/+45
2000-09-07Always use "g_free()" to free "ifc.ifc_buf"; it's set to a valueGuy Harris1-2/+2
2000-08-31The interface list will now be get into an dynamic growing buffer and notUwe Girlich1-14/+33
2000-08-11Miscellaneous code cleaningLaurent Deniel1-6/+1
2000-07-31Add a routine to check whether a file is a directory or not.Guy Harris1-1/+46
2000-03-21Paul Welchinski's changes to, on Win32 systems:Guy Harris1-14/+35
2000-03-14On Windows, when getting the user's home directory, don't look at theGuy Harris1-18/+56
2000-02-22In Tethereal, allow capture filters and read filters either to beGuy Harris1-1/+41
2000-02-09Integrate Ed Meaney's <emeaney@altiga.com> changes for using libpcapGilbert Ramirez1-1/+29
2000-01-31Add a semicolon in a win32 block of code.Gilbert Ramirez1-2/+2
2000-01-29Just pass the return value of "getuid()" directly on to "getpwuid()";Guy Harris1-4/+2
2000-01-29Fix #ifndef line whose symbol had been omitted.Guy Harris1-2/+2
2000-01-29Don't put "get_home_dir()" inside #ifdef HAVE_LIBPCAP/#endif.Guy Harris1-10/+26
2000-01-29Remove instances of getenv("HOME") and provide a get_home_dir() functionGilbert Ramirez1-1/+30
2000-01-26In Win32, treat both '/' and '\' as pathname separators.Guy Harris1-8/+16
2000-01-25Provide a "get_dirname()" routine, that takes a pathname and returnsGuy Harris1-8/+54
2000-01-25Encapsulate the code to take a pointer to a pathname and return aGuy Harris1-1/+38
2000-01-16Move the routine to get a list of the network interfaces on the systemGuy Harris1-1/+209
2000-01-15Merge in the final code to make Ethereal run on Win32, compiledGilbert Ramirez1-1/+5
2000-01-10Some initial changes for win32 support, but not all.Gilbert Ramirez1-1/+6
1999-12-09Move the GTK+ implementations of various UI utilities out of "util.c"Guy Harris1-131/+1
1999-11-22A "character encoding" variable is now set per packet. The existenceGilbert Ramirez1-71/+83
1999-10-19Add ASCII/EBCDIC conversion to TCP Follow window. Also add Close buttonGilbert Ramirez1-1/+101
1999-09-24In "try_tempfile()", if the buffer is too short for the temporary fileGuy Harris1-1/+5
1999-09-23Fix the calculation of the temporary file name length inGuy Harris1-2/+2
1999-08-23The Single UNIX Specification doesn't say that "mkstemp()" creates theGuy Harris1-2/+22
1999-08-18Small change to create_tempfile, initializing static vars.Gilbert Ramirez1-7/+8
1999-08-18Make a "create_tempfile()" routine that constructs the template to beGuy Harris1-1/+87
1999-07-09Added the ability to create a read-only ethereal, i.e., one thatGilbert Ramirez1-2/+2
1999-06-12Improve the alert boxes put up for file open/read/write errors. (SomeGuy Harris1-70/+1
1999-04-06Capturing packets from ethereal now saves the capture in an "anonymous" buffe...Gilbert Ramirez1-1/+78
1999-04-05Get rid of include of <strings.h> from "util.c", as it's not needed, andGuy Harris1-2/+1
1999-03-31Move the bitfield-decoding routines to "packet.h", along with otherGuy Harris1-86/+1
1999-03-23Removed all references to gtk objects from packet*.[ch] files. They nowGilbert Ramirez1-2/+4
1999-01-01Added #include <sys/types.h> for compilation under gtk-1.1.11Gilbert Ramirez1-1/+5
1998-12-29* Added Joerg Mayer's Vines patchGerald Combs1-1/+82
1998-12-22Stopped the "TCP Follow" screen from producing an error when usingGilbert Ramirez1-1/+2
1998-10-28* Aligned the icon with the top edge of the dialog.Gerald Combs1-9/+9
1998-10-16* Copied in the correct GNU license (I'm such a goober)Gerald Combs1-5/+23
1998-10-13Squelch a number of "-Wall" errors by:Guy Harris1-1/+10