diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-11-06 20:47:37 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-11-06 20:47:37 +0000 |
commit | e9c39ae8bec2c3bf09df0ee1b6c8dda01fd42df1 (patch) | |
tree | d6be1ef4820d198a86da8663e376c5706e3fa401 /epan/dissectors/packet-dcerpc-nspi.h | |
parent | e31b724f78b38f09c31c06cbab193dcd9b246f55 (diff) |
convert restrictiontype to be an enum
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19834 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nspi.h')
-rw-r--r-- | epan/dissectors/packet-dcerpc-nspi.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcerpc-nspi.h b/epan/dissectors/packet-dcerpc-nspi.h index b231840d57..3396aa2cd8 100644 --- a/epan/dissectors/packet-dcerpc-nspi.h +++ b/epan/dissectors/packet-dcerpc-nspi.h @@ -3488,6 +3488,19 @@ int nspi_dissect_struct_MAPI_SETTINGS(tvbuff_t *tvb, int offset, packet_info *pi int nspi_dissect_struct_SPropTagArray(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_); int nspi_dissect_struct_instance_key(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_); int nspi_dissect_struct_MAPINAMEID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_); +#define RES_AND (0) +#define RES_OR (1) +#define RES_NOT (2) +#define RES_CONTENT (3) +#define RES_PROPERTY (4) +#define RES_COMPAREPROPS (5) +#define RES_BITMASK (6) +#define RES_SIZE (7) +#define RES_EXIST (8) +#define RES_SUBRESTRICTION (9) +#define RES_COMMENT (10) +extern const value_string nspi_nspi_RestrictionType_vals[]; +int nspi_dissect_enum_RestrictionType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 *param); int nspi_dissect_struct_SPropertyRestriction(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_); int nspi_dissect_struct_SAndRestriction(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_); int nspi_dissect_struct_SRestriction(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_); |