protection against insane IMCs and IMVs
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user