]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_feedback_control.h
Updating FRSH license header prior to release for the end of the
[frescor/frsh-include.git] / frsh_feedback_control.h
index c0d51a3c03d2c1304ab7e9732ee6f806cf0b54c3..d06fe7512f58ec6b280231f9279b87a372d563d0 100644 (file)
@@ -1,5 +1,5 @@
 // -----------------------------------------------------------------------
-//  Copyright (C) 2006 - 2008 FRESCOR consortium partners:
+//  Copyright (C) 2006 - 2009 FRESCOR consortium partners:
 //
 //    Universidad de Cantabria,              SPAIN
 //    University of York,                    UK
@@ -128,16 +128,20 @@ FRSH_CPP_BEGIN_DECLS
  *
  * @note
  * No threads must be ever attached to the contract identified by
- * spare_id.
+ * spare_id. If this happens, behaviour is unspecified.
+ *
+ * @note
+ * This function must be called only once. If it is called more than
+ * once, then the behaviour is unspecified.
  **/
-int frsh_feedback_set_spare(frsh_vres_id_t spare_id);
+int frsh_feedback_set_spare(const frsh_contract_t *spare_contract);
 
 /**
  * frsh_feedback_get_spare()
  *
  * Get version of the frsh_feedback_set_spare() function.
  **/
-int frsh_feedback_get_spare(frsh_vres_id_t *p_spare_id);
+int frsh_feedback_get_spare(frsh_contract_t *spare_contract);
 
 /**
  * frsh_feedback_set_desired_budget()