asn1_print_structure(3)
π asn1_print_structure(3) β the libtasn1 glow-up π
okay bestie, pull up a chair because we're talking about asn1_print_structure, one of the lil API functions from libtasn1 that literally just... prints your ASN.1 structure for you. no cap. it's giving "tell me what's inside this tree" and honestly? we love that for us. π¦
β¨ SYNOPSIS β¨
#include <libtasn1.h>
void asn1_print_structure(FILE * out, asn1_node_const structure, const
char * name, int mode);
π ARGUMENTS π
FILE * outβ pointer to the output file, like, where the vibes get written. thinkstdout, bestie. πasn1_node_const structureβ pointer to the structure you wanna go visit. yes, visit. we're tourists in a tree today. πΈconst char * nameβ an element of the structure. one lil guy. a name.int modeβ this one controls how much of the structure gets printed, and the options areASN1_PRINT_NAME,ASN1_PRINT_NAME_TYPE,ASN1_PRINT_NAME_TYPE_VALUE, orASN1_PRINT_ALL. pick your fighter. π
π DESCRIPTION π
so what it actually does: it prints the structure's tree onto the out file descriptor, starting from the name element inside the structure structure. π³
that's it. that's the whole thing. starting point = name, tree = the structure's tree, destination = out. main character energy from a function that does exactly one job. periodt. β¨
π 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.
(translation: use it, share it, just keep the receipts. π§Ύπ)
π¦ 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, this command
info libtasn1
should give you access to the complete manual. iykyk. π«Ά
as an alternative you may obtain the manual from:
https://www.gnu.org/software/libtasn1/manual/
and that's the tea, bestie π β this page came to you straight from libtasn1 4.21.0, asn1_print_structure(3), mwah. go print a tree, you icon. ππ
π¦ 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