logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

shishi_parse_name - API function

Arguments

       Shishi * handle
                   Shishi library handle created by shishi_init().

       const char * name
                   input principal name string, e.g. imap/mail.gnu.org\fIGNU.ORG.

       char ** principal
                   newly allocated output string with principal name.

       char ** realm
                   newly allocated output string with realm name.

Description

       Split  principal  name  (e.g.,  "simon\fIJOSEFSSON.ORG")intotwonewlyallocatedstrings,theprincipal("simon"),andtherealm("JOSEFSSON.ORG").Ifthereisnorealmpartinname,realmissettoNULL.

Name

       shishi_parse_name - API function

Reporting Bugs

       Report bugs to <bug-shishi@gnu.org>.  GNU Shishi home page:  http://www.gnu.org/software/shishi/  General
       help using GNU software: http://www.gnu.org/gethelp/

Return Value

       Returns SHISHI_INVALID_PRINCIPAL_NAME if name is NULL or ends with the escape character " successful.

See Also

       The full documentation for shishi is maintained as a Texinfo manual.  If the info and shishi programs are
       properly installed at your site, the command

              infoshishi

       should give you access to the complete manual.

shishi                                                1.0.3                                 shishi_parse_name(3)

Synopsis

#include<shishi.h>intshishi_parse_name(Shishi*handle,constchar*name,char**principal,char**realm);

See Also