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 ↵morriss1-0/+2
sent upstream to the Samba developers. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34713 f5534014-38df-0310-8fa8-9805f1628bb7
2009-12-19For fields of type FT_ABSOLUTE_TIME, have the "display" value be one ofguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31319 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-07update the conformance file for winreg to specify that the string for 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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21720 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-07using latest version of pidl, which includes the required pragmas and 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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21717 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-05disable warning 4005 *again*ulfl1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21688 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-03use the latest version of PIDL to regenerate winreg using the new TYPE 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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21669 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-29regenerate the dissectors with an even newer patched version of pidl to add ↵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"; git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21262 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-29regenerate these dissectors using a patched pidl to add some extra pragmas ↵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"; git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21260 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-29update winreg to the latest idlsahlberg1-18/+221
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21256 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-29regenerate winreg using the latest pidl. almost all warnings are now gonesahlberg1-515/+531
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21255 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-27as Gisle Vanem noted that MingW doesn't "like" the #pragmas:ulfl1-1/+1
change #ifdef _WIN32 -> #ifdef _MSC_VER around pragma warnings git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21228 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-27fix the remaining MSVC warnings by setting individual ↵ulfl1-0/+7
#pragma(warning:disable) settings - this is very certainly not the way to go, but the way to prevent additional warnings rushing in ... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21221 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-04add dissection of the WINREG specific bits in the accessmask for WINREG objectssahlberg1-0/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20968 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-25add new PIDL friendly helpers for dissection of integer types.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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20918 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-21regenerate WINREG as a test with the some new PIDL enhancements to show ithe ↵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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20896 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-20add a PIDL specific helper for managing dissection of policy handles.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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20872 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-20changes to comments generated for winreg using the latest svn of pidlsahlberg1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20871 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-19the policy handles created/opened in CreateKey and OpenKey are now called ↵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" git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20857 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-15using the latest SVN of PIDL it is now possible to compile the corrected ↵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) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20816 f5534014-38df-0310-8fa8-9805f1628bb7
2006-11-05testing out latest pidl where PARAM values can be used to track policy ↵sahlberg1-18/+24
handles properly winreg now tracks also where policy handles were closed which previously didnt work properly git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19800 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-24pidl has been updated to use WERR instead of DOS error tables.sahlberg1-36/+36
regenerate some dissectors git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19311 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-21winreg updates resync idl from s4sahlberg1-166/+256
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19276 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-07 pidl now handles empty bitmaps properly so no need for the dummy (dont ↵sahlberg1-11/+2
trigger empty bitmapbug entry) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19170 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-09some updates from new pidlsahlberg1-443/+496
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18408 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-10The Bitmap routine in lib/Parse/Pidl/Ethereal/NDR.pm in Pidl generatesguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16754 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-02regenerate the pidl dissectors with the latest version of pidl so it will ↵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) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16650 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-29prettification and updates to winregsahlberg1-534/+651
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16622 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-16Move the packet-dcerpc-*.[hc] from pidl/ back to dissectors.jmayer1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15835 f5534014-38df-0310-8fa8-9805f1628bb7