Changeset 1a0fb3f8 in mainline for uspace/srv/net/modules.h
- Timestamp:
- 2010-01-04T22:47:30Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ede63e4
- Parents:
- b648ae4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/modules.h
rb648ae4 r1a0fb3f8 43 43 #include <ipc/services.h> 44 44 45 #include <sys/time.h> 46 45 47 /** Converts the data length between different types. 46 48 * @param[in] type_from The source type. … … 68 70 int connect_to_service( services_t need ); 69 71 72 /** Connects to the needed module. 73 * @param[in] need The needed module service. 74 * @param[in] timeout The connection timeout in microseconds. No timeout if set to zero (0). 75 * @returns The phone of the needed service. 76 * @returns ETIMEOUT if the connection timeouted. 77 */ 78 int connect_to_service_timeout( services_t need, suseconds_t timeout ); 79 70 80 /** Creates bidirectional connection with the needed module service and registers the message receiver. 71 81 * @param[in] need The needed module service. … … 78 88 */ 79 89 int bind_service( services_t need, ipcarg_t arg1, ipcarg_t arg2, ipcarg_t arg3, async_client_conn_t client_receiver ); 90 91 /** Creates bidirectional connection with the needed module service and registers the message receiver. 92 * @param[in] need The needed module service. 93 * @param[in] arg1 The first parameter. 94 * @param[in] arg2 The second parameter. 95 * @param[in] arg3 The third parameter. 96 * @param[in] client_receiver The message receiver. 97 * @param[in] timeout The connection timeout in microseconds. No timeout if set to zero (0). 98 * @returns The phone of the needed service. 99 * @returns ETIMEOUT if the connection timeouted. 100 * @returns Other error codes as defined for the ipc_connect_to_me() function. 101 */ 102 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 ); 80 103 81 104 /** Answers the call.
Note:
See TracChangeset
for help on using the changeset viewer.