From bf86306ef36856837bd23ce9b3125f972c906d76 Mon Sep 17 00:00:00 2001 From: sangorrin Date: Thu, 22 Mar 2007 12:03:17 +0000 Subject: [PATCH] bind y receive address git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@363 35b4ef3e-fd22-0410-ab77-dab3279adceb --- frsh_distributed.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/frsh_distributed.h b/frsh_distributed.h index f450d40..c23fd7e 100644 --- a/frsh_distributed.h +++ b/frsh_distributed.h @@ -352,6 +352,7 @@ int frsh_send_endpoint_create (frsh_resource_id_t network_id, frsh_network_address_t destination, frsh_stream_id_t stream_id, + frsh_send_endpoint_protocol_info_t protocol_info, frsh_send_endpoint_t *endpoint); /** @@ -364,7 +365,8 @@ int frsh_send_endpoint_get_params (const frsh_send_endpoint_t *endpoint, frsh_resource_id_t *network_id, frsh_network_address_t *destination, - frsh_stream_id_t *stream); + frsh_stream_id_t *stream, + frsh_send_endpoint_protocol_info_t *protocol_info); /** * frsh_send_endpoint_destroy() @@ -470,8 +472,6 @@ int frsh_send_sync void *msg, size_t size); - - /** * frsh_send_endpoint_get_status() * @@ -514,10 +514,9 @@ int frsh_receive_endpoint_create (frsh_resource_id_t network_id, frsh_stream_id_t stream_id, frsh_endpoint_queueing_info_t queueing_info, - frsh_protocol_info_t protocol_info, + frsh_receive_endpoint_protocol_info_t protocol_info, frsh_receive_endpoint_t *endpoint); - /** * frsh_receive_endpoint_get_params() * @@ -525,11 +524,11 @@ int frsh_receive_endpoint_create * endpoint at creation time. **/ int frsh_receive_endpoint_get_params - (frsh_resource_id_t *network_id, + (const frsh_receive_endpoint_t *endpoint, + frsh_resource_id_t *network_id, frsh_stream_id_t *stream, frsh_endpoint_queueing_info_t *queueing_info, - frsh_protocol_info_t *protocol_info, - const frsh_receive_endpoint_t *endpoint); + frsh_receive_endpoint_protocol_info_t *protocol_info); /** * frsh_receive_endpoint_destroy() @@ -575,7 +574,8 @@ int frsh_receive_sync (const frsh_receive_endpoint_t *endpoint, void *buffer, size_t buffer_size, - size_t *message_size); + size_t *message_size, + frsh_network_address_t *from); /** * frsh_receive_async() @@ -595,7 +595,8 @@ int frsh_receive_async (const frsh_receive_endpoint_t *endpoint, void *buffer, size_t buffer_size, - size_t *message_size); + size_t *message_size, + frsh_network_address_t *from); /** -- 2.39.2