-
-extern char *request_name[256];
-extern char *status_text[10];
-
-#include "connection.h" /* Yes, very strange placement indeed, but otherwise the typedefs get all tangled up */
-
+extern int addressfamily;
+extern unsigned replaywin;
+
+extern listen_socket_t listen_socket[MAXSOCKETS];
+extern int listen_sockets;
+extern int keylifetime;
+extern int udp_rcvbuf;
+extern int udp_sndbuf;
+extern bool do_prune;
+extern char *myport;
+extern int contradicting_add_edge;
+extern int contradicting_del_edge;
+
+/* Yes, very strange placement indeed, but otherwise the typedefs get all tangled up */
+#include "connection.h"
+#include "node.h"
+
+extern void retry_outgoing(outgoing_t *);
+extern void handle_incoming_vpn_data(int, short, void *);
+extern void finish_connecting(struct connection_t *);
+extern bool do_outgoing_connection(struct connection_t *);
+extern void handle_new_meta_connection(int, short, void *);
+extern int setup_listen_socket(const sockaddr_t *);
+extern int setup_vpn_in_socket(const sockaddr_t *);