ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_kpm / headers / ENUMERATED.h
1 /*-
2  * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #ifndef _ENUMERATED_H_
6 #define _ENUMERATED_H_
7
8 #include <INTEGER.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 typedef INTEGER_t ENUMERATED_t;         /* Implemented via INTEGER */
15
16 extern asn_TYPE_descriptor_t asn_DEF_ENUMERATED;
17 extern asn_TYPE_operation_t asn_OP_ENUMERATED;
18
19 oer_type_decoder_f ENUMERATED_decode_oer;
20 oer_type_encoder_f ENUMERATED_encode_oer;
21 per_type_decoder_f ENUMERATED_decode_uper;
22 per_type_encoder_f ENUMERATED_encode_uper;
23 per_type_decoder_f ENUMERATED_decode_aper;
24 per_type_encoder_f ENUMERATED_encode_aper;
25
26 #define ENUMERATED_free       ASN__PRIMITIVE_TYPE_free
27 #define ENUMERATED_print      INTEGER_print
28 #define ENUMERATED_compare    INTEGER_compare
29 #define ENUMERATED_constraint asn_generic_no_constraint
30 #define ENUMERATED_decode_ber ber_decode_primitive
31 #define ENUMERATED_encode_der INTEGER_encode_der
32 #define ENUMERATED_decode_xer INTEGER_decode_xer
33 #define ENUMERATED_encode_xer INTEGER_encode_xer
34 #define ENUMERATED_random_fill INTEGER_random_fill
35
36 #ifdef __cplusplus
37 }
38 #endif
39
40 #endif  /* _ENUMERATED_H_ */