]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/commitdiff
Added forgotten function frsh_get_remaining_statiblity_time()
authortelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 13 Feb 2007 11:54:51 +0000 (11:54 +0000)
committertelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 13 Feb 2007 11:54:51 +0000 (11:54 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@295 35b4ef3e-fd22-0410-ab77-dab3279adceb

frsh_spare_capacity.h

index 2b69d3716fb88591f9f0cf7de4d13edd96a55528..0bead405d036ca2b8853cac951e388ccb623f989 100644 (file)
@@ -225,6 +225,23 @@ int frsh_get_contract_reclamation_parameters
    int                             *weight);
 
 
+/**
+ * frsh_get_remaining_stability_time()
+ *
+ * This operation returns the remaining_stability_time for the server.
+ *
+ * @return 0 if successful
+ *   FRSH_ERR_BAD_ARGUMENT : if the value of the server argument is not in range or
+ *       capacity is NULL
+ *   FRSH_ERR_NOT_SCHEDULED_CALLING_THREAD : if the calling thread is not
+ *       scheduled under the FRSH
+ *   FRSH_ERR_INVALID_SCHEDULER_REPLY : the scheduler is wrong or not running
+ *   FRSH_ERR_NOT_CONTRACTED_SERVER : if the server has been cancelled or it
+ *       is not valid
+ * 
+ **/
+int frsh_get_remaining_stability_time(frsh_server_id server, 
+                                      struct timespec *remaining_stability_time);
 
 /**
  * frsh_get_available_capacity()