diff options
author | Martin Willi <martin@strongswan.org> | 2006-02-08 15:25:34 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-02-08 15:25:34 +0000 |
commit | c06dbbabd1498d614d4db88bb4205e2afcd6dab8 (patch) | |
tree | 694e4df33baf70813367276b6956d9e6a714742e /Source/charon/config/sa_config.h | |
parent | 384efc76d58eea98648988045de413a6cc027dff (diff) | |
download | strongswan-c06dbbabd1498d614d4db88bb4205e2afcd6dab8.tar.bz2 strongswan-c06dbbabd1498d614d4db88bb4205e2afcd6dab8.tar.xz |
- fixed alot of bugs in child_proposal
- near to working state ;-)
Diffstat (limited to 'Source/charon/config/sa_config.h')
-rw-r--r-- | Source/charon/config/sa_config.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/charon/config/sa_config.h b/Source/charon/config/sa_config.h index 0bfde778b..fd1952864 100644 --- a/Source/charon/config/sa_config.h +++ b/Source/charon/config/sa_config.h @@ -154,15 +154,18 @@ struct sa_config_t { size_t (*select_traffic_selectors_responder) (sa_config_t *this, traffic_selector_t *supplied[], size_t count, traffic_selector_t **selected[]); /** - * @brief Get an iterator for the internally stored proposals. + * @brief Get the list of internally stored proposals. * - * @warning Items are still owned by sa_config and MUST NOT + * Rembember: sa_config_t does store proposals for AH/ESP, + * IKE proposals are in the init_config_t + * + * @warning List and Items are still owned by sa_config and MUST NOT * be manipulated or freed! * * @param this calling object - * @return iterator for the proposals + * @return lists with proposals */ - iterator_t *(*create_proposal_iterator) (sa_config_t *this); + linked_list_t *(*get_proposals) (sa_config_t *this); /** * @brief Select a proposal from a supplied list. |