At the end of this file SilcClientOperation structure is defined, and
it is the one the you will give as an argument to the silc_client_alloc
- function. See also lib/silcclient/README file, and silcapi.h. */
+ function. See also lib/silcclient/README file, and silcclient.h. */
/* Message sent to the application by library. `conn' associates the
}
-/* Message for a channel. The `sender' is the sender of the message
- The `channel' is the channel. */
+/* Message for a channel. The `sender' is the sender of the message
+ The `channel' is the channel. The `msg' is the message. Note that
+ `msg' maybe NULL. */
static void
silc_channel_message(SilcClient client, SilcClientConnection conn,
static void
silc_get_auth_method(SilcClient client, SilcClientConnection conn,
- char *hostname, uint16 port, SilcGetAuthMeth completion,
+ char *hostname, SilcUInt16 port, SilcGetAuthMeth completion,
void *context)
{
static void
silc_verify_public_key(SilcClient client, SilcClientConnection conn,
SilcSocketType conn_type, unsigned char *pk,
- uint32 pk_len, SilcSKEPKType pk_type,
+ SilcUInt32 pk_len, SilcSKEPKType pk_type,
SilcVerifyPublicKey completion, void *context)
{
static int
silc_key_agreement(SilcClient client, SilcClientConnection conn,
SilcClientEntry client_entry, const char *hostname,
- uint16 port, SilcKeyAgreementCallback *completion,
+ SilcUInt16 port, SilcKeyAgreementCallback *completion,
void **context)
{
static void
silc_ftp(SilcClient client, SilcClientConnection conn,
- SilcClientEntry client_entry, uint32 session_id,
- const char *hostname, uint16 port)
+ SilcClientEntry client_entry, SilcUInt32 session_id,
+ const char *hostname, SilcUInt16 port)
{
}