prototype implemementation of an sqlite configuration backend

This commit is contained in:
Martin Willi
2007-09-18 07:12:21 +00:00
parent c93a608747
commit 8f561d4409
11 changed files with 473 additions and 86 deletions
+9
View File
@@ -87,6 +87,15 @@ struct backend_manager_t {
identification_t *my_id, identification_t *other_id,
ca_info_t *other_ca_info);
/**
* @brief Get a peer_config identified by it's name.
*
* @param this calling object
* @param name name of the peer_config
* @return matching peer_config, or NULL if none found
*/
peer_cfg_t* (*get_peer_cfg_by_name)(backend_manager_t *this, char *name);
/**
* @brief Add a peer_config to the first found writable backend.
*