kernel-netlink: Check return value of both halfs when installing default route in...
[strongswan.git] / src / starter / starterstroke.h
1 /*
2 * Copyright (C) 2006 Martin Willi
3 * HSR Hochschule fuer Technik Rapperswil
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
16 #ifndef _STARTER_STROKE_H_
17 #define _STARTER_STROKE_H_
18
19 #include "confread.h"
20
21 int starter_stroke_add_conn(starter_config_t *cfg, starter_conn_t *conn);
22 int starter_stroke_del_conn(starter_conn_t *conn);
23 int starter_stroke_route_conn(starter_conn_t *conn);
24 int starter_stroke_unroute_conn(starter_conn_t *conn);
25 int starter_stroke_initiate_conn(starter_conn_t *conn);
26 int starter_stroke_add_ca(starter_ca_t *ca);
27 int starter_stroke_del_ca(starter_ca_t *ca);
28 int starter_stroke_configure(starter_config_t *cfg);
29
30 #endif /* _STARTER_STROKE_H_ */