strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added get_count() method to IMC/IMV managers
[strongswan.git]
/
src
/
libcharon
/
tnc
/
imv
/
imv_manager.h
diff --git
a/src/libcharon/tnc/imv/imv_manager.h
b/src/libcharon/tnc/imv/imv_manager.h
index
c7b21d1
..
fca8d1b
100644
(file)
--- a/
src/libcharon/tnc/imv/imv_manager.h
+++ b/
src/libcharon/tnc/imv/imv_manager.h
@@
-49,6
+49,13
@@
struct imv_manager_t {
imv_t* (*remove)(imv_manager_t *this, TNC_IMVID id);
/**
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
*
* @param state communicate the state a connection has reached
* Notify all IMV instances
*
* @param state communicate the state a connection has reached