asn1_find_node(3) API function

SYNOPSIS

#include <libtasn1.h>

ASN1_TYPE asn1_find_node(ASN1_TYPE pointer, const char * name);

ARGUMENTS

ASN1_TYPE pointer
NODE_ASN element pointer.
const char * name
null terminated string with the element's name to find.

DESCRIPTION

Searches for an element called name starting from pointer. The name is composed by differents identifiers separated by dots. When *pointer has a name, the first identifier must be the name of *pointer, otherwise it must be the name of one child of *pointer.

RETURNS

the search result, or NULL if not found.

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.