diff options
author | Jan Hutter <jhutter@hsr.ch> | 2005-11-22 11:55:17 +0000 |
---|---|---|
committer | Jan Hutter <jhutter@hsr.ch> | 2005-11-22 11:55:17 +0000 |
commit | 323ff573d2e535e7cf81fd1cce954bae4645fff3 (patch) | |
tree | f3474b26b8bf3120b20627c8e4a0e4a44d34d29e /Source/charon/configuration_manager.h | |
parent | 723b6664521b0d4e4fb77f655b92706f19fc3998 (diff) | |
download | strongswan-323ff573d2e535e7cf81fd1cce954bae4645fff3.tar.bz2 strongswan-323ff573d2e535e7cf81fd1cce954bae4645fff3.tar.xz |
- partly documented
Diffstat (limited to 'Source/charon/configuration_manager.h')
-rw-r--r-- | Source/charon/configuration_manager.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/charon/configuration_manager.h b/Source/charon/configuration_manager.h index af3f534da..07cdef58c 100644 --- a/Source/charon/configuration_manager.h +++ b/Source/charon/configuration_manager.h @@ -27,6 +27,9 @@ #include "utils/linked_list.h" #include "utils/host.h" #include "payloads/transform_substructure.h" +#include "transforms/prfs/prf.h" +#include "transforms/signers/signer.h" +#include "transforms/crypters/crypter.h" /** * @brief Manages all configuration aspects of the daemon. @@ -36,6 +39,18 @@ typedef struct configuration_manager_s configuration_manager_t; struct configuration_manager_s { + /** + * Gets the remote host informations for a specific configuration name + * + * @param this calling object + * @param name name of the configuration + * @param host remote host informations are stored at this location + * + * @return + * - NOT_FOUND + * - SUCCESS + * - OUT_OF_RES + */ status_t (*get_remote_host) (configuration_manager_t *this, char *name, host_t **host); status_t (*get_local_host) (configuration_manager_t *this, char *name, host_t **host); @@ -46,6 +61,8 @@ struct configuration_manager_s { status_t (*select_proposals_for_host) (configuration_manager_t *this, host_t *host, linked_list_iterator_t *in, linked_list_iterator_t *out); + status_t (*get_transforms_for_host_and_proposals) (configuration_manager_t *this, host_t *host, linked_list_iterator_t *proposals,crypter_t **crypter,signer_t **signer, prf_t **prf); + status_t (*is_dh_group_allowed_for_host) (configuration_manager_t *this, host_t *host, diffie_hellman_group_t group, bool *allowed); status_t (*destroy) (configuration_manager_t *this); |