diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-06-10 20:46:52 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-06-10 20:46:52 +0200 |
commit | 6b139d613ae6fa127bdce1be5c634ed4b53b1efd (patch) | |
tree | fe55f6e36831ee0e2702ea085fab0e29aff8a578 /src/peer.h | |
parent | 65a09a09d6cc3e26be9488e69895154ab2ae14fd (diff) | |
download | fastd-6b139d613ae6fa127bdce1be5c634ed4b53b1efd.tar fastd-6b139d613ae6fa127bdce1be5c634ed4b53b1efd.zip |
Clean up peer config loading
Instead of changing the peer list and peer group in the main conf during
(re-)loading, add a parser state which contains this information.
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -165,9 +165,8 @@ static inline uint16_t fastd_peer_address_get_port(const fastd_peer_address_t *a } } -fastd_peer_config_t* fastd_peer_config_new(void); +fastd_peer_config_t* fastd_peer_config_new(fastd_peer_group_t *group); void fastd_peer_config_free(fastd_peer_config_t *peer); -void fastd_peer_config_delete(void); void fastd_peer_config_purge(fastd_peer_config_t *config); bool fastd_peer_config_equal(const fastd_peer_config_t *peer1, const fastd_peer_config_t *peer2); |