Add an invitation protocol.
[tinc] / src / protocol.h
index 1df54fc..93ef3f2 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef __TINC_PROTOCOL_H__
 #define __TINC_PROTOCOL_H__
 
+#include "ecdsa.h"
+
 /* Protocol version. Different major versions are incompatible. */
 
 #define PROT_MAJOR 17
@@ -59,6 +61,8 @@ extern bool tunnelserver;
 extern bool strictsubnets;
 extern bool experimental;
 
+extern ecdsa_t *invitation_key;
+
 /* Maximum size of strings in a request.
  * scanf terminates %2048s with a NUL character,
  * but the NUL character can be written after the 2048th non-NUL character.