~ubuntu-branches/ubuntu/trusty/libtasn1-3/trusty

« back to all changes in this revision

Viewing changes to doc/texi/asn1_read_tag.texi

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2006-06-07 20:14:52 UTC
  • Revision ID: james.westby@ubuntu.com-20060607201452-7a9dojyu7i2kfbyp
Tags: upstream-0.3.4
ImportĀ upstreamĀ versionĀ 0.3.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@deftypefun {asn1_retCode} {asn1_read_tag} (node_asn * @var{root}, const char * @var{name}, int * @var{tagValue}, int * @var{classValue})
 
2
@var{root}: pointer to a structure
 
3
 
 
4
@var{name}: the name of the element inside a structure.
 
5
 
 
6
@var{tagValue}: variable that will contain the TAG value.
 
7
 
 
8
@var{classValue}: variable that will specify the TAG type.
 
9
 
 
10
Returns the TAG and the CLASS of one element inside a structure.
 
11
 
 
12
@strong{CLASS can have one of these constants:} @code{ASN1_CLASS_APPLICATION},
 
13
@code{ASN1_CLASS_UNIVERSAL}, @code{ASN1_CLASS_PRIVATE} or
 
14
@code{ASN1_CLASS_CONTEXT_SPECIFIC}.
 
15
 
 
16
@strong{Returns:} 
 
17
@strong{ASN1_SUCCESS:} Set value OK.
 
18
 
 
19
@strong{ASN1_ELEMENT_NOT_FOUND:} NAME is not a valid element.
 
20
@end deftypefun
 
21