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