added imc/imv_manager remove method

This commit is contained in:
Andreas Steffen
2010-11-09 20:43:51 +01:00
parent bcd386a95f
commit 1dc7b22c53
4 changed files with 56 additions and 0 deletions
+8
View File
@@ -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
*
+8
View File
@@ -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
*