diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-03-07 16:47:53 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-03-07 15:57:04 +0000 |
commit | 6c831d6160e6448b3b498ee348fd53271445bfdc (patch) | |
tree | 2c5af9e114fa8400857eece1ac232f8d84eb6fc5 | |
parent | a6809ce9aa55ed593a292ff1713d9f826b10d2f0 (diff) |
Fix indent (use tabs) and modelines info
(Need to continue on other packet-dcerpc-* file...)
Change-Id: I536d52017940cac9c810693045649a67e77a336a
Reviewed-on: https://code.wireshark.org/review/549
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
-rw-r--r-- | epan/dissectors/packet-dcerpc-tapi.c | 47 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-trksvr.c | 43 |
2 files changed, 58 insertions, 32 deletions
diff --git a/epan/dissectors/packet-dcerpc-tapi.c b/epan/dissectors/packet-dcerpc-tapi.c index 6b826d01e1..749ebe0069 100644 --- a/epan/dissectors/packet-dcerpc-tapi.c +++ b/epan/dissectors/packet-dcerpc-tapi.c @@ -51,8 +51,8 @@ static gint ett_dcerpc_tapi = -1; IDL { */ static e_uuid_t uuid_dcerpc_tapi = { - 0x2f5f6520, 0xca46, 0x1067, - { 0xb3, 0x19, 0x00, 0xdd, 0x01, 0x06, 0x62, 0xda } + 0x2f5f6520, 0xca46, 0x1067, + { 0xb3, 0x19, 0x00, 0xdd, 0x01, 0x06, 0x62, 0xda } }; static guint16 ver_dcerpc_tapi = 1; @@ -180,17 +180,17 @@ dissect_tapi_client_detach_reply(tvbuff_t *tvb _U_, int offset _U_, IDL } */ static dcerpc_sub_dissector dcerpc_tapi_dissectors[] = { - { TAPI_CLIENT_ATTACH, "ClientAttach", + { TAPI_CLIENT_ATTACH, "ClientAttach", dissect_tapi_client_attach_rqst, dissect_tapi_client_attach_reply }, - { TAPI_CLIENT_REQUEST, "ClientRequest", + { TAPI_CLIENT_REQUEST, "ClientRequest", dissect_tapi_client_request_rqst, dissect_tapi_client_request_reply }, - { TAPI_CLIENT_DETACH, "ClientDetach", + { TAPI_CLIENT_DETACH, "ClientDetach", dissect_tapi_client_detach_rqst, dissect_tapi_client_detach_reply }, - {0, NULL, NULL, NULL } + {0, NULL, NULL, NULL } }; void @@ -217,25 +217,38 @@ static hf_register_info hf[] = { NULL, 0x0, "Unknown bytes. If you know what this is, contact wireshark developers.", HFILL }} }; - static gint *ett[] = { - &ett_dcerpc_tapi - }; + static gint *ett[] = { + &ett_dcerpc_tapi + }; - proto_dcerpc_tapi = proto_register_protocol( - "Microsoft Telephony API Service", "TAPI", "tapi"); + proto_dcerpc_tapi = proto_register_protocol( + "Microsoft Telephony API Service", "TAPI", "tapi"); - proto_register_field_array(proto_dcerpc_tapi, hf, + proto_register_field_array(proto_dcerpc_tapi, hf, array_length(hf)); - proto_register_subtree_array(ett, array_length(ett)); + proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_dcerpc_tapi(void) { - /* Register protocol as dcerpc */ + /* Register protocol as dcerpc */ - dcerpc_init_uuid(proto_dcerpc_tapi, ett_dcerpc_tapi, - &uuid_dcerpc_tapi, ver_dcerpc_tapi, - dcerpc_tapi_dissectors, hf_tapi_opnum); + dcerpc_init_uuid(proto_dcerpc_tapi, ett_dcerpc_tapi, + &uuid_dcerpc_tapi, ver_dcerpc_tapi, + dcerpc_tapi_dissectors, hf_tapi_opnum); } + +/* + * Editor modelines + * + * Local Variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * ex: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ diff --git a/epan/dissectors/packet-dcerpc-trksvr.c b/epan/dissectors/packet-dcerpc-trksvr.c index 3ce043052f..d1d14ae128 100644 --- a/epan/dissectors/packet-dcerpc-trksvr.c +++ b/epan/dissectors/packet-dcerpc-trksvr.c @@ -46,17 +46,17 @@ static gint ett_dcerpc_trksvr = -1; IDL { */ static e_uuid_t uuid_dcerpc_trksvr = { - 0x4da1c422, 0x943d, 0x11d1, - { 0xac, 0xae, 0x00, 0xc0, 0x4f, 0xc2, 0xaa, 0x3f } + 0x4da1c422, 0x943d, 0x11d1, + { 0xac, 0xae, 0x00, 0xc0, 0x4f, 0xc2, 0xaa, 0x3f } }; static guint16 ver_dcerpc_trksvr = 1; static dcerpc_sub_dissector dcerpc_trksvr_dissectors[] = { - { 0, "LnkSvrMessage", + { 0, "LnkSvrMessage", NULL, NULL }, - {0, NULL, NULL, NULL } + {0, NULL, NULL, NULL } }; void @@ -73,25 +73,38 @@ static hf_register_info hf[] = { #endif }; - static gint *ett[] = { - &ett_dcerpc_trksvr - }; + static gint *ett[] = { + &ett_dcerpc_trksvr + }; - proto_dcerpc_trksvr = proto_register_protocol( - "Microsoft Distributed Link Tracking Server Service", "TRKSVR", "trksvr"); + proto_dcerpc_trksvr = proto_register_protocol( + "Microsoft Distributed Link Tracking Server Service", "TRKSVR", "trksvr"); - proto_register_field_array(proto_dcerpc_trksvr, hf, + proto_register_field_array(proto_dcerpc_trksvr, hf, array_length(hf)); - proto_register_subtree_array(ett, array_length(ett)); + proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_dcerpc_trksvr(void) { - /* Register protocol as dcerpc */ + /* Register protocol as dcerpc */ - dcerpc_init_uuid(proto_dcerpc_trksvr, ett_dcerpc_trksvr, - &uuid_dcerpc_trksvr, ver_dcerpc_trksvr, - dcerpc_trksvr_dissectors, hf_trksvr_opnum); + dcerpc_init_uuid(proto_dcerpc_trksvr, ett_dcerpc_trksvr, + &uuid_dcerpc_trksvr, ver_dcerpc_trksvr, + dcerpc_trksvr_dissectors, hf_trksvr_opnum); } + +/* + * Editor modelines + * + * Local Variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * ex: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ |