X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fserver.h;h=84ed585b79565f047e7d440c369cb709361d071e;hp=b3021e7839cb3307775f9198181fddaa17cd0829;hb=52e57c880aba9c5e89f59d962eb9af75670b76e0;hpb=ae1482a76c29db9fdcd6ed6cf63d312a37a5cb01 diff --git a/apps/silcd/server.h b/apps/silcd/server.h index b3021e78..84ed585b 100644 --- a/apps/silcd/server.h +++ b/apps/silcd/server.h @@ -120,11 +120,6 @@ do { \ silc_free(__fmt__); \ } while(0) -/* Check whether rekey protocol is active */ -#define SILC_SERVER_IS_REKEY(sock) \ - (sock->protocol && sock->protocol->protocol && \ - sock->protocol->protocol->type == SILC_PROTOCOL_SERVER_REKEY) - /* Output a message to stderr or to the appropriate log facility wether we are in the background or not. */ #define SILC_SERVER_LOG_INFO(fmt) \ @@ -146,6 +141,7 @@ void silc_server_stop(SilcServer server); void silc_server_start_key_exchange(SilcServerConnection sconn); void silc_server_create_connection(SilcServer server, SilcBool reconnect, + SilcBool dynamic, const char *remote_host, SilcUInt32 port, SilcServerConnectCallback callback, void *context);