aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/config/backends/backend.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-05-18 12:25:37 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-05-18 12:25:37 +0000
commit6e04f25313223cfc0fe555439a61b702dd94563d (patch)
tree8924148f36bd05a69ca79268a552b0c69b83d41e /src/charon/config/backends/backend.h
parenta11cd0a102748bca0cc27f1261505867f6314eb7 (diff)
downloadstrongswan-6e04f25313223cfc0fe555439a61b702dd94563d.tar.bz2
strongswan-6e04f25313223cfc0fe555439a61b702dd94563d.tar.xz
support of CA-based ipsec policies
Diffstat (limited to 'src/charon/config/backends/backend.h')
-rw-r--r--src/charon/config/backends/backend.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/charon/config/backends/backend.h b/src/charon/config/backends/backend.h
index 14ab215e8..acab660b6 100644
--- a/src/charon/config/backends/backend.h
+++ b/src/charon/config/backends/backend.h
@@ -58,21 +58,17 @@ struct backend_t {
/**
* @brief Get a peer_cfg identified by two IDs.
*
- * Select a config for two IDs, the others certificate issuer, and
- * a AC certificate group. The hosts are just a hint to select the
- * correct config if multiple configs match.
+ * Select a config based on the two IDs and the other's certificate issuer
*
* @param this calling object
* @param my_id own ID
- * @param other_id peers ID
- * @param my_host address of own host
- * @param other_host address of remote host
+ * @param other_id peer ID
+ * @param other_ca_info info record on issuer of peer certificate
* @return matching peer_config, or NULL if none found
*/
peer_cfg_t *(*get_peer_cfg)(backend_t *this,
identification_t *my_id, identification_t *other_id,
- identification_t *other_ca, char *other_group,
- host_t *my_host, host_t *other_host);
+ ca_info_t *other_ca_info);
/**
* @brief Check if a backend is writable and implements writable_backend_t.