diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-02-23 20:57:22 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-02-23 20:57:22 +0000 |
commit | 4211d0dba258656a1c47495aa080438332abd9a4 (patch) | |
tree | a7618957318c3e089821169d5637db26a1079712 /epan/dissectors/packet-h248.h | |
parent | 5b9457a1045b08add6fe136867a1e8290e8d5167 (diff) |
fix some bugs introduced in the latest releases and add value_strings for param, evt, sig and stat ids s well as "sub-parameters".
svn path=/trunk/; revision=20908
Diffstat (limited to 'epan/dissectors/packet-h248.h')
-rw-r--r-- | epan/dissectors/packet-h248.h | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/epan/dissectors/packet-h248.h b/epan/dissectors/packet-h248.h index 9f63cdb745..9e7815994c 100644 --- a/epan/dissectors/packet-h248.h +++ b/epan/dissectors/packet-h248.h @@ -208,32 +208,38 @@ typedef struct _h248_pkg_sig_t { guint32 id; int* hfid; gint* ett; - h248_pkg_param_t* parameters; + const h248_pkg_param_t* parameters; + const value_string* param_names; } h248_pkg_sig_t; typedef struct _h248_pkg_evt_t { guint32 id; int* hfid; gint* ett; - h248_pkg_param_t* parameters; + const h248_pkg_param_t* parameters; + const value_string* param_names; } h248_pkg_evt_t; typedef struct _h248_pkg_stat_t { guint32 id; int* hfid; gint* ett; - h248_pkg_param_t* parameters; + const h248_pkg_param_t* parameters; + const value_string* param_names; } h248_pkg_stat_t; typedef struct _h248_package_t { guint32 id; int* hfid; - int* hfid_params; gint* ett; - h248_pkg_param_t* properties; - h248_pkg_sig_t* signals; - h248_pkg_evt_t* events; - h248_pkg_stat_t* statistics; + const value_string* param_names; + const value_string* signal_names; + const value_string* event_names; + const value_string* stats_names; + const h248_pkg_param_t* properties; + const h248_pkg_sig_t* signals; + const h248_pkg_evt_t* events; + const h248_pkg_stat_t* statistics; } h248_package_t; struct _h248_curr_info_t { @@ -242,13 +248,13 @@ struct _h248_curr_info_t { h248_msg_t* msg; h248_term_t* term; h248_cmd_t* cmd; - h248_package_t* pkg; - h248_pkg_evt_t* evt; - h248_pkg_sig_t* sig; - h248_pkg_stat_t* stat; - h248_pkg_param_t* par; + const h248_package_t* pkg; + const h248_pkg_evt_t* evt; + const h248_pkg_sig_t* sig; + const h248_pkg_stat_t* stat; + const h248_pkg_param_t* par; }; -void h248_register_package(h248_package_t*); +void h248_register_package(const h248_package_t*); #endif /* PACKET_H248_H */ |