Debian Codegraph @

deps/libneon/doc/man/ne_ssl_readable_dname.3

raw
1 '\" t
2 .\" Title: ne_ssl_dname
3 .\" Author:
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5 .\" Date: 3 May 2011
6 .\" Manual: neon API reference
7 .\" Source: neon 0.29.6
8 .\" Language: English
9 .\"
10 .TH "NE_SSL_DNAME" "3" "3 May 2011" "neon 0.29.6" "neon API reference"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 ne_ssl_readable_dname, ne_ssl_dname_cmp \- SSL distinguished name handling
32 .SH "SYNOPSIS"
33 .sp
34 .ft B
35 .nf
36 #include <ne_ssl\&.h>
37 .fi
38 .ft
39 .HP \w'const\ char\ *ne_ssl_readable_dname('u
40 .BI "const char *ne_ssl_readable_dname(const\ ne_ssl_dname\ *" "dname" ");"
41 .HP \w'int\ ne_ssl_dname_cmp('u
42 .BI "int ne_ssl_dname_cmp(const\ ne_ssl_dname\ *" "dn1" ", const\ ne_ssl_dname\ *" "dn2" ");"
43 .SH "DESCRIPTION"
44 .PP
45 The
46 \fBne_ssl_readable_dname\fR
47 function creates a single\-line, human\-readable string out of an
48 \fBne_ssl_dname\fR
49 object\&. The returned string is
50 \fBmalloc\fR()\-allocated, and must be
51 \fBfree\fR()d by the caller\&.
52 .PP
53 The
54 \fBne_ssl_dname_cmp\fR
55 function compares two distinguished names, and returns zero if they are equal, or non\-zero otherwise\&.
56 .SH "RETURN VALUE"
57 .PP
58 \fBne_ssl_readable_dname\fR
59 returns a
60 \fBmalloc\fR\-allocated string, and never
61 NULL\&.
62 .SH "EXAMPLES"
63 .PP
64 See
65 ne_ssl_cert_subject
66 for an example use of
67 \fBne_ssl_readable_dname\fR\&.
68 .SH "SEE ALSO"
69 .PP
70 ne_ssl_cert_subject
71 .SH "AUTHOR"
72 .PP
73 \fBJoe Orton\fR <\&[email protected]\&>
74 .RS 4
75 Author.
76 .RE
77 .SH "COPYRIGHT"
78 .br