|
NAMEshishi_parse_name - API functionSYNOPSIS#include <shishi.h>int shishi_parse_name(Shishi * handle, const char * name, char ** principal, char ** realm); ARGUMENTS
DESCRIPTIONSplit principal name (e.g., "simon\fIJOSEFSSON.ORG") into two newly allocated strings, the principal ("simon"), and the realm ("JOSEFSSON.ORG"). If there is no realm part in name, realm is set to NULL.RETURN VALUEReturns SHISHI_INVALID_PRINCIPAL_NAME if name is NULL or ends with the escape character " successful.REPORTING BUGSReport bugs to <bug-shishi@gnu.org>.COPYRIGHTCopyright © 2002-2010 Simon Josefsson.Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. SEE ALSOThe full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
should give you access to the complete manual.
Visit the GSP FreeBSD Man Page Interface. |