]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_distributed.h
Added Makefiles for OMK makesystem
[frescor/frsh-include.git] / frsh_distributed.h
index 1c5e4ca0438fc58ccbc97ff85f9612011aa2c672..cd0055c9ffd6a36b007770de3c1f98bf7278527a 100644 (file)
@@ -229,7 +229,7 @@ int frsh_network_get_max_message_size
 int frsh_network_bytes_to_budget
    (const frsh_resource_id_t resource_id,
     const size_t nbytes,
-    struct timespec *budget);
+    frsh_rel_time_t *budget);
 
 /**
  * frsh_network_budget_to_bytes()
@@ -253,7 +253,7 @@ int frsh_network_bytes_to_budget
  **/
 int frsh_network_budget_to_bytes
    (const frsh_resource_id_t resource_id,
-    const struct timespec *budget,
+    const frsh_rel_time_t *budget,
     size_t *nbytes);
 
 /**
@@ -286,7 +286,7 @@ int frsh_network_budget_to_bytes
  **/
 int frsh_network_get_min_effective_budget
    (const frsh_resource_id_t resource_id,
-    struct timespec *budget);
+    frsh_rel_time_t *budget);
 
 /**
  * frsh_contract_set_queueing_info()
@@ -481,7 +481,6 @@ int frsh_send_endpoint_get_params
 int frsh_send_endpoint_destroy
      (frsh_send_endpoint_t  endpoint);
 
-
 /**
  * frsh_send_endpoint_bind()
  *
@@ -571,7 +570,7 @@ int frsh_send_async
  **/
 int frsh_send_sync
   (const frsh_send_endpoint_t endpoint,
-   void                       *msg,
+   const void                 *msg,
    size_t                      size);
 
 /**