.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "shishi_ticket_server" 3 "1.0.2" "shishi" "shishi" .SH NAME shishi_ticket_server \- API function .SH SYNOPSIS .B #include .sp .BI "int shishi_ticket_server(Shishi * " handle ", Shishi_asn1 " ticket ", char ** " server ", size_t * " serverlen ");" .SH ARGUMENTS .IP "Shishi * handle" 12 Shishi library handle create by \fBshishi_init()\fP. .IP "Shishi_asn1 ticket" 12 ASN.1 Ticket variable to get server name from. .IP "char ** server" 12 pointer to newly allocated zero terminated string containing principal name. May be \fBNULL\fP (to only populate \fIserverlen\fP). .IP "size_t * serverlen" 12 pointer to length of \fIserver\fP on output, excluding terminating zero. May be \fBNULL\fP (to only populate \fIserver\fP). .SH "DESCRIPTION" Represent server principal name in Ticket as zero\-terminated string. The string is allocate by this function, and it is the responsibility of the caller to deallocate it. Note that the output length \fIserverlen\fP does not include the terminating zero. .SH "RETURN VALUE" Returns SHISHI_OK iff successful. .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright \(co 2002-2010 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B shishi is maintained as a Texinfo manual. If the .B info and .B shishi programs are properly installed at your site, the command .IP .B info shishi .PP should give you access to the complete manual.