Moving in e2sim originally from it/test/simulators
[sim/e2-interface.git] / e2sim / ASN1c / constr_SET_OF.h
1 /*****************************************************************************
2 #                                                                            *
3 # Copyright 2019 AT&T Intellectual Property                                  *
4 #                                                                            *
5 # Licensed under the Apache License, Version 2.0 (the "License");            *
6 # you may not use this file except in compliance with the License.           *
7 # You may obtain a copy of the License at                                    *
8 #                                                                            *
9 #      http://www.apache.org/licenses/LICENSE-2.0                            *
10 #                                                                            *
11 # Unless required by applicable law or agreed to in writing, software        *
12 # distributed under the License is distributed on an "AS IS" BASIS,          *
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
14 # See the License for the specific language governing permissions and        *
15 # limitations under the License.                                             *
16 #                                                                            *
17 ******************************************************************************/
18
19 /*-
20  * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
21  * Redistribution and modifications are permitted subject to BSD license.
22  */
23 #ifndef CONSTR_SET_OF_H
24 #define CONSTR_SET_OF_H
25
26 #include <asn_application.h>
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 typedef struct asn_SET_OF_specifics_s {
33     /*
34      * Target structure description.
35      */
36     unsigned struct_size;       /* Size of the target structure. */
37     unsigned ctx_offset;        /* Offset of the asn_struct_ctx_t member */
38
39     /* XER-specific stuff */
40     int as_XMLValueList; /* The member type must be encoded like this */
41 } asn_SET_OF_specifics_t;
42
43 /*
44  * A set specialized functions dealing with the SET OF type.
45  */
46 asn_struct_free_f SET_OF_free;
47 asn_struct_print_f SET_OF_print;
48 asn_struct_compare_f SET_OF_compare;
49 asn_constr_check_f SET_OF_constraint;
50 ber_type_decoder_f SET_OF_decode_ber;
51 der_type_encoder_f SET_OF_encode_der;
52 xer_type_decoder_f SET_OF_decode_xer;
53 xer_type_encoder_f SET_OF_encode_xer;
54 oer_type_decoder_f SET_OF_decode_oer;
55 oer_type_encoder_f SET_OF_encode_oer;
56 per_type_decoder_f SET_OF_decode_uper;
57 per_type_encoder_f SET_OF_encode_uper;
58 per_type_decoder_f SET_OF_decode_aper;
59 per_type_encoder_f SET_OF_encode_aper;
60 asn_random_fill_f  SET_OF_random_fill;
61 extern asn_TYPE_operation_t asn_OP_SET_OF;
62
63 #ifdef __cplusplus
64 }
65 #endif
66
67 #endif  /* CONSTR_SET_OF_H */