shishi_server_for_local_service3
Api function
Usage
#include <shishi.h>
char * shishi_server_for_local_service(Shishi * handle, const char * service);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
const char * service
|
null terminated string with name of service, e.g., "host". |
Overview
Construct a service principal (e.g., "imap/yxa.extuno.com") based on supplied service name (i.e., "imap") and the system's hostname as returned by hostname() (i.e., "yxa.extundo.com"). The string must be deallocated by the caller.
Return value
Return newly allocated service name string.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.