aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/rspro/rspro.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/asn1/rspro/rspro.cnf')
-rw-r--r--epan/dissectors/asn1/rspro/rspro.cnf28
1 files changed, 28 insertions, 0 deletions
diff --git a/epan/dissectors/asn1/rspro/rspro.cnf b/epan/dissectors/asn1/rspro/rspro.cnf
new file mode 100644
index 0000000000..60ea648a81
--- /dev/null
+++ b/epan/dissectors/asn1/rspro/rspro.cnf
@@ -0,0 +1,28 @@
+# rspro.cnf
+# rspro conformation file
+# Copyright 2019 Harald Welte
+
+#.OPT
+BER
+#.END
+
+#.MODULE_IMPORT
+
+#.EXPORTS
+
+#.PDU
+RsproPDU
+
+#.NO_EMIT
+
+#.TYPE_RENAME
+
+#.FIELD_RENAME
+
+#.FN_HDR RsproPDUchoice
+ gint choice_index;
+#.FN_BODY RsproPDUchoice VAL_PTR = &choice_index
+ %(DEFAULT_BODY)s
+ col_append_str(actx->pinfo->cinfo, COL_INFO, val_to_str(choice_index, rspro_RsproPDUchoice_vals, "Unknown (%%u)"));
+
+#.END