strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IKEv1 XAuth: Added new "swap_initiator" method to the standard task_t interface....
[strongswan.git]
/
src
/
libcharon
/
sa
/
tasks
/
task.h
diff --git
a/src/libcharon/sa/tasks/task.h
b/src/libcharon/sa/tasks/task.h
index
8a81439
..
eebfb7a
100644
(file)
--- a/
src/libcharon/sa/tasks/task.h
+++ b/
src/libcharon/sa/tasks/task.h
@@
-73,6
+73,8
@@
enum task_type_t {
TASK_MAIN_MODE,
/** IKEv1 quick mode */
TASK_QUICK_MODE,
TASK_MAIN_MODE,
/** IKEv1 quick mode */
TASK_QUICK_MODE,
+ /** Request the user/pass with XAUTH */
+ TASK_XAUTH_REQUEST,
};
/**
};
/**
@@
-149,6
+151,11
@@
struct task_t {
* Destroys a task_t object.
*/
void (*destroy) (task_t *this);
* Destroys a task_t object.
*/
void (*destroy) (task_t *this);
+
+ /**
+ * Swaps the initiator flag in a task (if applicable, NULL OK)
+ */
+ void (*swap_initiator) (task_t *this);
};
#endif /** TASK_H_ @}*/
};
#endif /** TASK_H_ @}*/