diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-03-03 02:47:53 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-03-03 10:55:29 +0000 |
commit | 499d95964d0d19bbec7f78d6fe4461eb26c552ca (patch) | |
tree | bf926f264babd15bcbc12456a6985f5fc5969bdb /epan/dissectors/packet-dcom.h | |
parent | a0ce286d8d3aaa5a63f69bb03d15d2d225941169 (diff) |
Eliminate e_uuid_t in favor of e_guid_t.
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>
Diffstat (limited to 'epan/dissectors/packet-dcom.h')
-rw-r--r-- | epan/dissectors/packet-dcom.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-dcom.h b/epan/dissectors/packet-dcom.h index 20865fc990..f4826acdba 100644 --- a/epan/dissectors/packet-dcom.h +++ b/epan/dissectors/packet-dcom.h @@ -63,8 +63,8 @@ typedef struct dcom_interface_s { void *private_data; gint first_packet; - e_uuid_t iid; - e_uuid_t ipid; /* the DCE/RPC Object UUID */ + e_guid_t iid; + e_guid_t ipid; /* the DCE/RPC Object UUID */ } dcom_interface_t; typedef int (*dcom_dissect_fn_t) (tvbuff_t *tvb, gint offset, packet_info *pinfo, @@ -74,19 +74,19 @@ typedef struct dcom_marshaler_s { dcom_object_t *parent; void *private_data; - e_uuid_t uuid; + e_guid_t uuid; dcom_dissect_fn_t routine; } dcom_marshaler_t; -WS_DLL_PUBLIC dcom_interface_t *dcom_interface_new(packet_info *pinfo, const address *addr, e_uuid_t *iid, guint64 oxid, guint64 oid, e_uuid_t *ipid); -WS_DLL_PUBLIC dcom_interface_t *dcom_interface_find(packet_info *pinfo, const address *addr, e_uuid_t *ipid); +WS_DLL_PUBLIC dcom_interface_t *dcom_interface_new(packet_info *pinfo, const address *addr, e_guid_t *iid, guint64 oxid, guint64 oid, e_guid_t *ipid); +WS_DLL_PUBLIC dcom_interface_t *dcom_interface_find(packet_info *pinfo, const address *addr, e_guid_t *ipid); #ifdef DEBUG extern void dcom_interface_dump(void); #endif -extern int dcom_register_rountine(dcom_dissect_fn_t routine, e_uuid_t* uuid); +extern int dcom_register_rountine(dcom_dissect_fn_t routine, e_guid_t* uuid); extern void dcom_register_common_routines_(void); -extern dcom_dissect_fn_t dcom_get_rountine_by_uuid(const e_uuid_t* uuid); +extern dcom_dissect_fn_t dcom_get_rountine_by_uuid(const e_guid_t* uuid); /* the essential DCOM this and that, starting every call */ WS_DLL_PUBLIC int @@ -113,12 +113,12 @@ dissect_dcom_that(tvbuff_t *tvb, int offset, extern int dissect_dcom_UUID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, - int hfindex, e_uuid_t *uuid); + int hfindex, e_guid_t *uuid); extern int dissect_dcom_append_UUID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, - int hfindex, int field_index, e_uuid_t *uuid); + int hfindex, int field_index, e_guid_t *uuid); extern int dissect_dcom_indexed_WORD(tvbuff_t *tvb, int offset, packet_info *pinfo, @@ -179,7 +179,7 @@ dissect_dcom_DUALSTRINGARRAY(tvbuff_t *tvb, gint offset, packet_info *pinfo, extern int dissect_dcom_STDOBJREF(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, - guint64 *oxid, guint64 *oid, e_uuid_t *ipid); + guint64 *oxid, guint64 *oid, e_guid_t *ipid); extern int dissect_dcom_OBJREF(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, dcom_interface_t **interf); |