Changeset 3aae4e8 in mainline for uspace/lib/socket/include/net_modules.h
- Timestamp:
- 2010-04-04T22:07:05Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 23de644
- Parents:
- 9f10660f (diff), 73060801 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/socket/include/net_modules.h
r9f10660f r3aae4e8 70 70 * @param[in] answer_count The number of answer parameters. 71 71 */ 72 void answer_call(ipc_callid_t callid, int result, ipc_call_t * answer, int answer_count);72 extern void answer_call(ipc_callid_t callid, int result, ipc_call_t * answer, int answer_count); 73 73 74 74 /** Creates bidirectional connection with the needed module service and registers the message receiver. … … 81 81 * @returns Other error codes as defined for the ipc_connect_to_me() function. 82 82 */ 83 int bind_service(services_t need, ipcarg_t arg1, ipcarg_t arg2, ipcarg_t arg3, async_client_conn_t client_receiver);83 extern int bind_service(services_t need, ipcarg_t arg1, ipcarg_t arg2, ipcarg_t arg3, async_client_conn_t client_receiver); 84 84 85 85 /** Creates bidirectional connection with the needed module service and registers the message receiver. … … 94 94 * @returns Other error codes as defined for the ipc_connect_to_me() function. 95 95 */ 96 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);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); 97 97 98 98 /** Connects to the needed module. … … 100 100 * @returns The phone of the needed service. 101 101 */ 102 int connect_to_service(services_t need);102 extern int connect_to_service(services_t need); 103 103 104 104 /** Connects to the needed module. … … 108 108 * @returns ETIMEOUT if the connection timeouted. 109 109 */ 110 int connect_to_service_timeout(services_t need, suseconds_t timeout);110 extern int connect_to_service_timeout(services_t need, suseconds_t timeout); 111 111 112 112 /** Receives data from the other party. … … 120 120 * @returns Other error codes as defined for the async_data_write_finalize() function. 121 121 */ 122 int data_receive(void ** data, size_t * length);122 extern int data_receive(void ** data, size_t * length); 123 123 124 124 /** Replies the data to the other party. … … 130 130 * @returns Other error codes as defined for the async_data_read_finalize() function. 131 131 */ 132 int data_reply(void * data, size_t data_length);132 extern int data_reply(void * data, size_t data_length); 133 133 134 134 /** Refreshes answer structure and parameters count. … … 137 137 * @param[in,out] answer_count The number of answer parameters. 138 138 */ 139 void refresh_answer(ipc_call_t * answer, int * answer_count);139 extern void refresh_answer(ipc_call_t * answer, int * answer_count); 140 140 141 141 #endif
Note:
See TracChangeset
for help on using the changeset viewer.