Changes in uspace/srv/ns/service.c [eed4139:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/service.c
reed4139 ra35b458 87 87 typedef struct { 88 88 link_t link; 89 service_t service; 90 iface_t iface; 91 cap_call_handle_t chandle; /**< Call handlewaiting for the connection */92 sysarg_t arg3; 89 service_t service; /**< Service ID */ 90 iface_t iface; /**< Interface ID */ 91 ipc_callid_t callid; /**< Call ID waiting for the connection */ 92 sysarg_t arg3; /**< Third argument */ 93 93 } pending_conn_t; 94 94 … … 119 119 hashed_service_t *hashed_service = hash_table_get_inst(link, hashed_service_t, link); 120 120 async_exch_t *exch = async_exchange_begin(hashed_service->sess); 121 async_forward_fast(pending->c handle, exch, pending->iface,121 async_forward_fast(pending->callid, exch, pending->iface, 122 122 pending->arg3, 0, IPC_FF_NONE); 123 123 async_exchange_end(exch); … … 160 160 /** Connect client to service. 161 161 * 162 * @param service 163 * @param iface 164 * @param call 165 * @param c handle Call handleof the request.162 * @param service Service to be connected to. 163 * @param iface Interface to be connected to. 164 * @param call Pointer to call structure. 165 * @param callid Call ID of the request. 166 166 * 167 167 * @return Zero on success or a value from @ref errno.h. … … 169 169 */ 170 170 void connect_to_service(service_t service, iface_t iface, ipc_call_t *call, 171 cap_call_handle_t chandle)171 ipc_callid_t callid) 172 172 { 173 173 sysarg_t arg3 = IPC_GET_ARG3(*call); … … 189 189 pending->service = service; 190 190 pending->iface = iface; 191 pending->c handle = chandle;191 pending->callid = callid; 192 192 pending->arg3 = arg3; 193 193 … … 202 202 hashed_service_t *hashed_service = hash_table_get_inst(link, hashed_service_t, link); 203 203 async_exch_t *exch = async_exchange_begin(hashed_service->sess); 204 async_forward_fast(c handle, exch, iface, arg3, 0, IPC_FF_NONE);204 async_forward_fast(callid, exch, iface, arg3, 0, IPC_FF_NONE); 205 205 async_exchange_end(exch); 206 206 return; 207 207 208 208 out: 209 async_answer_0(c handle, retval);209 async_answer_0(callid, retval); 210 210 } 211 211
Note:
See TracChangeset
for help on using the changeset viewer.