A bunch of CLI work

This commit is contained in:
Adam Ierymenko 2019-09-30 16:12:08 -07:00
parent c4504fd3ff
commit 7fc78129f4
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
19 changed files with 225 additions and 153 deletions

View file

@ -532,29 +532,14 @@ typedef struct {
const char *name;
/**
* Current public identity or NULL if not known (only possible with dynamic roots)
* Serialized locator
*/
const char *identity;
const void *locator;
/**
* Current physical address(es) of this root
* The size of locator in bytes
*/
const struct sockaddr_storage *addresses;
/**
* Number of physical addresses
*/
unsigned int addressCount;
/**
* If true, this is the current preferred root
*/
int preferred;
/**
* If true, this root server appears online
*/
int online;
unsigned int locatorSize;
} ZT_Root;
/**