Function SILC_ASN1_OPTS
SYNOPSIS
SILC_ASN1_OPTS(opts)
DESCRIPTION
The `opts' is SilcAsn1Options. This macro can be used to set
options for silc_asn1_encode and silc_asn1_decode functions.
NOTES
Only the SILC_ASN1_ALLOC and SILC_ASN1_ACCUMUL flags may be
set with this macro.
This macro must be the first macro in the variable argument list
in the function.
EXAMPLE
silc_asn1_decode(asn1, tree,
SILC_ASN1_OPTS(SILC_ASN1_ALLOC),
SILC_ASN1_SEQUENCE,
SILC_ASN1_BOOLEAN(&bool_val),
SILC_ASN1_OCTET_STRING(&string, &string_len),
SILC_ASN1_END, SILC_ASN1_END);
|