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()
**/
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);
/**
**/
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()
int frsh_send_endpoint_destroy
(frsh_send_endpoint_t endpoint);
-
/**
* frsh_send_endpoint_bind()
*
**/
int frsh_send_sync
(const frsh_send_endpoint_t endpoint,
- void *msg,
+ const void *msg,
size_t size);
/**