diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-11-27 16:30:20 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-11-27 16:30:20 +0000 |
commit | 04cdccdb83db2646843bb98a69775b8b37fa50fc (patch) | |
tree | a2abac419e94c4e478b3a868c422c55a8a2568a0 /epan/dissectors/packet-dcerpc-tapi.c | |
parent | d1daa67cabddadee5e30a6e4d12245fb1dbaffbf (diff) |
- Create/use several extended value_strings
(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
Diffstat (limited to 'epan/dissectors/packet-dcerpc-tapi.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-tapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcerpc-tapi.c b/epan/dissectors/packet-dcerpc-tapi.c index a3840c55f0..9f48709bcf 100644 --- a/epan/dissectors/packet-dcerpc-tapi.c +++ b/epan/dissectors/packet-dcerpc-tapi.c @@ -203,8 +203,8 @@ static hf_register_info hf[] = { "Operation", "tapi.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_tapi_rc, { - "Return code", "tapi.rc", FT_UINT32, BASE_HEX, - VALS(NT_errors), 0x0, "TAPI return code", HFILL }}, + "Return code", "tapi.rc", FT_UINT32, BASE_HEX | BASE_EXT_STRING, + &NT_errors_ext, 0x0, "TAPI return code", HFILL }}, { &hf_tapi_hnd, { "Context Handle", "tapi.hnd", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, |