Debian Codegraph @

doc/man/shishi_asn1_read_inline.3

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2 .TH "shishi_asn1_read_inline" 3 "1.0.3" "shishi" "shishi"
3 .SH NAME
4 shishi_asn1_read_inline \- API function
5 .SH SYNOPSIS
6 .B #include <shishi.h>
7 .sp
8 .BI "int shishi_asn1_read_inline(Shishi * " handle ", Shishi_asn1 " node ", const char * " field ", char * " data ", size_t * " datalen ");"
9 .SH ARGUMENTS
10 .IP "Shishi * handle" 12
11 shishi handle as allocated by \fBshishi_init()\fP.
12 .IP "Shishi_asn1 node" 12
13 ASN.1 variable to read field from.
14 .IP "const char * field" 12
15 name of field in \fInode\fP to read.
16 .IP "char * data" 12
17 pre\-allocated output buffer that will hold ASN.1 field data.
18 .IP "size_t * datalen" 12
19 on input, maximum size of output buffer,
20 on output, actual size of output buffer.
21 .SH "DESCRIPTION"
22 Extract data stored in a ASN.1 field into a fixed size buffer
23 allocated by caller.
24
25 Note that since it is difficult to predict the length of the field,
26 it is often better to use \fBshishi_asn1_read()\fP instead.
27 .SH "RETURN VALUE"
28 Returns SHISHI_OK if successful,
29 SHISHI_ASN1_NO_ELEMENT if the element do not exist,
30 SHISHI_ASN1_NO_VALUE if the field has no value, ot
31 SHISHI_ASN1_ERROR otherwise.
32 .SH "REPORTING BUGS"
33 Report bugs to <[email protected]>.
34 GNU Shishi home page: http://www.gnu.org/software/shishi/
35 General help using GNU software: http://www.gnu.org/gethelp/
36 .SH COPYRIGHT
37 Copyright \(co 2002-2022 Simon Josefsson.
38 .br
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42 .SH "SEE ALSO"
43 The full documentation for
44 .B shishi
45 is maintained as a Texinfo manual. If the
46 .B info
47 and
48 .B shishi
49 programs are properly installed at your site, the command
50 .IP
51 .B info shishi
52 .PP
53 should give you access to the complete manual.