implement a preferred language enumerator

This commit is contained in:
Andreas Steffen
2012-11-10 21:35:46 +01:00
parent 4ccc4fd97c
commit db15c6dac1
7 changed files with 226 additions and 164 deletions
+16 -8
View File
@@ -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
*/