Function silc_packet_set_context
SYNOPSIS
void silc_packet_set_context(SilcPacketStream stream,
void *stream_context);
DESCRIPTION
Sets a stream specific context to the stream. The context will
be delivered to all callback functions, and it can be retrieved by
calling silc_packet_get_context function as well. Note that this is
separate packet stream specific context, and not the same as
`callback_context' in silc_packet_engine_start. Both will be delivered
to the callbacks, and this context as the `stream_context' argument.
|