refactoring of change_state()

This commit is contained in:
Andreas Steffen
2011-06-23 19:52:30 +02:00
parent 315c554571
commit 7401269517
6 changed files with 37 additions and 23 deletions
+3 -1
View File
@@ -79,11 +79,13 @@ struct imv_agent_t {
*
* @param connection_id network connection ID assigned by TNCS
* @param new_state new state of TNCCS connection
* @param state_p internal IMV state instance [optional argument]
* @return TNC result code
*/
TNC_Result (*change_state)(imv_agent_t *this,
TNC_ConnectionID connection_id,
TNC_ConnectionState new_state);
TNC_ConnectionState new_state,
imv_state_t **state_p);
/**
* Get the IMV state for a TNCCS connection instance