X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fconnection.h;h=ef688549062689e6b66cac2006ee4e9b03147188;hb=46e373d99b4559245885c94930a6979d03a6f12b;hp=fd633b3ffcb9e7535ba8c0263ff16dd938b07e62;hpb=282b99f3c71705bd6e34d4e4f9e8369ea63c87ed;p=meshlink diff --git a/src/connection.h b/src/connection.h index fd633b3f..ef688549 100644 --- a/src/connection.h +++ b/src/connection.h @@ -40,6 +40,7 @@ typedef struct connection_status_t { uint16_t log: 1; /* 1 if this is a control connection requesting log dump */ uint16_t invitation: 1; /* 1 if this is an invitation */ uint16_t invitation_used: 1; /* 1 if the invitation has been consumed */ + uint16_t initiator: 1; /* 1 if we initiated this connection */ } connection_status_t; #include "ecdsa.h"