protection against insane IMCs and IMVs

This commit is contained in:
Andreas Steffen
2011-05-11 19:34:01 +02:00
parent 61e3819d04
commit e8a512f800
6 changed files with 125 additions and 6 deletions
+8
View File
@@ -48,6 +48,14 @@ struct imc_manager_t {
*/
imc_t* (*remove)(imc_manager_t *this, TNC_IMCID id);
/**
* Check if an IMC with a given ID is registered with the IMC manager
*
* @param id ID of IMC instance
* @return TRUE if registered
*/
bool (*is_registered)(imc_manager_t *this, TNC_IMCID id);
/**
* Return the preferred language for recommendations
*
+9
View File
@@ -49,6 +49,15 @@ struct imv_manager_t {
*/
imv_t* (*remove)(imv_manager_t *this, TNC_IMVID id);
/**
* Check if an IMV with a given ID is registered with the IMV manager
*
* @param id ID of IMV instance
* @return TRUE if registered
*/
bool (*is_registered)(imv_manager_t *this, TNC_IMVID id);
/**
* Get the configured recommendation policy
*