Added SILC Thread Queue API
[crypto.git] / apps / silcd / route.h
index a33112607ce9e0b09458e78938ccb85b7e8ac9dd..148adffabe4f1e4afbd1ca7bca808921db0c7998 100644 (file)
@@ -2,9 +2,9 @@
 
   route.h
 
-  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
+  Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 2000 Pekka Riikonen
+  Copyright (C) 2000 - 2002 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -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