aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-svcctl.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate e_uuid_t in favor of e_guid_t.Guy Harris2015-03-031-1/+1
| | | | | | | | | | That eliminates a redundant and confusing data type, and avoids issues with one piece of code using e_uuid_t but wanting to use routines expecting an e_guid_t. Change-Id: I95e172d46d342ab40f6254300ecbd2a0530cde60 Reviewed-on: https://code.wireshark.org/review/7506 Reviewed-by: Guy Harris <guy@alum.mit.edu>
* Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier2014-12-211-2/+0
| | | | | | | | | | | | | | | | | | | Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Add editor modelines; Adjust whitespace as needed.Bill Meier2014-10-031-150/+163
| | | | | | Change-Id: I391cdf80a6e4ae5b0f4068e0500a90d013588f8a Reviewed-on: https://code.wireshark.org/review/4442 Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Fix gcc "warning: no previous prototype ... [-Wmissing-prototypes]"; Do some ↵Bill Meier2014-04-211-0/+3
| | | | | | | | | whitespace changes Change-Id: I8c2e8694223270f1810aa6b13d955f0d08001d30 Reviewed-on: https://code.wireshark.org/review/1239 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
* Remove all $Id$ from top of fileAlexis La Goutte2014-03-041-2/+0
| | | | | | | | | | (Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* - Create/use several extended value_stringsBill Meier2013-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (sort associated value_string arrays as needed); - Use new VALUE_STRING_LIST mechanism/macros to create enums and value_string arrays for: WERR_errors, DOS_errors, SRV_errors, and HRD_errors; - Declare certain global value_string arrays as static (local) and use global extended value_strings to reference same; (e.g., ms_coiuntry_codes value_string_array) - Rename SMBE_... defs used in several different value_string arrays to prevent potential name collisions: ( e.g., for SRV_errors: SMBE_... ==> SMBE_SRV_...) Done for value_string arrays: DOS_errors, SRV_errors, HRD_errors; - WERR_errors value_string array: Note that WERR associated defs no longer exist in the latest samba doserr.h. (The WERR_errors defs were originally generated from the samba doserr.h). For now: WERR_errors kept as is. - ToDo: Fix PIDL-generated dcerpc dissectors to use NT_errors_ext and WERR_errors_ext extended value_strings. - Add editor modelines to a few files. - Make whitespace changes. svn path=/trunk/; revision=53614
* Remove pinfo->private_data from DCERPC dissectors and instead have ↵Michael Mann2013-11-061-83/+76
| | | | | | | | | | dcerpc_info* infomation be passed in as a function parameter. Bug 9387 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9387) All "generated" source was manually modified (with the power of search/replace), but I believe the "source input" files have been adjusted (checked into revs 53098 and 53099) to reflect the necessary changes (with possible whitespace formatting differences). The Microsoft compiler doesn't flag "unused function parameters", so I apologize in advance if I may have missed a few. The "dcerpc_info* di" parameter is used in almost every function. svn path=/trunk/; revision=53100
* Remove check_col for all non-generated DCE/RPC dissectors.Michael Mann2013-10-011-2/+1
| | | | svn path=/trunk/; revision=52310
* Convert some dissectors to wmem (leaving uat-like memory with emem for now)Pascal Quantin2013-09-141-5/+5
| | | | svn path=/trunk/; revision=52031
* From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 :Pascal Quantin2013-03-021-5/+5
| | | | | | Remove C++ incompatibilities from most of the dcerpc code svn path=/trunk/; revision=48023
* Comment out unused hf[] entries & etc.Bill Meier2013-01-311-2/+4
| | | | | | (found by checkhf) svn path=/trunk/; revision=47389
* We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss2012-09-201-2/+0
| | | | svn path=/trunk/; revision=45017
* Update Free Software Foundation address.Jakub Zawadzki2012-06-281-1/+1
| | | | | | (COPYING will be updated in next commit) svn path=/trunk/; revision=43536
* (Trivial) Remove trailing whitespace from lines for a few files.Bill Meier2011-09-211-44/+44
| | | | svn path=/trunk/; revision=39084
* From Brett Kuskie:Anders Broman2010-07-061-41/+369
| | | | | | | Enhancement of the dcerpc-svcctl dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4858 svn path=/trunk/; revision=33446
* Changed flags_set_truth -> tfs_set_notsetStig Bjørlykke2009-07-071-6/+6
| | | | svn path=/trunk/; revision=28989
* From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke2009-06-181-1/+1
| | | | | | | | | | | | (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
* rename dcerpc_smb_store_pol_name to dcerpc_store_polhnd_nameRonnie Sahlberg2007-08-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | rename dcerpc_smb_fetch_pol to dcerpc_fetch_polhnd_data and also make it take an additional parameter to return the "type" of the policy handle, if such a type was stored. extend the pol_value structure used to track policy handles to also store a type to represent what created the policy handle types could be USER/ALIAS/CONNECT/... etc handles returned from the SAMR interface add a new helper function dcerpc_store_polhnd_type() track policy handles between request/responses for dcerpc update the samr.cnf file to make the samr dissectors for SetSecurity/QuerySecurity dissect the specific bits for the security descriptor correctly based on whether the policy handle refers to a CONNECT/DOMAIN/USER/ALIAS or GROUP svn path=/trunk/; revision=22703
* Add some GCC warnings to the standard set, and add some others to theGuy Harris2007-04-231-4/+4
| | | | | | | | | | | | | | | --enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526
* add OpenSCManagerWRonnie Sahlberg2006-09-141-30/+116
| | | | | | | | also make the dissector manage that dcv->private_data in the future will be of ep scope svn path=/trunk/; revision=19232
* change a whole bunch of ethereal into wiresharkRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18196
* Move a bunch of stuff that's more Windows-related than SMB-related toGuy Harris2004-08-031-2/+1
| | | | | | "packet-windows-common.[ch]". svn path=/trunk/; revision=11592
* Move dissectors to epan/dissectors directory.Gilbert Ramirez2004-07-181-0/+618
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410