Changes in uspace/lib/socket/include/net_modules.h [14f1db0:849ed54] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/socket/include/net_modules.h
r14f1db0 r849ed54 72 72 extern void answer_call(ipc_callid_t callid, int result, ipc_call_t * answer, int answer_count); 73 73 74 extern int bind_service(services_t, ipcarg_t, ipcarg_t, ipcarg_t, 75 async_client_conn_t); 76 extern int bind_service_timeout(services_t, ipcarg_t, ipcarg_t, ipcarg_t, 77 async_client_conn_t, suseconds_t); 74 /** Creates bidirectional connection with the needed module service and registers the message receiver. 75 * @param[in] need The needed module service. 76 * @param[in] arg1 The first parameter. 77 * @param[in] arg2 The second parameter. 78 * @param[in] arg3 The third parameter. 79 * @param[in] client_receiver The message receiver. 80 * @returns The phone of the needed service. 81 * @returns Other error codes as defined for the ipc_connect_to_me() function. 82 */ 83 extern int bind_service(services_t need, ipcarg_t arg1, ipcarg_t arg2, ipcarg_t arg3, async_client_conn_t client_receiver); 84 85 /** Creates bidirectional connection with the needed module service and registers the message receiver. 86 * @param[in] need The needed module service. 87 * @param[in] arg1 The first parameter. 88 * @param[in] arg2 The second parameter. 89 * @param[in] arg3 The third parameter. 90 * @param[in] client_receiver The message receiver. 91 * @param[in] timeout The connection timeout in microseconds. No timeout if set to zero (0). 92 * @returns The phone of the needed service. 93 * @returns ETIMEOUT if the connection timeouted. 94 * @returns Other error codes as defined for the ipc_connect_to_me() function. 95 */ 96 extern int bind_service_timeout(services_t need, ipcarg_t arg1, ipcarg_t arg2, ipcarg_t arg3, async_client_conn_t client_receiver, suseconds_t timeout); 78 97 79 98 /** Connects to the needed module.
Note:
See TracChangeset
for help on using the changeset viewer.