]> git.stg.codes - stg.git/blob - libs/smux/include/stg/NULL.h
Regen SMUX support library with more recent ASN1 compiler.
[stg.git] / libs / smux / include / stg / NULL.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 ASN_TYPE_NULL_H
6 #define ASN_TYPE_NULL_H
7
8 #include <asn_application.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 /*
15  * The value of the NULL type is meaningless.
16  * Use the BOOLEAN type if you need to carry true/false semantics.
17  */
18 typedef int NULL_t;
19
20 extern asn_TYPE_descriptor_t asn_DEF_NULL;
21 extern asn_TYPE_operation_t asn_OP_NULL;
22
23 asn_struct_free_f NULL_free;
24 asn_struct_print_f NULL_print;
25 asn_struct_compare_f NULL_compare;
26 ber_type_decoder_f NULL_decode_ber;
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 asn_random_fill_f  NULL_random_fill;
35
36 #define NULL_constraint asn_generic_no_constraint
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif  /* NULL_H */