vlm | 7fc571a | 2004-09-26 13:11:01 +0000 | [diff] [blame] | 1 | /*- |
| 2 | * Copyright (c) 2004 Lev Walkin <vlm@lionet.info>. All rights reserved. |
| 3 | * Redistribution and modifications are permitted subject to BSD license. |
| 4 | */ |
| 5 | #ifndef _BER_CODEC_of_PRIMITIVE_TYPE_H_ |
| 6 | #define _BER_CODEC_of_PRIMITIVE_TYPE_H_ |
| 7 | |
| 8 | #include <asn_application.h> |
| 9 | |
| 10 | typedef struct ASN__PRIMITIVE_TYPE_s { |
| 11 | uint8_t *buf; /* Buffer with consecutive primitive encoding bytes */ |
| 12 | int size; /* Size of the buffer */ |
| 13 | } ASN__PRIMITIVE_TYPE_t; /* Do not use this type directly! */ |
| 14 | |
| 15 | asn_struct_free_f ASN__PRIMITIVE_TYPE_free; |
| 16 | ber_type_decoder_f ber_decode_primitive; |
| 17 | der_type_encoder_f der_encode_primitive; |
| 18 | |
| 19 | #endif /* _BER_CODEC_of_PRIMITIVE_TYPE_H_ */ |