blob: aa6a5c59d2107c54443ae04913a94153916aac2b [file] [log] [blame]
Lev Walkine7318792004-09-26 13:11:01 +00001/*-
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
10typedef 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
15asn_struct_free_f ASN__PRIMITIVE_TYPE_free;
16ber_type_decoder_f ber_decode_primitive;
17der_type_encoder_f der_encode_primitive;
18
19#endif /* _BER_CODEC_of_PRIMITIVE_TYPE_H_ */