a3562490b81471107601f0d5033f2d2f889dedd3
[strongswan.git] / src / frontends / android / jni / libandroidbridge / charonservice.h
1 /*
2 * Copyright (C) 2012 Tobias Brunner
3 * Copyright (C) 2012 Giuliano Grassi
4 * Copyright (C) 2012 Ralf Sager
5 * Hochschule fuer Technik Rapperswil
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 * for more details.
16 */
17
18 /**
19 * @defgroup libandroidbridge libandroidbridge
20 *
21 * @defgroup android_kernel kernel
22 * @ingroup libandroidbridge
23 *
24 * @defgroup charonservice charonservice
25 * @{ @ingroup libandroidbridge
26 */
27
28 #ifndef CHARONSERVICE_H_
29 #define CHARONSERVICE_H_
30
31 typedef struct charonservice_t charonservice_t;
32
33 /**
34 * Public interface of charonservice.
35 *
36 * Used to communicate with CharonVpnService via JNI
37 */
38 struct charonservice_t {
39
40 };
41
42 /**
43 * The single instance of charonservice_t.
44 *
45 * Set between JNI calls to initializeCharon() and deinitializeCharon().
46 */
47 extern charonservice_t *charonservice;
48
49 #endif /** CHARONSERVICE_H_ @}*/