Harald Welte | 92c45f3 | 2010-06-12 18:59:38 +0200 | [diff] [blame] | 1 | /*- |
| 2 | * Copyright (c) 2003 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: see BOOLEAN if you want to |
| 16 | * carry true/false semantics. |
| 17 | */ |
| 18 | typedef int NULL_t; |
| 19 | |
| 20 | extern asn_TYPE_descriptor_t asn_DEF_NULL; |
| 21 | |
| 22 | asn_struct_print_f NULL_print; |
| 23 | der_type_encoder_f NULL_encode_der; |
| 24 | xer_type_decoder_f NULL_decode_xer; |
| 25 | xer_type_encoder_f NULL_encode_xer; |
| 26 | per_type_decoder_f NULL_decode_uper; |
| 27 | per_type_encoder_f NULL_encode_uper; |
| 28 | |
| 29 | #ifdef __cplusplus |
| 30 | } |
| 31 | #endif |
| 32 | |
| 33 | #endif /* NULL_H */ |