- ipv4_t address; /* his real (internet) ip to send UDP packets to */
- short unsigned int port; /* port number of UDP connection */
- char *hostname; /* the hostname of its real ip */
-
- RSA *rsa_key;
- EVP_CIPHER_CTX *ctx;
- char *metakey;
- char *pktkey;
- char *challenge;
-} halfconnection_t;
+extern void init_vertices(void);
+extern void exit_vertices(void);
+extern vertex_t *new_vertex(void);
+extern void free_vertex(vertex_t *);
+extern void vertex_add(vertex_t *);
+extern void vertex_del(vertex_t *);
+extern vertex_t *lookup_vertex(struct node_t *, struct node_t *);
+extern void dump_vertices(void);
+
+#endif /* __TINC_VERTEX_H__ */