implement a preferred language enumerator
This commit is contained in:
@@ -137,14 +137,6 @@ struct imv_agent_t {
|
||||
bool (*get_state)(imv_agent_t *this,
|
||||
TNC_ConnectionID connection_id, imv_state_t **state);
|
||||
|
||||
/**
|
||||
* Deliver IMV Action Recommendation and IMV Evaluation Result to the TNCS
|
||||
*
|
||||
* @param state state bound to a connection ID
|
||||
* @return TNC result code
|
||||
*/
|
||||
TNC_Result (*provide_recommendation)(imv_agent_t *this, imv_state_t* state);
|
||||
|
||||
/**
|
||||
* Get IMV name
|
||||
*
|
||||
@@ -179,6 +171,22 @@ struct imv_agent_t {
|
||||
*/
|
||||
enumerator_t* (*create_id_enumerator)(imv_agent_t *this);
|
||||
|
||||
/**
|
||||
* Create a preferred languages enumerator
|
||||
*
|
||||
* @param state of TNCCS connection
|
||||
*/
|
||||
enumerator_t* (*create_language_enumerator)(imv_agent_t *this,
|
||||
imv_state_t *state);
|
||||
|
||||
/**
|
||||
* Deliver IMV Action Recommendation and IMV Evaluation Result to the TNCS
|
||||
*
|
||||
* @param state state bound to a connection ID
|
||||
* @return TNC result code
|
||||
*/
|
||||
TNC_Result (*provide_recommendation)(imv_agent_t *this, imv_state_t* state);
|
||||
|
||||
/**
|
||||
* Destroys an imv_agent_t object
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user