196661edee194eb35cd2c6045a40f869eea1ef56
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / NULL.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 ASN_TYPE_NULL_H
7 #define ASN_TYPE_NULL_H
8
9 #include <asn_application.h>
10 #include <BOOLEAN.h>
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 /*
17  * The value of the NULL type is meaningless: see BOOLEAN if you want to
18  * carry true/false semantics.
19  */
20 typedef int NULL_t;
21
22 extern asn_TYPE_descriptor_t asn_DEF_NULL;
23 extern asn_TYPE_operation_t asn_OP_NULL;
24
25 asn_struct_print_f NULL_print;
26 asn_struct_compare_f NULL_compare;
27 der_type_encoder_f NULL_encode_der;
28 xer_type_decoder_f NULL_decode_xer;
29 xer_type_encoder_f NULL_encode_xer;
30 oer_type_decoder_f NULL_decode_oer;
31 oer_type_encoder_f NULL_encode_oer;
32 per_type_decoder_f NULL_decode_uper;
33 per_type_encoder_f NULL_encode_uper;
34 per_type_decoder_f NULL_decode_aper;
35 per_type_encoder_f NULL_encode_aper;
36 asn_random_fill_f  NULL_random_fill;
37
38 #define NULL_free       BOOLEAN_free
39 #define NULL_decode_ber BOOLEAN_decode_ber
40 #define NULL_constraint asn_generic_no_constraint
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif  /* NULL_H */