added get_count() method to IMC/IMV managers
This commit is contained in:
@@ -48,6 +48,13 @@ struct imc_manager_t {
|
||||
*/
|
||||
imc_t* (*remove)(imc_manager_t *this, TNC_IMCID id);
|
||||
|
||||
/**
|
||||
* Return the number of registered IMCs
|
||||
*
|
||||
* @return number of IMCs
|
||||
*/
|
||||
int (*get_count)(imc_manager_t *this);
|
||||
|
||||
/**
|
||||
* Notify all IMC instances
|
||||
*
|
||||
|
||||
@@ -48,6 +48,13 @@ struct imv_manager_t {
|
||||
*/
|
||||
imv_t* (*remove)(imv_manager_t *this, TNC_IMVID id);
|
||||
|
||||
/**
|
||||
* Return the number of registered IMVs
|
||||
*
|
||||
* @return number of IMVs
|
||||
*/
|
||||
int (*get_count)(imv_manager_t *this);
|
||||
|
||||
/**
|
||||
* Notify all IMV instances
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user