diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-04 03:36:46 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-09 06:16:14 +0200 |
commit | 7879164915659c16b96b4bb5c4a6dca13b793f37 (patch) | |
tree | c2d1606c95fb97f68f97555f112e200d2b93b2f3 /src/fastd.h | |
parent | e0f99a4199ade6ca2d2325d1d38a45e4ce403fa1 (diff) | |
download | fastd-7879164915659c16b96b4bb5c4a6dca13b793f37.tar fastd-7879164915659c16b96b4bb5c4a6dca13b793f37.zip |
Move fastd_config_t.peers to fastd_context_t.peer_configs
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h index 7050f05..554a982 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -205,7 +205,6 @@ struct fastd_config { char *secret; /**< The configured secret key */ fastd_peer_group_t *peer_group; /**< The root peer group configuration */ - fastd_peer_config_t *peers; /**< The configured peers */ bool has_floating; /**< Specifies if any of the configured peers have floating remotes */ @@ -242,8 +241,11 @@ struct fastd_context { struct timespec now; /**< The current monotonous timestamp */ + fastd_peer_config_t *peer_configs; /**< The configured peers */ + uint64_t next_peer_id; /**< An monotonously increasing ID peers are identified with in some components */ VECTOR(fastd_peer_t*) peers; /**< The currectly active peers */ + #ifdef WITH_VERIFY fastd_sem_t verify_limit; /**< Keeps track of the number of verifier threads */ #endif |