diff options
author | Yves-Alexis Perez <corsac@debian.org> | 2013-08-25 15:37:26 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@debian.org> | 2013-08-25 15:37:26 +0200 |
commit | 6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349 (patch) | |
tree | 009fc492961e13860d2a4bc2de8caf2bbe2975e7 /src/libimcv/imcv.h | |
parent | c83921a2b566aa9d55d8ccc7258f04fca6292ee6 (diff) | |
download | vyos-strongswan-6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349.tar.gz vyos-strongswan-6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349.zip |
Imported Upstream version 5.1.0
Diffstat (limited to 'src/libimcv/imcv.h')
-rw-r--r-- | src/libimcv/imcv.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libimcv/imcv.h b/src/libimcv/imcv.h index 3a37e3d8c..10c66e65a 100644 --- a/src/libimcv/imcv.h +++ b/src/libimcv/imcv.h @@ -35,15 +35,17 @@ #define IMCV_H_ #include "pa_tnc/pa_tnc_attr_manager.h" +#include "imv/imv_database.h" #include <library.h> /** * Initialize libimcv. * + * @param is_imv TRUE if called by IMV, FALSE if by IMC * @return FALSE if initialization failed */ -bool libimcv_init(void); +bool libimcv_init(bool is_imv); /** * Deinitialize libimcv. @@ -55,4 +57,9 @@ void libimcv_deinit(void); */ extern pa_tnc_attr_manager_t* imcv_pa_tnc_attributes; +/** + * Global IMV database object + */ +extern imv_database_t* imcv_db; + #endif /** IMCV_H_ @}*/ |