Function silc_server_alloc
SYNOPSIS
SilcServer silc_server_alloc(void *app_context, SilcServerParams params,
SilcSchedule schedule);
DESCRIPTION
Allocates SILC server context and returns it. Returns NULL if case
of error. The `app_context' is application specific context and
can be retrieved from the server by using silc_server_get_context
function. The `params' context contains the SILC server parameters
that application has gathered most likely from a configuration file
or similar source. The `params' and everything inside are allocated
by the caller, but the server library will own it and free it. It
may also modify its content.
|