diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-12-10 22:42:19 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-12-10 22:42:19 +0000 |
commit | 46cbfd576a2fcfcac13dc287ff6dfc6b9cdbb65a (patch) | |
tree | c2c2c67dd2bfd23ce472e3e3bd0088ee9b4e9051 /epan/dissectors/pidl/idl_types.h | |
parent | 00777013b54213cf374fec13eacc4c5844158faa (diff) |
The Bitmap routine in lib/Parse/Pidl/Ethereal/NDR.pm in Pidl generates
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
Diffstat (limited to 'epan/dissectors/pidl/idl_types.h')
-rw-r--r-- | epan/dissectors/pidl/idl_types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/pidl/idl_types.h b/epan/dissectors/pidl/idl_types.h index 98a8d1c093..fb149ff4ca 100644 --- a/epan/dissectors/pidl/idl_types.h +++ b/epan/dissectors/pidl/idl_types.h @@ -1,3 +1,7 @@ +/* + * $Id$ + */ + #define STR_ASCII LIBNDR_FLAG_STR_ASCII #define STR_LEN4 LIBNDR_FLAG_STR_LEN4 #define STR_SIZE4 LIBNDR_FLAG_STR_SIZE4 @@ -28,6 +32,11 @@ #define string32 [flag(STR_FIXLEN32)] string /* + UCS-2 string +*/ +#define unistr [string] uint16 + +/* fixed length 16 character ascii string */ #define astring15 [flag(STR_ASCII|STR_FIXLEN15)] string |