blob: 805be087bd1c09a0750009f5715c60646426ce30 [file] [log] [blame]
Lev Walkin414b0782005-08-13 23:30:24 +00001
2/*** <<< INCLUDES [T] >>> ***/
3
4#include <INTEGER.h>
5
6/*** <<< DEPS [T] >>> ***/
7
8typedef enum T {
9 T_a = 1,
10 T_b = 2
Lev Walkin171487e2006-03-21 07:25:18 +000011} e_T;
Lev Walkin414b0782005-08-13 23:30:24 +000012
13/*** <<< TYPE-DECLS [T] >>> ***/
14
15typedef INTEGER_t T_t;
16
17/*** <<< FUNC-DECLS [T] >>> ***/
18
19extern asn_TYPE_descriptor_t asn_DEF_T;
20asn_struct_free_f T_free;
21asn_struct_print_f T_print;
22asn_constr_check_f T_constraint;
23ber_type_decoder_f T_decode_ber;
24der_type_encoder_f T_encode_der;
25xer_type_decoder_f T_decode_xer;
26xer_type_encoder_f T_encode_xer;
27
28/*** <<< CODE [T] >>> ***/
29
Lev Walkin414b0782005-08-13 23:30:24 +000030/*
31 * This type is implemented using INTEGER,
32 * so here we adjust the DEF accordingly.
33 */
Lev Walkin414b0782005-08-13 23:30:24 +000034
35/*** <<< STAT-DEFS [T] >>> ***/
36
Lev Walkina7591b52014-10-12 18:37:35 -070037static const ber_tlv_tag_t asn_DEF_T_tags_1[] = {
Lev Walkin414b0782005-08-13 23:30:24 +000038 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
39};
40asn_TYPE_descriptor_t asn_DEF_T = {
41 "T",
42 "T",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080043 &asn_OP_INTEGER,
Lev Walkin59b176e2005-11-26 11:25:14 +000044 asn_DEF_T_tags_1,
45 sizeof(asn_DEF_T_tags_1)
46 /sizeof(asn_DEF_T_tags_1[0]), /* 1 */
47 asn_DEF_T_tags_1, /* Same as above */
48 sizeof(asn_DEF_T_tags_1)
49 /sizeof(asn_DEF_T_tags_1[0]), /* 1 */
Lev Walkin0bfea562017-09-29 23:16:48 -070050 { 0, 0, INTEGER_constraint },
Lev Walkin414b0782005-08-13 23:30:24 +000051 0, 0, /* Defined elsewhere */
52 0 /* No specifics */
53};
54