aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/qsig/packet-qsig-template.c
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2007-09-17 13:23:25 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2007-09-17 13:23:25 +0000
commitc50da9f742a6e67be716ce34c3218e6b1d8b5a0e (patch)
treea735a6b0deb65c74ddf505a47744ee481e070fe3 /asn1/qsig/packet-qsig-template.c
parent72af3183ab319a86c636b3a9dbad8df8ad7614e1 (diff)
Support of QSIG Extensions
svn path=/trunk/; revision=22888
Diffstat (limited to 'asn1/qsig/packet-qsig-template.c')
-rw-r--r--asn1/qsig/packet-qsig-template.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/asn1/qsig/packet-qsig-template.c b/asn1/qsig/packet-qsig-template.c
index cd1aeb3c4e..27070df59f 100644
--- a/asn1/qsig/packet-qsig-template.c
+++ b/asn1/qsig/packet-qsig-template.c
@@ -307,6 +307,7 @@ static int *hf_qsig_ie_type_arr[] = {
/* Initialize the subtree pointers */
static gint ett_qsig = -1;
static gint ett_qsig_ie = -1;
+static gint ett_qsig_unknown_extension = -1;
#include "packet-qsig-ett.c"
/* Preferences */
@@ -315,7 +316,10 @@ static gint ett_qsig_ie = -1;
static dissector_handle_t data_handle = NULL;
/* Gloabl variables */
+static const char *extension_oid = NULL;
+/* Dissector tables */
+static dissector_table_t extension_dissector_table;
#include "packet-qsig-fn.c"
@@ -617,6 +621,7 @@ void proto_register_qsig(void) {
static gint *ett[] = {
&ett_qsig,
&ett_qsig_ie,
+ &ett_qsig_unknown_extension,
#include "packet-qsig-ettarr.c"
};
@@ -627,6 +632,8 @@ void proto_register_qsig(void) {
proto_register_field_array(proto_qsig, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+ /* Register dissector tables */
+ extension_dissector_table = register_dissector_table("qsig.ext", "QSIG Extension", FT_STRING, BASE_NONE);
}