libimcv: Fix Doxygen comments after merging libpts into libimcv
[strongswan.git] / src / libimcv / imcv.h
1 /*
2 * Copyright (C) 2011 Andreas Steffen, HSR Hochschule fuer Technik Rapperswil
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
13 */
14
15 /**
16 * @defgroup libimcv libimcv
17 *
18 * @defgroup libimcv_imc imc
19 * @ingroup libimcv
20 *
21 * @defgroup libimcv_imv imv
22 * @ingroup libimcv
23 *
24 * @defgroup pa_tnc pa_tnc
25 * @ingroup libimcv
26 *
27 * @defgroup libimcv_plugins plugins
28 * @ingroup libimcv
29 *
30 * @defgroup libimcv_seg seg
31 * @ingroup libimcv
32 *
33 * @defgroup libimcv_swid swid
34 * @ingroup libimcv
35 *
36 * @addtogroup libimcv
37 * @{
38 */
39
40 #ifndef IMCV_H_
41 #define IMCV_H_
42
43 #include "pa_tnc/pa_tnc_attr_manager.h"
44 #include "imv/imv_database.h"
45 #include "imv/imv_session_manager.h"
46 #include "pts/components/pts_component_manager.h"
47
48 #include <library.h>
49
50 /**
51 * Initialize libimcv.
52 *
53 * @param is_imv TRUE if called by IMV, FALSE if by IMC
54 * @return FALSE if initialization failed
55 */
56 bool libimcv_init(bool is_imv);
57
58 /**
59 * Deinitialize libimcv.
60 */
61 void libimcv_deinit(void);
62
63 /**
64 * PA-TNC attribute manager
65 */
66 extern pa_tnc_attr_manager_t* imcv_pa_tnc_attributes;
67
68 /**
69 * Global IMV database object
70 */
71 extern imv_database_t* imcv_db;
72
73 /**
74 * Global IMV session manager
75 */
76 extern imv_session_manager_t* imcv_sessions;
77
78 /**
79 * PTS Functional Component manager
80 */
81 extern pts_component_manager_t* imcv_pts_components;
82
83 #endif /** IMCV_H_ @}*/