90d8dfb40916a4dd9851df40b302f20b0de6c058
[ric-app/kpimon.git] / asn1c_defs / all-defs / constr_SEQUENCE.h
1 /*-\r
2  * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.\r
3  * Redistribution and modifications are permitted subject to BSD license.\r
4  */\r
5 #ifndef _CONSTR_SEQUENCE_H_\r
6 #define _CONSTR_SEQUENCE_H_\r
7 \r
8 #include <asn_application.h>\r
9 \r
10 #ifdef __cplusplus\r
11 extern "C" {\r
12 #endif\r
13 \r
14 typedef struct asn_SEQUENCE_specifics_s {\r
15         /*\r
16          * Target structure description.\r
17          */\r
18         unsigned struct_size;   /* Size of the target structure. */\r
19         unsigned ctx_offset;    /* Offset of the asn_struct_ctx_t member */\r
20 \r
21         /*\r
22          * Tags to members mapping table (sorted).\r
23          */\r
24         const asn_TYPE_tag2member_t *tag2el;\r
25         unsigned tag2el_count;\r
26 \r
27         /*\r
28          * Optional members of the extensions root (roms) or additions (aoms).\r
29          * Meaningful for PER.\r
30          */\r
31         const int *oms;         /* Optional MemberS */\r
32         unsigned roms_count;    /* Root optional members count */\r
33         unsigned aoms_count;    /* Additions optional members count */\r
34 \r
35         /*\r
36          * Description of an extensions group.\r
37          * Root components are clustered at the beginning of the structure,\r
38          * whereas extensions are clustered at the end. -1 means not extensible.\r
39          */\r
40         signed first_extension;       /* First extension addition */\r
41 } asn_SEQUENCE_specifics_t;\r
42 \r
43 \r
44 /*\r
45  * A set specialized functions dealing with the SEQUENCE type.\r
46  */\r
47 asn_struct_free_f SEQUENCE_free;\r
48 asn_struct_print_f SEQUENCE_print;\r
49 asn_struct_compare_f SEQUENCE_compare;\r
50 asn_constr_check_f SEQUENCE_constraint;\r
51 ber_type_decoder_f SEQUENCE_decode_ber;\r
52 der_type_encoder_f SEQUENCE_encode_der;\r
53 xer_type_decoder_f SEQUENCE_decode_xer;\r
54 xer_type_encoder_f SEQUENCE_encode_xer;\r
55 oer_type_decoder_f SEQUENCE_decode_oer;\r
56 oer_type_encoder_f SEQUENCE_encode_oer;\r
57 per_type_decoder_f SEQUENCE_decode_uper;\r
58 per_type_encoder_f SEQUENCE_encode_uper;\r
59 per_type_decoder_f SEQUENCE_decode_aper;\r
60 per_type_encoder_f SEQUENCE_encode_aper;\r
61 asn_random_fill_f  SEQUENCE_random_fill;\r
62 extern asn_TYPE_operation_t asn_OP_SEQUENCE;\r
63 \r
64 #ifdef __cplusplus\r
65 }\r
66 #endif\r
67 \r
68 #endif  /* _CONSTR_SEQUENCE_H_ */\r