2 * Copyright (c) 2003 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
5 #include <asn_internal.h>
6 #include <VideotexString.h>
9 * VideotexString basic type description.
11 static const ber_tlv_tag_t asn_DEF_VideotexString_tags[] = {
12 (ASN_TAG_CLASS_UNIVERSAL | (21 << 2)), /* [UNIVERSAL 21] IMPLICIT */
13 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) /* ... OCTET STRING */
15 asn_TYPE_operation_t asn_OP_VideotexString = {
17 OCTET_STRING_print, /* non-ascii string */
19 OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */
20 OCTET_STRING_encode_der,
21 OCTET_STRING_decode_xer_hex,
22 OCTET_STRING_encode_xer,
23 #ifdef ASN_DISABLE_OER_SUPPORT
27 OCTET_STRING_decode_oer,
28 OCTET_STRING_encode_oer,
29 #endif /* ASN_DISABLE_OER_SUPPORT */
30 #ifdef ASN_DISABLE_PER_SUPPORT
36 OCTET_STRING_decode_uper, /* Implemented in terms of OCTET STRING */
37 OCTET_STRING_encode_uper,
38 OCTET_STRING_decode_aper, /* Implemented in terms of OCTET STRING */
39 OCTET_STRING_encode_aper,
40 #endif /* ASN_DISABLE_PER_SUPPORT */
41 OCTET_STRING_random_fill,
42 0 /* Use generic outmost tag fetcher */
44 asn_TYPE_descriptor_t asn_DEF_VideotexString = {
47 &asn_OP_VideotexString,
48 asn_DEF_VideotexString_tags,
49 sizeof(asn_DEF_VideotexString_tags)
50 / sizeof(asn_DEF_VideotexString_tags[0]) - 1,
51 asn_DEF_VideotexString_tags,
52 sizeof(asn_DEF_VideotexString_tags)
53 / sizeof(asn_DEF_VideotexString_tags[0]),
54 { 0, 0, asn_generic_unknown_constraint },
55 0, 0, /* No members */