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"
ecdsa_t *ecdsa; /* his public ECDSA key */
int protocol_major; /* used protocol */
int protocol_minor; /* used protocol */
-
- // Unused/deprecated
- uint32_t options; /* options for this connection */
- int incompression;
- int outcompression;
} connection_t;
extern void init_connections(struct meshlink_handle *mesh);