summaryrefslogtreecommitdiff
path: root/src/charon/config/backend_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/config/backend_manager.h')
-rw-r--r--src/charon/config/backend_manager.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/charon/config/backend_manager.h b/src/charon/config/backend_manager.h
index 22a19a218..7ca6d660e 100644
--- a/src/charon/config/backend_manager.h
+++ b/src/charon/config/backend_manager.h
@@ -88,6 +88,15 @@ struct backend_manager_t {
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.
*
* @param this calling object