summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/ros/packet-ros-template.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/asn1/ros/packet-ros-template.h')
-rw-r--r--epan/dissectors/asn1/ros/packet-ros-template.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/asn1/ros/packet-ros-template.h b/epan/dissectors/asn1/ros/packet-ros-template.h
index 6c499edb..f1a28685 100644
--- a/epan/dissectors/asn1/ros/packet-ros-template.h
+++ b/epan/dissectors/asn1/ros/packet-ros-template.h
@@ -39,28 +39,28 @@
# define err_ros_bind (-2) /* pseudo error code for asn2wrs generated binds */
typedef struct _ros_opr_t {
- gint32 opcode;
+ int32_t opcode;
dissector_t arg_pdu;
dissector_t res_pdu;
} ros_opr_t;
typedef struct _ros_err_t {
- gint32 errcode;
+ int32_t errcode;
dissector_t err_pdu;
} ros_err_t;
typedef struct _ros_info_t {
- const gchar *name;
+ const char *name;
int *proto;
- gint *ett_proto;
+ int *ett_proto;
const value_string *opr_code_strings;
const ros_opr_t *opr_code_dissectors;
const value_string *err_code_strings;
const ros_err_t *err_code_dissectors;
} ros_info_t;
-void register_ros_oid_dissector_handle(const char *oid, dissector_handle_t dissector, int proto _U_, const char *name, gboolean uses_rtse);
-void register_ros_protocol_info(const char *oid, const ros_info_t *rinfo, int proto _U_, const char *name, gboolean uses_rtse);
+void register_ros_oid_dissector_handle(const char *oid, dissector_handle_t dissector, int proto _U_, const char *name, bool uses_rtse);
+void register_ros_protocol_info(const char *oid, const ros_info_t *rinfo, int proto _U_, const char *name, bool uses_rtse);
int call_ros_oid_callback(const char *oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, struct SESSION_DATA_STRUCTURE* session);
#endif /* PACKET_ROS_H */