shishi_time3
Api function
Usage
#include <shishi.h>
int shishi_time(Shishi * handle, Shishi_asn1 node, const char * field, char ** t);
Arguments
- Shishi * handle
-
Shishi handle as allocated by
shishi_init().
- Shishi_asn1 node
-
ASN.1 structure to get time from.
- const char * field
-
Name of the field in the ASN.1 node carrying time.
- char ** t
-
Returned pointer to an allocated char array containing a null-terminated time string.
Overview
Extracts time information from an ASN.1 structure, and to be precise, does so from the named field field within the structure node.
Return value
Returns SHISHI_OK if successful, or an error.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.