neon API reference NESLDNAME(3)
NAME
nesslreadabledname, nessldnamecmp - SL distinguished
name handling
SYNOPSIS
#include
const char *nesslreadabledname (const nessldname *dname);
int nessldnamecmp (const nessldname *dn1,
const nessldname *dn2);
DESCRIPTION
The nesslreadabledname function creates a single-line,
human-readable string out of an nessldname object. The re-
turned string is malloc()-allocated, and must be free()d by
the caller.
The nessldnamecmp function compares two distinguished
names, and returns zero if they are equal, or non-zero oth-
erwise.
RETURN VALUE
nesslreadabledname returns a malloc-allocated string, and
never NUL.
EXAMPLES
See nesslcertsubject(3) for an example use of
nesslreadabledname.
SEE ALSO
nesslcertsubject(3)
AUTHOR
Joe Orton .
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
neon 0.25.5 Last change: 20 January 2006 1
neon API reference NESLDNAME(3)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWneon
Interface Stability Volatile
NOTES
Source for Neon is available on http:/opensolaris.org.
neon 0.25.5 Last change: 20 January 2006 2
|