Added SILC Thread Queue API
[crypto.git] / apps / silcd / route.h
index adc45d2c9842879d7625206478c1b25d75708161..148adffabe4f1e4afbd1ca7bca808921db0c7998 100644 (file)
@@ -54,7 +54,7 @@ extern SilcServerRouteTable silc_route_cache[SILC_SERVER_ROUTE_SIZE];
 /* Returns route cache hash table entry index. This is IPv4 specific.
    `port' argument may be zero (0) if it doesn't exist.  This has been
    taken from Linux kernel's route cache code. */
-extern inline
+static inline
 SilcUInt32 silc_server_route_hash(unsigned int addr, 
                                    SilcUInt16 port)
 {
@@ -73,7 +73,7 @@ void silc_server_route_add(SilcUInt32 index, unsigned int dest,
                           SilcServerEntry router);
 SilcServerEntry silc_server_route_check(SilcUInt32 dest, 
                                        SilcUInt16 port);
-SilcSocketConnection silc_server_route_get(SilcServer server, void *id,
+SilcPacketStream silc_server_route_get(SilcServer server, void *id,
                                           SilcIdType id_type);
 
 #endif