summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-11-05 18:26:55 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-11-05 18:26:55 +0100
commitf631c10660c7c0bcdbf793bb1588670fb9ea82e6 (patch)
tree280d32d74c48bfde96cc3510df51e50a5609fa31 /src/peer.h
parent0c2f5da1650a295c29001e50384ec2f605055aed (diff)
downloadfastd-f631c10660c7c0bcdbf793bb1588670fb9ea82e6.tar
fastd-f631c10660c7c0bcdbf793bb1588670fb9ea82e6.zip
Implement peer groups
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peer.h b/src/peer.h
index 3e37230..1e2cad0 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -34,6 +34,7 @@ struct _fastd_peer {
fastd_peer *next;
const fastd_peer_config *config;
+ fastd_peer_group *group;
fastd_socket *sock;
fastd_peer_address address;
@@ -65,6 +66,7 @@ struct _fastd_peer_config {
fastd_peer_address address;
bool dynamic_float;
char *key;
+ const fastd_peer_group_config *group;
fastd_protocol_peer_config *protocol_config;
};