added get_count() method to IMC/IMV managers
[strongswan.git] / src / libcharon / tnc / imc / imc_manager.h
index 169259f..7ce54da 100644 (file)
@@ -49,6 +49,13 @@ struct imc_manager_t {
        imc_t* (*remove)(imc_manager_t *this, TNC_IMCID id);
 
        /**
        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
         *
         * @param state                 communicate the state a connection has reached
         * Notify all IMC instances
         *
         * @param state                 communicate the state a connection has reached