diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-11-06 20:47:37 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-11-06 20:47:37 +0000 |
commit | b84d4702062c0afb9d33e79cb7abb8fe697a803f (patch) | |
tree | d6be1ef4820d198a86da8663e376c5706e3fa401 /epan/dissectors/packet-dcerpc-nspi.h | |
parent | 6b45c9b92b408ae59bb85247d3f5bd09465b3746 (diff) |
convert restrictiontype to be an enum
svn path=/trunk/; revision=19834
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_); |