asn1_delete_structure2(3)
β¨ asn1_delete_structure2(3) β¨
okay bestie, pull up a chair π«Ά this one is a libtasn1 API function and it's literally the "bye bye, structure" button. no cap.
πΈ NAME πΈ
asn1_delete_structure2 β it's an API function, and it deletes stuff. iconic behavior honestly.
π SYNOPSIS π
#include <libtasn1.h>
int asn1_delete_structure2(asn1_node * structure, unsigned int flags);
π ARGUMENTS π
asn1_node * structureβ pointer to the structure that you want to delete. that's the one you're saying goodbye to π₯Ίunsigned int flagsβ extra flags, bestie (peepASN1_DELETE_FLAG_ZEROIZEif you wanna know more π)
π¦ DESCRIPTION π¦
so the way this works is: it deletes the structure * structure. and at the end, * structure gets set to NULL. like, it doesn't just leave a dangling pointer hanging around being messy β it cleans up after itself. main character energy fr fr π
π RETURNS π
ASN1_SUCCESSβ slay, it worked β¨ASN1_ELEMENT_NOT_FOUNDβ this happens if* structurewasNULL. yeah, there was nothing there to delete, so π
π COPYRIGHT π
Copyright Β© 2006-2025 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.
β SEE ALSO β
The full documentation for libtasn1 is maintained as a Texinfo manual. If the info and libtasn1 programs are properly installed at your site, the command
info libtasn1
should give you access to the complete manual. As an alternative you may obtain the manual from:
https://www.gnu.org/software/libtasn1/manual/
not me being obsessed with a delete function π but here we are
and that's the whole page bestie!! this one's from libtasn1, version 4.21.0, and yeah it's the asn1_delete_structure2(3) page, periodt π π§ πΈ
π¦ where this page comes from
- alpine 3.22: libtasn1-doc 4.21.0-r0 Β· LGPL-2.1-or-later
- alpine 3.23: libtasn1-doc 4.21.0-r0 Β· LGPL-2.1-or-later
- alpine 3.24: libtasn1-doc 4.21.0-r0 Β· LGPL-2.1-or-later
- arch rolling: libtasn1 4.21.0-1 Β· GPL-3.0-or-later AND LGPL-2.1-or-later AND GFDL-1.3-or-later
- fedora 43: libtasn1-devel 4.21.0-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: libtasn1-devel 4.21.0-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: libtasn1-devel 4.21.0-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: libtasn1-devel 4.21.0-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- ubuntu resolute: libtasn1-6-dev 4.21.0-2
- ubuntu stonking: libtasn1-6-dev 4.21.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms