diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-09-24 14:33:39 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-10-14 17:36:19 +0200 |
commit | 5232ebb1b46d7072bd8621590e8efec7ee9f8de7 (patch) | |
tree | 05af43009ebc743330ea0bbd65ecfca2b4914dba /src/libstrongswan/credentials/sets/mem_cred.h | |
parent | 8a47cd909b8cb8ec99b30f4d3c7bb1e09ffc96cb (diff) | |
download | strongswan-5232ebb1b46d7072bd8621590e8efec7ee9f8de7.tar.bz2 strongswan-5232ebb1b46d7072bd8621590e8efec7ee9f8de7.tar.xz |
Added function to clear all credentials from mem_cred_t.
Diffstat (limited to 'src/libstrongswan/credentials/sets/mem_cred.h')
-rw-r--r-- | src/libstrongswan/credentials/sets/mem_cred.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstrongswan/credentials/sets/mem_cred.h b/src/libstrongswan/credentials/sets/mem_cred.h index ccb04e6fd..b26e43d6c 100644 --- a/src/libstrongswan/credentials/sets/mem_cred.h +++ b/src/libstrongswan/credentials/sets/mem_cred.h @@ -59,6 +59,11 @@ struct mem_cred_t { void (*add_shared)(mem_cred_t *this, shared_key_t *shared, ...); /** + * Clear all credentials from the credential set. + */ + void (*clear)(mem_cred_t *this); + + /** * Destroy a mem_cred_t. */ void (*destroy)(mem_cred_t *this); |