wireshark/asn1/h283/h283.cnf
Pascal Quantin d0ac937567 Revert "Update ASN.1 source files with the API changes done in g021e7af"
This reverts commit e308e7c4de.

Change-Id: I079616d63f643f79f1bc03ef5fdf724f36df4071
Reviewed-on: https://code.wireshark.org/review/2435
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-06-19 18:42:28 +00:00

116 lines
2.6 KiB
INI

# h283.cnf
# H.283 conformation file
# 2007 Tomas Kukosa
#.OPT
PER
ALIGNED
#.END
#.PDU_NEW
LCTPDU
#.END
#.FN_PARS LCTPDU/pduType
VAL_PTR = &pdu_type
#.FN_HDR
gint32 pdu_type = -1;
const gchar *p = NULL;
#.FN_FTR
p = try_val_to_str(pdu_type, VALS(h283_T_pduType_vals));
if (!info_is_set && p ) {
col_set_str(actx->pinfo->cinfo, COL_INFO, p);
info_is_set = TRUE;
}
#.END
#.FN_PARS RDCData/dataType
VAL_PTR = &data_type
#.FN_HDR
gint32 data_type = -1;
const gchar *p = NULL;
#.FN_FTR
p = try_val_to_str(data_type, VALS(h283_T_dataType_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "RDCData/%s", p);
info_is_set = TRUE;
}
#.END
#.FN_PARS LCTMessage
VAL_PTR = &msg_type
#.FN_HDR
gint32 msg_type = -1;
const gchar *p = NULL;
#.FN_FTR
p = try_val_to_str(msg_type, VALS(h283_LCTMessage_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "LCTMessage/%s", p);
info_is_set = TRUE;
}
#.END
#.FN_PARS LCTRequest
VAL_PTR = &msg_type
#.FN_HDR
gint32 msg_type = -1;
const gchar *p = NULL;
#.FN_FTR
p = try_val_to_str(msg_type, VALS(h283_LCTRequest_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "LCTRequest/%s", p);
info_is_set = TRUE;
}
#.END
#.FN_PARS LCTResponse
VAL_PTR = &msg_type
#.FN_HDR
gint32 msg_type = -1;
const gchar *p = NULL;
#.FN_FTR
p = try_val_to_str(msg_type, VALS(h283_LCTResponse_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "LCTResponse/%s", p);
info_is_set = TRUE;
}
#.END
#.FN_PARS LCTIndication
VAL_PTR = &msg_type
#.FN_HDR
gint32 msg_type = -1;
const gchar *p = NULL;
#.FN_FTR
p = try_val_to_str(msg_type, VALS(h283_LCTIndication_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "LCTIndication/%s", p);
info_is_set = TRUE;
}
#.END
#.FN_BODY RDCData/dataType/rdcPDU VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
%(DEFAULT_BODY)s
if (next_tvb && tvb_length(next_tvb)) {
call_dissector((rdc_pdu_handle)?rdc_pdu_handle:data_handle, next_tvb, %(ACTX)s->pinfo, proto_tree_get_root(tree));
}
info_is_set = TRUE;
#.END
#.FN_BODY LCTResponse/deviceListResp VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
%(DEFAULT_BODY)s
if (next_tvb && tvb_length(next_tvb)) {
call_dissector((rdc_device_list_handle)?rdc_device_list_handle:data_handle, next_tvb, %(ACTX)s->pinfo, tree);
}
#.END
#.TYPE_ATTR
RDCData/dataType/rdcPDU TYPE = FT_UINT32 DISPLAY = BASE_DEC
LCTResponse/deviceListResp TYPE = FT_UINT32 DISPLAY = BASE_DEC
#.END