Changeset b5cf742a in mainline for uspace/lib/c/generic/iplink.c
- Timestamp:
- 2013-06-28T16:22:42Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- edf0d27
- Parents:
- e52b4b5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/iplink.c
re52b4b5 rb5cf742a 99 99 sysarg_t retval; 100 100 async_wait_for(req, &retval); 101 if (retval != EOK)102 return retval;103 101 104 return EOK;102 return (int) retval; 105 103 } 106 104 … … 169 167 static void iplink_cb_conn(ipc_callid_t iid, ipc_call_t *icall, void *arg) 170 168 { 171 iplink_t *iplink = (iplink_t *) arg;172 169 iplink_t *iplink = (iplink_t *) arg; 170 173 171 while (true) { 174 172 ipc_call_t call; 175 173 ipc_callid_t callid = async_get_call(&call); 176 174 177 175 if (!IPC_GET_IMETHOD(call)) { 178 176 /* TODO: Handle hangup */ 179 177 return; 180 178 } 181 179 182 180 switch (IPC_GET_IMETHOD(call)) { 183 181 case IPLINK_EV_RECV:
Note:
See TracChangeset
for help on using the changeset viewer.