wireshark/epan/dissectors/dcerpc
Guy Harris c34b796445 Add a DREP_LITTLE_ENDIAN for the DCE RPC endianness bit in the data
representation.  Use it rather than a raw 0x10.

Add a DREP_ENC_INTEGER() macro that takes a pointer to the data
representation and returns either ENC_LITTLE_ENDIAN or ENC_BIG_ENDIAN;
use it for the encoding argument to proto_tree_add_item(), rather than
just the AND of drep[0] and DREP_LITTLE_ENDIAN, as it's not a boolean
any more, and for string values we'll be supporting character encodings
as well and thus won't be able to trust that the 0x10 bit will mean
"little endian".

Use ENC_NA for some other encoding values, i.e. for FT_BYTES and the
like.

Fix a couple of places in the DCOM dissector where we were passing the
byte-order bit rather than the field value to
proto_tree_add_uint_format().

Clean up white space.

svn path=/trunk/; revision=38128
2011-07-19 23:02:02 +00:00
..
budb Autogenerating epan/dissectors/dcerpc/* now works 2009-10-10 08:10:28 +00:00
butc Add common include file (boiler plate) 2009-10-09 09:34:07 +00:00
drsuapi Add a DREP_LITTLE_ENDIAN for the DCE RPC endianness bit in the data 2011-07-19 23:02:02 +00:00
CMakeLists.txt Set SVN properties 2010-05-14 17:05:50 +00:00
Makefile.am Remove Makefile.in when 'make maintainer-clean'. 2011-06-27 08:02:46 +00:00
Makefile.inc Set SVN properties 2010-05-14 17:05:50 +00:00
idl2wrs.c Make sure some variables are initialized. 2010-06-27 21:47:06 +00:00