Updates to autotools for library detection
[distributedratelimiting.git] / drl / config.h
index 0b202c7..883b641 100644 (file)
@@ -69,6 +69,22 @@ typedef struct ident_config {
     /** The gossip branch factor (when commfabric is COMM_GOSSIP). */
     int branch;
 
+    /** The gossip group membership policy (SWIM, ZOOKEEPER). */
+    enum memberships membership;
+
+    /** The behavioral policy to use when one or more failures in group
+     * membership are detected. */
+    enum failure_behaviors failure_behavior;
+
+#ifdef BUILD_ZOOKEEPER
+
+    /** The host string that should be passed to zookeeper_init when using
+     * zookeeper.  This consists of comma-separated ipaddr:port pairs. Example:
+     * "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002" */
+    char *zk_host;
+
+#endif
+
     /** The flow accounting mechanism to be used by this identity. */
     enum accountings accounting;