implemented batch_ending() and solicit_recommendation() functions

This commit is contained in:
Andreas Steffen
2010-11-09 20:43:51 +01:00
parent 08235c7ded
commit d599902a3a
5 changed files with 79 additions and 1 deletions
+10 -1
View File
@@ -67,7 +67,7 @@ struct imc_manager_t {
/**
* Begin a handshake between the IMCs and a connection
*
* @param id Connection ID
* @param id connection ID
*/
void (*begin_handshake)(imc_manager_t *this, TNC_ConnectionID id);
@@ -98,6 +98,15 @@ struct imc_manager_t {
TNC_UInt32 message_len,
TNC_MessageType message_type);
/**
* Notify all IMCs that all IMV messages received in a batch have been
* delivered and this is the IMCs last chance to send a message in the
* batch of IMC messages currently being collected.
*
* @param id connection ID
*/
void (*batch_ending)(imc_manager_t *this, TNC_ConnectionID id);
/**
* Destroy an IMC manager and all its controlled instances.
*/
+16
View File
@@ -77,6 +77,13 @@ struct imv_manager_t {
TNC_MessageTypeList supported_types,
TNC_UInt32 type_count);
/**
* Solicit recommendations from IMVs that have not yet provided one
*
* @param id connection ID
*/
void (*solicit_recommendation)(imv_manager_t *this, TNC_ConnectionID id);
/**
* Delivers a message to interested IMVs.
*
@@ -91,6 +98,15 @@ struct imv_manager_t {
TNC_UInt32 message_len,
TNC_MessageType message_type);
/**
* Notify all IMVs that all IMC messages received in a batch have been
* delivered and this is the IMVs last chance to send a message in the
* batch of IMV messages currently being collected.
*
* @param id connection ID
*/
void (*batch_ending)(imv_manager_t *this, TNC_ConnectionID id);
/**
* Destroy an IMV manager and all its controlled instances.
*/