projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Added header file for route.c. The routing routines in it are not used
[tinc]
/
src
/
net.h
diff --git
a/src/net.h
b/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.
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.2
2 2000/11/20 19:12:13
guus Exp $
+ $Id: net.h,v 1.9.4.2
5 2001/01/07 15:25:44
guus Exp $
*/
#ifndef __TINC_NET_H__
*/
#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 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__ */
#endif /* __TINC_NET_H__ */