vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [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 | */ | ||||
vlm | af9cf13 | 2004-08-19 13:26:36 +0000 | [diff] [blame] | 5 | #ifndef ASN_TYPE_NULL_H |
6 | #define ASN_TYPE_NULL_H | ||||
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 7 | |
vlm | d157958 | 2004-09-24 21:00:50 +0000 | [diff] [blame] | 8 | #include <asn_application.h> |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 9 | |
vlm | 3a41758 | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 10 | #ifdef __cplusplus |
11 | extern "C" { | ||||
12 | #endif | ||||
13 | |||||
vlm | af9cf13 | 2004-08-19 13:26:36 +0000 | [diff] [blame] | 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; | ||||
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 19 | |
vlm | ef6355b | 2004-09-29 13:26:15 +0000 | [diff] [blame] | 20 | extern asn_TYPE_descriptor_t asn_DEF_NULL; |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 21 | |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 22 | asn_struct_print_f NULL_print; |
vlm | 39ba4c4 | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 23 | der_type_encoder_f NULL_encode_der; |
vlm | 4114a86 | 2004-10-22 08:20:32 +0000 | [diff] [blame] | 24 | xer_type_decoder_f NULL_decode_xer; |
vlm | 39ba4c4 | 2004-09-22 16:06:28 +0000 | [diff] [blame] | 25 | xer_type_encoder_f NULL_encode_xer; |
vlm | 337167e | 2005-11-26 11:25:14 +0000 | [diff] [blame] | 26 | per_type_decoder_f NULL_decode_uper; |
vlm | 18dd82c | 2006-08-18 01:34:18 +0000 | [diff] [blame] | 27 | per_type_encoder_f NULL_encode_uper; |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 28 | |
vlm | 3a41758 | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 29 | #ifdef __cplusplus |
30 | } | ||||
31 | #endif | ||||
32 | |||||
vlm | af9cf13 | 2004-08-19 13:26:36 +0000 | [diff] [blame] | 33 | #endif /* NULL_H */ |