added imc/imv_manager remove method
This commit is contained in:
@@ -40,6 +40,14 @@ struct imc_manager_t {
|
||||
*/
|
||||
bool (*add)(imc_manager_t *this, imc_t *imc);
|
||||
|
||||
/**
|
||||
* Remove an IMC instance from the list and return it
|
||||
*
|
||||
* @param id ID of IMC instance
|
||||
* @return removed IMC instance
|
||||
*/
|
||||
imc_t* (*remove)(imc_manager_t *this, TNC_IMCID id);
|
||||
|
||||
/**
|
||||
* Notify all IMC instances
|
||||
*
|
||||
|
||||
@@ -40,6 +40,14 @@ struct imv_manager_t {
|
||||
*/
|
||||
bool (*add)(imv_manager_t *this, imv_t *imv);
|
||||
|
||||
/**
|
||||
* Remove an IMV instance from the list and return it
|
||||
*
|
||||
* @param id ID of IMV instance
|
||||
* @return removed IMC instance
|
||||
*/
|
||||
void (*remove)(imv_manager_t *this, TNC_IMVID id);
|
||||
|
||||
/**
|
||||
* Notify all IMV instances
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user