libisdn
asn1_codec_ber.h
Go to the documentation of this file.
00001 
00005 #ifndef __ASN1_CODEC_BER_H__
00006 #define __ASN1_CODEC_BER_H__
00007 
00008 #if 0
00009 int ber_decode_integer(struct asn1_buffer *buf, const int size);
00010 int ber_encode_integer(struct asn1_buffer *buf, const int value);
00011 float ber_decode_real(struct asn1_buffer *buf, const int size);
00012 int ber_encode_real(struct asn1_buffer *buf, const float value);
00013 int ber_decode_oid(struct asn1_buffer *buf, int *oid, const int size);
00014 int ber_encode_oid(struct asn1_buffer *buf, const int *oid, const int size);
00015 int ber_decode_custom(struct asn1_buffer *buf, char *val, const int size);
00016 int ber_encode_custom(struct asn1_buffer *buf, const char *val, const int size);
00017 #endif
00018 
00019 int ber_header_size(const struct asn1_header *hdr);
00020 int ber_decode_header(struct asn1_buffer *buf, struct asn1_header *hdr);
00021 int ber_encode_header(struct asn1_buffer *buf, const struct asn1_header *hdr);
00022 int ber_decode_value(struct asn1_buffer *buf, struct asn1_object *elem);
00023 int ber_encode_value(struct asn1_buffer *buf, struct asn1_object *elem);
00024 
00025 #endif /* __ASN1_CODEC_BER_H__ */