Changeset a46e56b in mainline for uspace/srv/ns/service.c
- Timestamp:
- 2018-03-22T06:49:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77f0a1d
- Parents:
- 3e242d2
- git-author:
- Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/service.c
r3e242d2 ra46e56b 87 87 typedef struct { 88 88 link_t link; 89 service_t service; /**< Service ID */90 iface_t iface; /**< Interface ID */91 cap_call_handle_t c allid; /**< Call IDwaiting for the connection */92 sysarg_t arg3; /**< Third argument */89 service_t service; /**< Service ID */ 90 iface_t iface; /**< Interface ID */ 91 cap_call_handle_t chandle; /**< Call handle 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 allid, exch, pending->iface,121 async_forward_fast(pending->chandle, exch, pending->iface, 122 122 pending->arg3, 0, IPC_FF_NONE); 123 123 async_exchange_end(exch); … … 163 163 * @param iface Interface to be connected to. 164 164 * @param call Pointer to call structure. 165 * @param c allidCall ID of the request.165 * @param chandle 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 c allid)171 cap_call_handle_t chandle) 172 172 { 173 173 sysarg_t arg3 = IPC_GET_ARG3(*call); … … 189 189 pending->service = service; 190 190 pending->iface = iface; 191 pending->c allid = callid;191 pending->chandle = chandle; 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 allid, exch, iface, arg3, 0, IPC_FF_NONE);204 async_forward_fast(chandle, 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 allid, retval);209 async_answer_0(chandle, retval); 210 210 } 211 211
Note:
See TracChangeset
for help on using the changeset viewer.