implemented batch_ending() and solicit_recommendation() functions
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user