aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/stroke/stroke_attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/plugins/stroke/stroke_attribute.h')
-rw-r--r--src/charon/plugins/stroke/stroke_attribute.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/charon/plugins/stroke/stroke_attribute.h b/src/charon/plugins/stroke/stroke_attribute.h
index 3d6b9352f..5060dc987 100644
--- a/src/charon/plugins/stroke/stroke_attribute.h
+++ b/src/charon/plugins/stroke/stroke_attribute.h
@@ -64,6 +64,17 @@ struct stroke_attribute_t {
enumerator_t* (*create_pool_enumerator)(stroke_attribute_t *this);
/**
+ * Create an enumerator over the leases of a pool.
+ *
+ * Enumerator enumerates over
+ * identification_t *id, host_t *address, bool online
+ *
+ * @param pool name of the pool to enumerate
+ * @return enumerator, NULL if pool not found
+ */
+ enumerator_t* (*create_lease_enumerator)(stroke_attribute_t *this,
+ char *pool);
+ /**
* Destroy a stroke_attribute instance.
*/
void (*destroy)(stroke_attribute_t *this);