summaryrefslogtreecommitdiff
path: root/src/charon/sa/task_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/sa/task_manager.h')
-rw-r--r--src/charon/sa/task_manager.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/charon/sa/task_manager.h b/src/charon/sa/task_manager.h
index 6243ac888..2aa6018fd 100644
--- a/src/charon/sa/task_manager.h
+++ b/src/charon/sa/task_manager.h
@@ -12,7 +12,7 @@
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
- * $Id: task_manager.h 3589 2008-03-13 14:14:44Z martin $
+ * $Id: task_manager.h 4689 2008-11-24 12:46:06Z martin $
*/
/**
@@ -25,6 +25,8 @@
typedef struct task_manager_t task_manager_t;
+#include <limits.h>
+
#include <library.h>
#include <encoding/message.h>
#include <sa/ike_sa.h>
@@ -125,7 +127,7 @@ struct task_manager_t {
* - SUCCESS if retransmission sent
*/
status_t (*retransmit) (task_manager_t *this, u_int32_t message_id);
-
+
/**
* Migrate all tasks from other to this.
*
@@ -143,10 +145,12 @@ struct task_manager_t {
* reset to zero (INVALID_KE_PAYLOAD, COOKIES, ...). The reset() method
* resets the message IDs and resets all active tasks using the migrate()
* method.
- *
- * @param other manager which gives away its tasks
+ * Use a value of UINT_MAX to keep the current message ID.
+ *
+ * @param initiate message ID to initiate exchanges (send)
+ * @param respond message ID to respond to exchanges (expect)
*/
- void (*reset) (task_manager_t *this);
+ void (*reset) (task_manager_t *this, u_int32_t initiate, u_int32_t respond);
/**
* Check if we are currently waiting for a reply.