/* Callback function that is called after the key exchange and connection
authentication protocols has been completed with a remote router. The
- `server_entry' is the remote router entry. */
+ `server_entry' is the remote router entry or NULL on error. */
typedef void (*SilcServerConnectRouterCallback)(SilcServer server,
SilcServerEntry server_entry,
void *context);
SilcUInt32 retry_count;
SilcUInt32 retry_timeout;
- /* Back pointer to server */
- SilcServer server;
-
SilcServerConnectRouterCallback callback;
void *callback_context;
} *SilcServerConnection;
/* General definitions */
/* SILC port */
-#define SILC_PORT 768;
+#define SILC_PORT 706;
/* Server and router. Used internally by the code. */
#define SILC_SERVER 0
bool get_private,
bool get_secret,
SilcBuffer *user_mode_list);
-SilcClientEntry silc_server_get_client_resolve(SilcServer server,
- SilcClientID *client_id,
- bool always_resolve,
- bool *resolved);
void silc_server_stderr(char *message);
#endif