Support enumeration of key/value pairs in a section of strongswan.conf
This commit is contained in:
@@ -103,6 +103,17 @@ struct settings_t {
|
||||
*/
|
||||
enumerator_t* (*create_section_enumerator)(settings_t *this,
|
||||
char *section, ...);
|
||||
|
||||
/**
|
||||
* Create an enumerator over key/value pairs in a section.
|
||||
*
|
||||
* @param section section name to list key/value pairs of, printf style
|
||||
* @param ... argmuent list for section
|
||||
* @return enumerator over (char *key, char *value)
|
||||
*/
|
||||
enumerator_t* (*create_key_value_enumerator)(settings_t *this,
|
||||
char *section, ...);
|
||||
|
||||
/**
|
||||
* Destroy a settings instance.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user