summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h248.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-h248.h')
-rw-r--r--epan/dissectors/packet-h248.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/epan/dissectors/packet-h248.h b/epan/dissectors/packet-h248.h
index ef7d395e..e6578e42 100644
--- a/epan/dissectors/packet-h248.h
+++ b/epan/dissectors/packet-h248.h
@@ -1,7 +1,7 @@
/* Do not modify this file. Changes will be overwritten. */
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-h248.h */
-/* asn2wrs.py -b -L -p h248 -c ./h248.cnf -s ./packet-h248-template -D . -O ../.. h248v3.asn h248v1support.asn */
+/* asn2wrs.py -b -q -L -p h248 -c ./h248.cnf -s ./packet-h248-template -D . -O ../.. h248v3.asn h248v1support.asn */
/* packet-h248.h
* Definitions for H.248/MEGACO packet dissection
@@ -38,10 +38,10 @@ typedef struct _gcp_hf_ett_t {
} hf;
struct {
- gint ctx;
- gint ctx_cmds;
- gint ctx_terms;
- gint ctx_term;
+ int ctx;
+ int ctx_cmds;
+ int ctx_terms;
+ int ctx_term;
} ett;
} gcp_hf_ett_t;
@@ -85,12 +85,12 @@ typedef enum {
typedef struct _gcp_msg_t {
- guint32 lo_addr;
- guint32 hi_addr;
- guint32 framenum;
+ uint32_t lo_addr;
+ uint32_t hi_addr;
+ uint32_t framenum;
nstime_t frametime;
struct _gcp_trx_msg_t* trxs;
- gboolean committed;
+ bool committed;
} gcp_msg_t;
typedef struct _gcp_trx_msg_t {
@@ -107,12 +107,12 @@ typedef struct _gcp_cmd_msg_t {
typedef struct _gcp_trx_t {
gcp_msg_t* initial;
- guint32 id;
+ uint32_t id;
gcp_trx_type_t type;
- guint pendings;
+ unsigned pendings;
struct _gcp_cmd_msg_t* cmds;
struct _gcp_trx_ctx_t* ctxs;
- guint error;
+ unsigned error;
} gcp_trx_t;
#define GCP_TERM_TYPE_UNKNOWN 0
@@ -129,14 +129,14 @@ typedef enum _gcp_wildcard_t {
} gcp_wildcard_t;
typedef struct _gcp_term_t {
- const gchar* str;
+ const char* str;
- const guint8* buffer;
- guint len;
+ const uint8_t* buffer;
+ unsigned len;
- guint type;
- gchar* bir;
- gchar* nsap;
+ unsigned type;
+ char* bir;
+ char* nsap;
gcp_msg_t* start;
@@ -149,30 +149,30 @@ typedef struct _gcp_terms_t {
} gcp_terms_t;
typedef struct _gcp_cmd_t {
- guint offset;
- const gchar* str;
+ unsigned offset;
+ const char* str;
gcp_cmd_type_t type;
gcp_terms_t terms;
struct _gcp_msg_t* msg;
struct _gcp_trx_t* trx;
struct _gcp_ctx_t* ctx;
- guint error;
+ unsigned error;
} gcp_cmd_t;
typedef struct _gcp_ctx_t {
gcp_msg_t* initial;
- guint32 id;
+ uint32_t id;
struct _gcp_cmd_msg_t* cmds;
struct _gcp_ctx_t* prev;
gcp_terms_t terms;
} gcp_ctx_t;
-extern gcp_msg_t* gcp_msg(packet_info* pinfo, int o, gboolean persistent);
-extern gcp_trx_t* gcp_trx(gcp_msg_t* m ,guint32 t_id , gcp_trx_type_t type, packet_info *pinfo, gboolean persistent);
-extern gcp_ctx_t* gcp_ctx(gcp_msg_t* m, gcp_trx_t* t, guint32 c_id, packet_info *pinfo, gboolean persistent);
-extern gcp_cmd_t* gcp_cmd(gcp_msg_t* m, gcp_trx_t* t, gcp_ctx_t* c, gcp_cmd_type_t type, guint offset, packet_info *pinfo, gboolean persistent);
-extern gcp_term_t* gcp_cmd_add_term(gcp_msg_t* m, gcp_trx_t* tr, gcp_cmd_t* c, gcp_term_t* t, gcp_wildcard_t wildcard, packet_info *pinfo, gboolean persistent);
+extern gcp_msg_t* gcp_msg(packet_info* pinfo, int o, bool persistent);
+extern gcp_trx_t* gcp_trx(gcp_msg_t* m ,uint32_t t_id , gcp_trx_type_t type, packet_info *pinfo, bool persistent);
+extern gcp_ctx_t* gcp_ctx(gcp_msg_t* m, gcp_trx_t* t, uint32_t c_id, packet_info *pinfo, bool persistent);
+extern gcp_cmd_t* gcp_cmd(gcp_msg_t* m, gcp_trx_t* t, gcp_ctx_t* c, gcp_cmd_type_t type, unsigned offset, packet_info *pinfo, bool persistent);
+extern gcp_term_t* gcp_cmd_add_term(gcp_msg_t* m, gcp_trx_t* tr, gcp_cmd_t* c, gcp_term_t* t, gcp_wildcard_t wildcard, packet_info *pinfo, bool persistent);
extern void gcp_analyze_msg(proto_tree* gcp_tree, packet_info* pinfo, tvbuff_t* gcp_tvb, gcp_msg_t* m, gcp_hf_ett_t* ids, expert_field* command_err);
#define GCP_ETT_ARR_ELEMS(gi) &(gi.ett.ctx),&(gi.ett.ctx_cmds),&(gi.ett.ctx_terms),&(gi.ett.ctx_term)
@@ -188,7 +188,7 @@ extern void gcp_analyze_msg(proto_tree* gcp_tree, packet_info* pinfo, tvbuff_t*
WS_DLL_PUBLIC const value_string gcp_cmd_type[];
WS_DLL_PUBLIC const value_string gcp_term_types[];
-extern const gchar* gcp_msg_to_str(gcp_msg_t* m, wmem_allocator_t *scope, gboolean persistent);
+extern const char* gcp_msg_to_str(gcp_msg_t* m, wmem_allocator_t *scope, bool persistent);
#define gcp_cmd_set_error(c,e) (c->error = e)
#define gcp_trx_set_error(t,e) (t->error = e)
@@ -216,40 +216,40 @@ typedef enum {
} pkg_reg_action;
typedef struct _h248_pkg_param_t {
- guint32 id;
+ uint32_t id;
int* hfid;
h248_pkg_param_dissector_t dissector;
void* data;
} h248_pkg_param_t;
typedef struct _h248_pkg_sig_t {
- guint32 id;
+ uint32_t id;
int* hfid;
- gint* ett;
+ int* ett;
const h248_pkg_param_t* parameters;
const value_string* param_names;
} h248_pkg_sig_t;
typedef struct _h248_pkg_evt_t {
- guint32 id;
+ uint32_t id;
int* hfid;
- gint* ett;
+ int* ett;
const h248_pkg_param_t* parameters;
const value_string* param_names;
} h248_pkg_evt_t;
typedef struct _h248_pkg_stat_t {
- guint32 id;
+ uint32_t id;
int* hfid;
- gint* ett;
+ int* ett;
const h248_pkg_param_t* parameters;
const value_string* param_names;
} h248_pkg_stat_t;
typedef struct _h248_package_t {
- guint32 id; /**< Package ID */
+ uint32_t id; /**< Package ID */
int* hfid; /**< hfid that will display the package name */
- gint* ett; /**< The ett for this item */
+ int* ett; /**< The ett for this item */
const value_string* param_names; /**< The parameter names, Value 00000 should be the package name */
const value_string* signal_names;
const value_string* event_names;
@@ -262,7 +262,7 @@ typedef struct _h248_package_t {
typedef struct _save_h248_package_t {
h248_package_t *pkg;
- gboolean is_default;
+ bool is_default;
} s_h248_package_t;
struct _h248_curr_info_t {
@@ -279,8 +279,8 @@ struct _h248_curr_info_t {
};
typedef struct h248_term_info {
- guint8 wild_card;
- gchar *str;
+ uint8_t wild_card;
+ char *str;
} h248_term_info_t;
WS_DLL_PUBLIC