asn1_delete_structure(3) API function

SYNOPSIS

#include <libtasn1.h>

asn1_retCode asn1_delete_structure(ASN1_TYPE * structure);

ARGUMENTS

ASN1_TYPE * structure
pointer to the structure that you want to delete.

DESCRIPTION

Deletes the structure *structure. At the end, *structure is set to ASN1_TYPE_EMPTY.

RETURNS

ASN1_SUCCESS if successful, ASN1_ELEMENT_NOT_FOUND if *structure was ASN1_TYPE_EMPTY.

COPYRIGHT

Copyright © 2006-2011 Free Software Foundation, Inc..
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.