Replace xauth_request task with a new stub where we reimplement it

This commit is contained in:
Martin Willi
2012-03-20 17:31:15 +01:00
parent c6d0098c1b
commit 69adeb5bf2
12 changed files with 241 additions and 884 deletions
+8 -5
View File
@@ -37,6 +37,7 @@ typedef struct ike_sa_t ike_sa_t;
#include <encoding/payloads/configuration_attribute.h>
#include <sa/ike_sa_id.h>
#include <sa/child_sa.h>
#include <sa/tasks/task.h>
#include <sa/task_manager.h>
#include <sa/keymat.h>
#include <config/peer_cfg.h>
@@ -951,6 +952,13 @@ struct ike_sa_t {
*/
enumerator_t* (*create_task_enumerator)(ike_sa_t *this, task_queue_t queue);
/**
* Queue a task for initiaton to the task manager.
*
* @param task task to queue
*/
void (*queue_task)(ike_sa_t *this, task_t *task);
/**
* Inherit all attributes of other to this after rekeying.
*
@@ -971,11 +979,6 @@ struct ike_sa_t {
* Destroys a ike_sa_t object.
*/
void (*destroy) (ike_sa_t *this);
/**
* Initiate an XAuth authentication exchange.
*/
status_t (*initiate_xauth) (ike_sa_t *this, bool initiate);
};
/**