f6856d2638dc758a55e088ef75bf6ef3074b6eba
[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 stf_status modecfg_resp(struct state *st
21 , u_int resp
22 , pb_stream *s, u_int16_t cmd
23 , bool hackthat, u_int16_t id);
24
25 stf_status modecfg_send_set(struct state *st);
26
27 extern stf_status modecfg_start_set(struct state *st);
28
29 /* Mode Config States */
30
31 extern stf_status modecfg_inR0(struct msg_digest *md);
32 extern stf_status modecfg_inR1(struct msg_digest *md);
33 extern stf_status modecfg_send_request(struct state *st);