aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/modecfg.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-12-19 22:51:48 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-12-19 22:51:48 +0000
commit86ae0969b4e2e884764f811bc28118a99e14a694 (patch)
tree8c3caa062668eed032da9c30014ed413ef60bc2a /src/pluto/modecfg.h
parent0c409f097c4db02cdf4c614398aadb154b54d332 (diff)
downloadstrongswan-86ae0969b4e2e884764f811bc28118a99e14a694.tar.bz2
strongswan-86ae0969b4e2e884764f811bc28118a99e14a694.tar.xz
added XAUTH server and client support
Diffstat (limited to 'src/pluto/modecfg.h')
-rw-r--r--src/pluto/modecfg.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/pluto/modecfg.h b/src/pluto/modecfg.h
index 969a014a0..fe00067b7 100644
--- a/src/pluto/modecfg.h
+++ b/src/pluto/modecfg.h
@@ -15,7 +15,11 @@
* RCSID $Id: modecfg.h,v 1.1 2005/01/06 22:10:15 as Exp $
*/
+#ifndef _MODECFG_H
+#define _MODECFG_H
+
struct state;
+struct msg_digest;
/* ModeConfig starting functions */
extern stf_status modecfg_send_request(struct state *st);
@@ -26,3 +30,14 @@ extern stf_status modecfg_inR0(struct msg_digest *md);
extern stf_status modecfg_inR1(struct msg_digest *md);
extern stf_status modecfg_inI1(struct msg_digest *md);
extern stf_status modecfg_inI2(struct msg_digest *md);
+
+/* XAUTH start function */
+extern stf_status xauth_send_request(struct state *st);
+
+/* XAUTH state transition funcgtions */
+extern stf_status xauth_inR1(struct msg_digest *md);
+extern stf_status xauth_inR2(struct msg_digest *md);
+extern stf_status xauth_inI0(struct msg_digest *md);
+extern stf_status xauth_inI1(struct msg_digest *md);
+
+#endif /* _MODECFG_H */