updates.
[runtime.git] / apps / silcd / server.h
index 1b83e1a836216f968e0b4fd3fad50e784e18665d..2a0e30df62aab4e52ee5a30dc157dac7bc2c0c59 100644 (file)
@@ -30,6 +30,9 @@ typedef struct SilcServerStruct *SilcServer;
 
 /* General definitions */
 
+/* SILC port */
+#define SILC_PORT 768;
+
 /* Server and router. Used internally by the code. */
 #define SILC_SERVER 0
 #define SILC_ROUTER 1
@@ -87,6 +90,8 @@ void silc_server_packet_parse(SilcPacketParserContext *parser_context);
 void silc_server_packet_parse_type(SilcServer server, 
                                   SilcSocketConnection sock,
                                   SilcPacketContext *packet);
+void silc_server_create_connection(SilcServer server,
+                                  char *remote_host, unsigned int port);
 void silc_server_close_connection(SilcServer server,
                                  SilcSocketConnection sock);
 void silc_server_free_client_data(SilcServer server,