diff options
Diffstat (limited to 'source4/heimdal/lib/asn1/heim_asn1.h')
-rw-r--r-- | source4/heimdal/lib/asn1/heim_asn1.h | 41 |
1 files changed, 30 insertions, 11 deletions
diff --git a/source4/heimdal/lib/asn1/heim_asn1.h b/source4/heimdal/lib/asn1/heim_asn1.h index 4eeafc20f94..072ff158f31 100644 --- a/source4/heimdal/lib/asn1/heim_asn1.h +++ b/source4/heimdal/lib/asn1/heim_asn1.h @@ -34,19 +34,38 @@ #ifndef __HEIM_ANY_H__ #define __HEIM_ANY_H__ 1 -int encode_heim_any(unsigned char *, size_t, const heim_any *, size_t *); -int decode_heim_any(const unsigned char *, size_t, heim_any *, size_t *); -void free_heim_any(heim_any *); -size_t length_heim_any(const heim_any *); -int copy_heim_any(const heim_any *, heim_any *); +int ASN1CALL encode_heim_any(unsigned char *, size_t, const heim_any *, size_t *); +int ASN1CALL decode_heim_any(const unsigned char *, size_t, heim_any *, size_t *); +void ASN1CALL free_heim_any(heim_any *); +char *ASN1CALL print_heim_any(const heim_any *, int); +size_t ASN1CALL length_heim_any(const heim_any *); +int ASN1CALL copy_heim_any(const heim_any *, heim_any *); -int encode_heim_any_set(unsigned char *, size_t, +int ASN1CALL encode_heim_any_set(unsigned char *, size_t, const heim_any_set *, size_t *); -int decode_heim_any_set(const unsigned char *, size_t, +int ASN1CALL decode_heim_any_set(const unsigned char *, size_t, heim_any_set *,size_t *); -void free_heim_any_set(heim_any_set *); -size_t length_heim_any_set(const heim_any_set *); -int copy_heim_any_set(const heim_any_set *, heim_any_set *); -int heim_any_cmp(const heim_any_set *, const heim_any_set *); +void ASN1CALL free_heim_any_set(heim_any_set *); +char *ASN1CALL print_heim_any_set(const heim_any_set *, int); +size_t ASN1CALL length_heim_any_set(const heim_any_set *); +int ASN1CALL copy_heim_any_set(const heim_any_set *, heim_any_set *); +int ASN1CALL heim_any_cmp(const heim_any_set *, const heim_any_set *); + +int ASN1CALL encode_HEIM_ANY(unsigned char *, size_t, const heim_any *, size_t *); +int ASN1CALL decode_HEIM_ANY(const unsigned char *, size_t, heim_any *, size_t *); +void ASN1CALL free_HEIM_ANY(heim_any *); +char *ASN1CALL print_HEIM_ANY(const heim_any *, int); +size_t ASN1CALL length_HEIM_ANY(const heim_any *); +int ASN1CALL copy_HEIM_ANY(const heim_any *, heim_any *); + +int ASN1CALL encode_HEIM_ANY_SET(unsigned char *, size_t, + const heim_any_set *, size_t *); +int ASN1CALL decode_HEIM_ANY_SET(const unsigned char *, size_t, + heim_any_set *,size_t *); +void ASN1CALL free_HEIM_ANY_SET(heim_any_set *); +char *ASN1CALL print_HEIM_ANY_SET(const heim_any_set *, int); +size_t ASN1CALL length_HEIM_ANY_SET(const heim_any_set *); +int ASN1CALL copy_HEIM_ANY_SET(const heim_any_set *, heim_any_set *); +int ASN1CALL heim_any_cmp(const heim_any_set *, const heim_any_set *); #endif /* __HEIM_ANY_H__ */ |