Function silc_protocol_alloc
SYNOPSIS
void silc_protocol_alloc(SilcProtocolType type,
SilcProtocol *new_protocol,
void *context,
SilcProtocolFinalCallback callback);
DESCRIPTION
Allocates a new protocol. The new allocated and initialized
protocol is returned to the `new_protocol' argument. The argument
context `context' is the context to be sent as argument for the
protocol callback function. The `callback' argument is the function
to be called after the protocol has finished.
|