aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr_sql/pool_attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhydra/plugins/attr_sql/pool_attributes.h')
-rw-r--r--src/libhydra/plugins/attr_sql/pool_attributes.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/libhydra/plugins/attr_sql/pool_attributes.h b/src/libhydra/plugins/attr_sql/pool_attributes.h
index 04cfbf948..a42291f57 100644
--- a/src/libhydra/plugins/attr_sql/pool_attributes.h
+++ b/src/libhydra/plugins/attr_sql/pool_attributes.h
@@ -34,14 +34,21 @@ enum value_type_t {
extern enum_name_t *value_type_names;
/**
+ * lookup/insert an identity
+ */
+u_int get_identity(identification_t *id);
+
+/**
* ipsec pool --addattr <type> - add attribute entry
*/
-void add_attr(char *name, char *value, value_type_t value_type);
+void add_attr(char *name, char *pool, char *identity,
+ char *value, value_type_t value_type);
/**
* ipsec pool --delattr <type> - delete attribute entry
*/
-void del_attr(char *name, char *value, value_type_t value_type);
+void del_attr(char *name, char *pool, char *identity,
+ char *value, value_type_t value_type);
/**
* ipsec pool --statusattr - show all attribute entries