libtasn1: Auxilliary functions
4.5 Auxilliary functions
========================
asn1_find_node
--------------
-- Function: asn1_node asn1_find_node (asn1_node POINTER, const char *
NAME)
POINTER: NODE_ASN element pointer.
NAME: null terminated string with the element's name to find.
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.
asn1_check_version
------------------
-- Function: const char * asn1_check_version (const char * REQ_VERSION)
REQ_VERSION: Required version number, or 'NULL' .
Check that the version of the library is at minimum the requested
one and return the version string; return 'NULL' if the condition
is not satisfied. If a 'NULL' is passed to this function, no check
is done, but the version string is simply returned.
See 'ASN1_VERSION' for a suitable 'req_version' string.
*Returns:* Version string of run-time library, or 'NULL' if the
run-time library does not meet the required version number.