support of ModeCfg Push mode
[strongswan.git] / src / pluto / modecfg.h
1 /* Mode Config related functions
2 * Copyright (C) 2001-2002 Colubris Networks
3 * Copyright (C) 2003-2004 Xelerance Corporation
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 *
15 * RCSID $Id: modecfg.h,v 1.1 2005/01/06 22:10:15 as Exp $
16 */
17
18 struct state;
19
20 /* ModeConfig starting functions */
21 extern stf_status modecfg_send_request(struct state *st);
22 extern stf_status modecfg_send_set(struct state *st);
23
24 /* ModeConfig state transition functions */
25 extern stf_status modecfg_inR0(struct msg_digest *md);
26 extern stf_status modecfg_inR1(struct msg_digest *md);
27 extern stf_status modecfg_inI1(struct msg_digest *md);
28 extern stf_status modecfg_inI2(struct msg_digest *md);