aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
AgeCommit message (Expand)AuthorFilesLines
2011-05-17Make some routines static that aren't used outside the source file inguy1-1/+1
2011-01-10Simplified a #ifdef __WIN32.stig1-4/+2
2010-12-16Only call GetSystemMetrics(SM_REMOTESESSION) if running on MS Windows. sfisher1-0/+4
2010-12-16Simplify our Remote Desktop session detection.gerald1-15/+8
2010-06-28From Jan Šafránek via bug 4945:stig1-4/+28
2010-03-11Squelch some compiler warnings.guy1-2/+2
2009-04-16Fix the last(?) of the Win64 compilation problems.gerald1-1/+1
2008-08-09Fix a typo in a comment.stig1-1/+1
2008-06-23Rename a variable to avoid collisions with a global variable, as notedguy1-3/+3
2008-05-07Fix some of the Errors/warnings detected by checkapi.etxrab1-5/+5
2008-04-09Remove:etxrab1-4/+0
2008-04-07Fix get_conn_cfilter() such that not an invalid capture filtertuexen1-1/+4
2008-04-07- Remove GLIB1 codesfisher1-1/+0
2008-03-02Rewrote to use g_strlcpy and g_strlcat.stig1-2/+3
2008-02-03More rewrite of prohibited APIs (sprintf, strcpy, strcat).stig1-3/+3
2007-11-28some more path fixes for g_ascii_strcasecmp.hsahlberg1-1/+1
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaguy1-4/+8
2007-02-13From Sebastien Tandel:sfisher1-0/+1
2007-01-24When parsing DISPLAY, mirror what __X11TransConnectDisplay() does - andguy1-17/+141
2006-09-15Use SESSIONNAME instead of CLIENTNAME to try to detect RDP sessions.gerald1-4/+16
2006-05-21name changesahlberg1-2/+2
2006-02-12Move create_tempfile() to tempfile.c out of util.c. This means dumpcapguy1-121/+0
2005-12-16If "CLIENTNAME" is set (which indicates that we're using RDP) usegerald1-4/+2
2005-12-07Clear up const vs. non-const warnings.guy1-1/+1
2005-11-07as mkstemp makes trouble and is only used once in util.c, move definition fro...ulfl1-0/+9
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is nec...ulfl1-16/+3
2005-08-08various code cleanup:ulfl1-5/+1
2005-08-06"setup_tmpdir()" either returns the const string passed to it, or itguy1-7/+7
2005-08-06Last set of char -> const char trivial warning fixes.jmayer1-2/+2
2004-12-30Add a "get_addr_name()" routine that takes an "address *" and attemptsguy1-0/+1
2004-09-11Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;guy1-3/+3
2004-09-10Move the base-64 routines to "epan/base64.c".guy1-33/+0
2004-09-10Move the stuff to handle ASCII <-> EBCDIC conversions toguy1-113/+0
2004-08-06From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that anguy1-1/+1
2004-07-18Set the svn:eol-style property on all text files to "native", so thatguy1-1/+1
2004-06-25Fix automagically generated filters in case of remote login via IPv6.jmayer1-10/+12
2004-05-22Fix the other place where we construct temporary path names to useguy1-4/+4
2004-05-10As noted by Thomas Anders, the Heimdal libroken library has a base64_decode()obiot1-2/+2
2004-03-12Don't automatically set a capture filter if DISPLAY or REMOTEHOST aregerald1-5/+12
2004-02-07Use G_DIR_SEPARATOR_S rather than "/" as the pathname separator whenguy1-2/+2
2004-01-11Rename DISSECTOR_HELPER_{SRC,OBJECTS} toguy1-302/+1
2003-12-21removed some MSVC warnings (moved pcap.h before glib.h)ulfl1-5/+5
2003-12-06From Olivier Biotgram1-1/+35
2003-12-01Don't automatically fill in a capture filter if CLIENTNAME is set togerald1-3/+5
2003-11-18Check the environment variables SSH_CONNECTION, SSH_CLIENT, REMOTEHOST,gerald1-1/+50
2003-11-02From Gisle Vanem:gerald1-8/+8
2003-10-31Include <windows.h> so that OSVERSIONINFO and the like are defined onguy1-1/+11
2003-10-10Get the version number of the libpcap/WinPcap with which we're runningguy1-46/+5
2003-08-18From Gisle Vanem: MingW declares "rint()" in <math.h> and defines it inguy1-2/+4
2003-07-11From smhuang [AT] pcs.csie.nctu.edu.tw: fix a "g_string_append()" call.guy1-2/+2