diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-07-13 13:32:27 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-08-08 15:41:03 +0200 |
commit | b50f56f326d1e58d13f4287280799236fd239a05 (patch) | |
tree | cbee4e217429da513516c2073305483da12e29f0 /src/libipsec/ipsec.h | |
parent | 914479370ed23aa420a15ef3f19c2c39dce3b133 (diff) | |
download | strongswan-b50f56f326d1e58d13f4287280799236fd239a05.tar.bz2 strongswan-b50f56f326d1e58d13f4287280799236fd239a05.tar.xz |
Added class to relay IPsec events (like expiration) to listeners
Currently, only expiration of IPsec SAs is supported. Later other events
for e.g. acquires or changed NAT endpoints could be added.
Diffstat (limited to 'src/libipsec/ipsec.h')
-rw-r--r-- | src/libipsec/ipsec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libipsec/ipsec.h b/src/libipsec/ipsec.h index e4055a8bd..304738170 100644 --- a/src/libipsec/ipsec.h +++ b/src/libipsec/ipsec.h @@ -26,6 +26,7 @@ #define IPSEC_H_ #include "ipsec_sa_mgr.h" +#include "ipsec_event_relay.h" #include <library.h> @@ -41,6 +42,11 @@ struct ipsec_t { */ ipsec_sa_mgr_t *sas; + /** + * Event relay instance + */ + ipsec_event_relay_t *events; + }; /** |