Don't fail with an error if an attribute that is to be deleted does not exist
[strongswan.git] / src / libhydra / plugins / attr_sql / pool_attributes.h
index df7b57d..04cfbf9 100644 (file)
@@ -29,6 +29,11 @@ enum value_type_t {
 };
 
 /**
+ * enum names for value_type_t.
+ */
+extern enum_name_t *value_type_names;
+
+/**
  * ipsec pool --addattr <type>  - add attribute entry
  */
 void add_attr(char *name, char *value, value_type_t value_type);
@@ -41,7 +46,12 @@ void del_attr(char *name, char *value, value_type_t value_type);
 /**
  * ipsec pool --statusattr      - show all attribute entries
  */
-void status_attr(void);
+void status_attr(bool hexout);
+
+/**
+ * ipsec pool --showattr - show all supported attribute keywords
+ */
+void show_attr(void);
 
 #endif /* POOL_ATTRIBUTES_H_ */