aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
AgeCommit message (Collapse)AuthorFilesLines
2012-03-13From Weston Schmidt:Anders Broman3-1/+78
Update packet-mpeg-sect to support CRCs & simpler header processing for subdissectors. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6941 svn path=/trunk/; revision=41523
2012-02-24CVARSDLL hasn't been used (is undefined) for a while....Bill Meier1-1/+1
svn path=/trunk/; revision=41180
2012-02-17Move exec_isdigit_string() and exec_isprint_string() functions out ofStephen Fisher3-0/+54
the exec dissector and into wsutil/str_util.c. Rename them to isdigit_string() and isprint_string(). Also rename the variables they use for consistency: string -> str and position -> pos. svn path=/trunk/; revision=41053
2012-01-29Add *.sbr files to the clean target.Anders Broman1-1/+1
svn path=/trunk/; revision=40763
2012-01-21Sync checkapi target with Makefile.nmake.Michael Tüxen1-1/+2
svn path=/trunk/; revision=40626
2012-01-19fix compile errors found by dumpabi targetBalint Reczey1-1/+1
svn path=/trunk/; revision=40595
2012-01-04More C++ updates.Gerald Combs1-1/+1
svn path=/trunk/; revision=40377
2011-11-11OK, one of them was already declared; we still want to declare the otherGuy Harris1-8/+4
one. svn path=/trunk/; revision=39793
2011-11-11If we're exporting routines from crc32.c, declare them in crc32.h andGuy Harris2-0/+8
list them in libwsutil.def. svn path=/trunk/; revision=39792
2011-11-03From Roland Knall via bug 6539:Stig Bjørlykke7-0/+208
Implementing generic CRC8 and CRC16 functions for openSAFETY in wsutil. svn path=/trunk/; revision=39726
2011-10-03From Michael Mann:Anders Broman4-11/+24
Condense all SCTP CRC routines to wsutil/crc32.[ch]. Also made crc32_ccitt_table not explicitly accessible (must use crc32_ccitt_table_lookup). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6298 svn path=/trunk/; revision=39233
2011-09-21Fix ex "modeline" so it works;Bill Meier1-2/+2
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 svn path=/trunk/; revision=39081
2011-09-13Don't include files from epan in wsutil.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=38989
2011-09-12Move airpcap_wep.c to /wsutil CMakefile changesAnders Broman1-0/+1
svn path=/trunk/; revision=38973
2011-09-12Move airpcap_wep.c to /wsutilAnders Broman5-1/+115
svn path=/trunk/; revision=38969
2011-09-07Add Id tagAnders Broman1-0/+1
svn path=/trunk/; revision=38915
2011-08-31Lookup in correct tables. Document functions.Stig Bjørlykke2-3/+8
svn path=/trunk/; revision=38819
2011-08-31Add the new functions; crc32c_table_lookup and crc32_ccitt_table_lookup.Stig Bjørlykke1-0/+2
svn path=/trunk/; revision=38818
2011-08-31Make lookup functions for accessing crc32c_table and crc32_ccitt_table.Stig Bjørlykke3-8/+16
svn path=/trunk/; revision=38817
2011-08-31Try declaring tables with WS_VAR_IMPORT.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=38814
2011-08-31Add missing crc16_plain_update and crc_drm.Stig Bjørlykke1-0/+6
svn path=/trunk/; revision=38812
2011-08-31Second try to move crc routines to libwsutil.Stig Bjørlykke15-0/+1073
This time keep the tvb routines in epan. Now we can use common crc routines outside epan. svn path=/trunk/; revision=38810
2011-08-30Revert r38800, as the crc routines contains some tvb functions.Stig Bjørlykke17-1434/+0
svn path=/trunk/; revision=38803
2011-08-30Move all crc routines to libwsutil.Stig Bjørlykke17-0/+1434
This way we can use the crc routines in wiretap. svn path=/trunk/; revision=38800
2011-08-17From Gisle Vanem:Stig Bjørlykke1-2/+3
Patch for a missing WINAPI. svn path=/trunk/; revision=38592
2011-08-17From Gisle Vanem: Make sure our SetProcessDEPPolicyHandler typedefGerald Combs1-2/+3
matches the documentation. I also verified that DEP is still enabled on Win32 using Process Explorer. svn path=/trunk/; revision=38583
2011-08-05Attempt to properly fix the missing path information for glib librariesJörg Mayer1-1/+1
svn path=/trunk/; revision=38360
2011-08-05Use GLIB2_LDFLAGS instead of GLIB2_LIBRARIES for wsutil, since itGerald Combs1-1/+1
includes the path to the libraries. Add gthread to wireshark_LIBS if threads are enabled. svn path=/trunk/; revision=38345
2011-07-11More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versionsGerald Combs2-19/+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-06-28Replace all strerror() with g_strerror().Stig Bjørlykke4-85/+0
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
2011-06-06Add links to libtool's recommendations for library versions.Gerald Combs1-0/+1
svn path=/trunk/; revision=37582
2011-06-04Reorganize dumpabi targets to keep temporary filesBalint Reczey1-2/+3
svn path=/trunk/; revision=37540
2011-05-31Fixing wrong library names in r37474Balint Reczey1-2/+2
svn path=/trunk/; revision=37475
2011-05-31Add dumpabi target to Makefiles in wsutil, epan and wiretap directories.Balint Reczey1-0/+10
We can use the dumped ABI description for comparing ABI changes between revisions. svn path=/trunk/; revision=37474
2011-05-25Filter out arg_list_utf_16to8.Gerald Combs1-1/+1
svn path=/trunk/; revision=37396
2011-05-24Move the Windows argument list conversion code to a common routine.Gerald Combs4-1/+30
svn path=/trunk/; revision=37372
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-10ws_stdio_stat got renamed to ws_stdio_stat64.Guy Harris1-1/+1
svn path=/trunk/; revision=36548
2011-04-10Rename ws_stat to ws_stat64, and make it take a pointer to a ws_statb64Guy Harris2-11/+13
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
2011-02-17Squelch a warning from the MSVC++ static analyzer (it's worried thatGuy Harris1-5/+29
GetModuleHandle() could return a null pointer, which is possible, although if it returns one when handed "kernel32.dll", you have bigger problems...). Add some comments. svn path=/trunk/; revision=35972
2011-02-02A bit of Windows makefiles rework and cleanup:Bill Meier1-4/+3
- Define macros for certain CFLAGS in config.nmake iso of having defs in each makefile; a. -DHAVE_CONFIG_H and -D_U_="" are now part of a macro named STANDARD_CFLAGS; b. -WX has been replaced by WARNINGS_ARE_ERRORS (defined as -WX in config.nmake) (This allows disabling "Warnings as Errors" by just changing config.nmake) c. CVARSDLL definitions (not usage) have been removed from the various makefiles. XXX: It appears the usage of CVARSDLL can also be removed (not yet done) since: -DWIN32 and -DNULL=0 do not appear to be needed (any more); -D_MT and _D_DLL are not needed since /MP causes these definitions. d. Define a macro WARNINGS_CFLAGS with additional specific compiler (level4) warnings to be enabled. E.G., 4295: array is too small to include a terminating null character - config.nmake: reformat some long lines for readability; - plugins\Makefile.nmake: clean-deps does nothing: remove it (and usage in top-level makefile); - dissectors/Makefile.nmake: test to enable packet-rrc.obj target needs to include MSVC2010 ... svn path=/trunk/; revision=35747
2011-02-01WIN32 ==> _WIN32Bill Meier2-4/+4
svn path=/trunk/; revision=35745
2010-12-16Update filter for Windows-only symbols.Balint Reczey1-1/+1
svn path=/trunk/; revision=35203
2010-12-16Export only defined symbols from libwsutil.Balint Reczey1-13/+58
Exported symbols are the symbols listed in libwsutil.def, but the symbols defined in not used optional objects are filtered out. svn path=/trunk/; revision=35202
2010-12-07Include stdlib.h for getenv().Jeff Morriss1-0/+1
svn path=/trunk/; revision=35149