aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-winreg.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-30Add an SVN Id to these PIDL-generated dissectors. A patch to PIDL will be ↵Jeff Morriss1-0/+2
sent upstream to the Samba developers. svn path=/trunk/; revision=34713
2009-12-19For fields of type FT_ABSOLUTE_TIME, have the "display" value be one ofGuy Harris1-2/+2
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL == (int)BASE_NONE, so there's no source or binary compatiblity issue, although we might want to eliminate BASE_NONE at some point and have the BASE_ values used with integral types start at 0, so that you can't specify BASE_NONE for an integral field. svn path=/trunk/; revision=31319
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-112/+112
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2007-05-07update the conformance file for winreg to specify that the string for Ronnie Sahlberg1-1/+1
OpenKey keynames should be saved/stored in the dcv structure. this now makes all policy handles generated by the OpenKey function show OpenKey(/path/keyname) for all such policyhandles svn path=/trunk/; revision=21720
2007-05-07using latest version of pidl, which includes the required pragmas and Ronnie Sahlberg1-7/+10
which also handles TYPE and PARAM_VALUE for strings, regenerate winreg after using hte conformance file to prettify how and where strings are to be used to decorate the summary line and the dissection tree svn path=/trunk/; revision=21717
2007-05-05disable warning 4005 *again*Ulf Lamping1-0/+4
svn path=/trunk/; revision=21688
2007-05-03use the latest version of PIDL to regenerate winreg using the new TYPE Ronnie Sahlberg1-320/+345
conformance file directive to replace winreg_String with our own code. PARAM_VALUE does not yet work for this however which needs to looked into svn path=/trunk/; revision=21669
2007-03-29regenerate the dissectors with an even newer patched version of pidl to add ↵Ronnie Sahlberg1-0/+2
two more pragmas you need this patch ontop of svn pidl to regenerate the files : Index: lib/Parse/Pidl/Wireshark/NDR.pm =================================================================== --- lib/Parse/Pidl/Wireshark/NDR.pm (revision 22005) +++ lib/Parse/Pidl/Wireshark/NDR.pm (working copy) @@ -916,6 +916,14 @@ $res{headers} .= "#ifdef HAVE_CONFIG_H\n"; $res{headers} .= "#include \"config.h\"\n"; $res{headers} .= "#endif\n\n"; + + $res{headers} .= "#ifdef _MSC_VER\n"; + $res{headers} .= "#pragma warning(disable:4005)\n"; + $res{headers} .= "#pragma warning(disable:4013)\n"; + $res{headers} .= "#pragma warning(disable:4018)\n"; + $res{headers} .= "#pragma warning(disable:4101)\n"; + $res{headers} .= "#endif\n\n"; + $res{headers} .= "#include <glib.h>\n"; $res{headers} .= "#include <string.h>\n"; $res{headers} .= "#include <epan/packet.h>\n\n"; svn path=/trunk/; revision=21262
2007-03-29regenerate these dissectors using a patched pidl to add some extra pragmas ↵Ronnie Sahlberg1-0/+5
to keep ms compilers happy the pidl patch required : Index: lib/Parse/Pidl/Wireshark/NDR.pm =================================================================== --- lib/Parse/Pidl/Wireshark/NDR.pm (revision 22005) +++ lib/Parse/Pidl/Wireshark/NDR.pm (working copy) @@ -916,6 +916,14 @@ $res{headers} .= "#ifdef HAVE_CONFIG_H\n"; $res{headers} .= "#include \"config.h\"\n"; $res{headers} .= "#endif\n\n"; + + $res{headers} .= "#ifdef _MSC_VER\n"; + $res{headers} .= "#pragma warning(disable:4005)\n"; + $res{headers} .= "#pragma warning(disable:4013)\n"; + $res{headers} .= "#endif\n\n"; + + + $res{headers} .= "#include <glib.h>\n"; $res{headers} .= "#include <string.h>\n"; $res{headers} .= "#include <epan/packet.h>\n\n"; svn path=/trunk/; revision=21260
2007-03-29update winreg to the latest idlRonnie Sahlberg1-18/+221
svn path=/trunk/; revision=21256
2007-03-29regenerate winreg using the latest pidl. almost all warnings are now goneRonnie Sahlberg1-515/+531
svn path=/trunk/; revision=21255
2007-03-27as Gisle Vanem noted that MingW doesn't "like" the #pragmas:Ulf Lamping1-1/+1
change #ifdef _WIN32 -> #ifdef _MSC_VER around pragma warnings svn path=/trunk/; revision=21228
2007-03-27fix the remaining MSVC warnings by setting individual ↵Ulf Lamping1-0/+7
#pragma(warning:disable) settings - this is very certainly not the way to go, but the way to prevent additional warnings rushing in ... svn path=/trunk/; revision=21221
2007-03-04add dissection of the WINREG specific bits in the accessmask for WINREG objectsRonnie Sahlberg1-0/+8
svn path=/trunk/; revision=20968
2007-02-25add new PIDL friendly helpers for dissection of integer types.Ronnie Sahlberg1-57/+57
these new helpers take a parameter that can be used to decorate the tree and summary line (when this parameter is acted upon/implemented in the code inside the helpers) WINREG was regenerated using a patched version of PIDL. Mainline version of PIDL does not yet have this patch applied. svn path=/trunk/; revision=20918
2007-02-21regenerate WINREG as a test with the some new PIDL enhancements to show ithe ↵Ronnie Sahlberg1-73/+143
name of the iprocedure a policy handle was created in. also fix some mistakes in the conformance file for when handles are opened/created svn path=/trunk/; revision=20896
2007-02-20add a PIDL specific helper for managing dissection of policy handles.Ronnie Sahlberg1-28/+28
let this helper take a parameter to describe how the policy handle should be managed (is this an open, close ?) to improve policy handle tracking. (centralizing to a single function of code makes other changes easier) create defines to indicate OPEN/CLOSE and use them as a start/test in the winreg conformance file. svn path=/trunk/; revision=20872
2007-02-20changes to comments generated for winreg using the latest svn of pidlRonnie Sahlberg1-16/+24
pidl will probably be in flux for a short while and this checkin is to reduce the some noice generated to winreg while other changes are implemented. this change only affects c-code comments in the pidl generated code svn path=/trunk/; revision=20871
2007-02-19the policy handles created/opened in CreateKey and OpenKey are now called ↵Ronnie Sahlberg1-3/+3
"handle" and not "new_handle" update the conformance file so the correct functions are loaded with the correct PARAM value to signal "in this frame, this policy handle was created" svn path=/trunk/; revision=20857
2007-02-15using the latest SVN of PIDL it is now possible to compile the corrected ↵Ronnie Sahlberg1-25/+76
WINREG.IDL where QueryInfoKey responses are parsed correctly. (since we do not yet use all of the various idl files from s4 i commented out the import directove from the idl file since othervise it would generate #include directives for files we do not yet provide) svn path=/trunk/; revision=20816
2006-11-05testing out latest pidl where PARAM values can be used to track policy ↵Ronnie Sahlberg1-18/+24
handles properly winreg now tracks also where policy handles were closed which previously didnt work properly svn path=/trunk/; revision=19800
2006-09-24pidl has been updated to use WERR instead of DOS error tables.Ronnie Sahlberg1-36/+36
regenerate some dissectors svn path=/trunk/; revision=19311
2006-09-21winreg updates resync idl from s4Ronnie Sahlberg1-166/+256
svn path=/trunk/; revision=19276
2006-09-07 pidl now handles empty bitmaps properly so no need for the dummy (dont ↵Ronnie Sahlberg1-11/+2
trigger empty bitmapbug entry) svn path=/trunk/; revision=19170
2006-06-09some updates from new pidlRonnie Sahlberg1-443/+496
svn path=/trunk/; revision=18408
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-12-10The Bitmap routine in lib/Parse/Pidl/Ethereal/NDR.pm in Pidl generatesGuy Harris1-261/+261
fields as BASE_DEC; bitmaps are typically displayed in hex in Ethereal, so it should generate BASE_HEX instead. (Submitted to bugzilla.samba.org as bug 3313.) A couple of the IDL files use "unistr"; define it as "[string] uint16", so that the resulting dissectors work correctly. Regenerate dissectors. svn path=/trunk/; revision=16754
2005-12-02regenerate the pidl dissectors with the latest version of pidl so it will ↵Ronnie Sahlberg1-1/+1
put the text representation of DOS errors in the decode as well. (the hf field for doserrors did not come with the value_string) svn path=/trunk/; revision=16650
2005-11-29prettification and updates to winregRonnie Sahlberg1-534/+651
svn path=/trunk/; revision=16622
2005-09-16Move the packet-dcerpc-*.[hc] from pidl/ back to dissectors.Jörg Mayer1-0/+3588
This makes Ethereal build again - there's no real reason that ethereal fails to build for such a long time on so many platforms. svn path=/trunk/; revision=15835