aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/file_util.h
AgeCommit message (Collapse)AuthorFilesLines
2011-07-11More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versionsGerald Combs1-16/+0
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and reassemble_cleanup() since they were only used for older GLib versions which didn't support GSlices. Assume we always support the "matches" operator. svn path=/trunk/; revision=37978
2011-04-10We have to define ws_statb64 before declaring routines that use it.Guy Harris1-33/+40
svn path=/trunk/; revision=36550
2011-04-10To fill in a ws_statb64, you must use ws_fstat64.Guy Harris1-1/+1
Declare ws_stdio_stat64, as that's its new name. svn path=/trunk/; revision=36549
2011-04-10Rename ws_stat to ws_stat64, and make it take a pointer to a ws_statb64Guy Harris1-8/+10
as an argument, along the lines of ws_fstat64, and, on Windows, make it use _wstati64, to handle 64-bit file sizes. svn path=/trunk/; revision=36547
2011-04-10Define ws_statb64 as struct stat *within* the "not Windows" block.Guy Harris1-1/+1
svn path=/trunk/; revision=36546
2011-04-10Define ws_statb64 to be the appropriate "struct XXX" for aGuy Harris1-0/+10
64-bit-file-size-capable stat call, and use it for ws_fstat64(). svn path=/trunk/; revision=36545
2011-04-10Add ws_fstat64(), defined to be fstat on UN*X and _fstati64 on Windows.Guy Harris1-1/+3
Use it in some places where we're getting the file size. svn path=/trunk/; revision=36544
2011-04-10Use AC_SYS_LARGEFILE to turn on large file support on platforms thatGuy Harris1-10/+10
support it. Rename ws_lseek to ws_lseek64, as it should be given a 64-bit offset, and have it use _lseeki64 on Windows, to try to get 64-bit offset support; AC_SYS_LARGEFILE should cause lseek() to support 64-bit offsets on UN*X if possible. svn path=/trunk/; revision=36542
2010-12-07Move getenv_utf8() to wsutil.Jeff Morriss1-0/+6
svn path=/trunk/; revision=35148
2010-08-27Forward-port r33953.Gerald Combs1-0/+7
Move the SetDllDirectory calls to ws_init_dll_search_path. If SetDllDirectory fails, pass the Wireshark program path to SetCurrentDirectory. svn path=/trunk/; revision=33958
2010-08-25Move Windows-specific material inside an appropriate #ifdef.Gerald Combs1-17/+17
svn path=/trunk/; revision=33925
2010-08-25Add ws_load_library and ws_module_open, which respectively callGerald Combs1-0/+20
LoadLibrary and g_module_open only for the program directory and system directory on Windows. Use them to replace a bunch of LoadLibrary and g_module_open calls. Use the extension ".dll" for all the DLLs that we load. Add comments about DLL loading in Python. svn path=/trunk/; revision=33924
2009-03-06Update a commentBill Meier1-3/+3
svn path=/trunk/; revision=27626
2008-10-27ETH -> WS updates.Gerald Combs1-2/+2
svn path=/trunk/; revision=26570
2008-05-22Move the file utility functions from wiretap to libwsutil so thatJeff Morriss1-0/+126
libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. svn path=/trunk/; revision=25354