- Reinstated a queue for outgoing packets.
[tinc] / src / net.h
index 7c77fa2..5a1609c 100644 (file)
--- a/src/net.h
+++ b/src/net.h
@@ -16,7 +16,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: net.h,v 1.9.4.22 2000/11/20 19:12:13 guus Exp $
+    $Id: net.h,v 1.9.4.25 2001/01/07 15:25:44 guus Exp $
 */
 
 #ifndef __TINC_NET_H__
@@ -117,7 +117,15 @@ extern void close_network_connections(void);
 extern void main_loop(void);
 extern int setup_vpn_connection(connection_t *);
 extern void terminate_connection(connection_t *);
-extern void flush_queues(connection_t *);
-extern void add_queue(packet_queue_t **, void *, size_t);
+extern void flush_queue(connection_t *);
+
+#include <config.h>
+#ifdef HAVE_OPENSSL_RSA_H
+# include <openssl/rsa.h>
+#else
+# include <rsa.h>
+#endif
+
+extern int read_rsa_public_key(connection_t *);
 
 #endif /* __TINC_NET_H__ */