Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/socket/include/net_modules.h

    r14f1db0 r849ed54  
    7272extern void answer_call(ipc_callid_t callid, int result, ipc_call_t * answer, int answer_count);
    7373
    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 */
     83extern 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 */
     96extern 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);
    7897
    7998/** Connects to the needed module.
Note: See TracChangeset for help on using the changeset viewer.