implemented ike_up() bus hook

This commit is contained in:
Martin Willi
2009-07-09 15:25:16 +02:00
parent f5f37cc7fa
commit fa1d3c6629
3 changed files with 40 additions and 0 deletions
+8
View File
@@ -261,6 +261,14 @@ struct bus_t {
void (*child_keys)(bus_t *this, child_sa_t *child_sa, diffie_hellman_t *dh,
chunk_t nonce_i, chunk_t nonce_r);
/**
* IKE_SA up/down hook.
*
* @param ike_sa IKE_SA coming up/going down
* @param up TRUE for an up event, FALSE for a down event
*/
void (*ike_updown)(bus_t *this, ike_sa_t *ike_sa, bool up);
/**
* IKE_SA rekeying hook.
*