Changeset 6aae539d in mainline for uspace/lib/c
- Timestamp:
- 2012-04-23T14:00:43Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 32fef47, 6773ff3
- Parents:
- f7cbc6f
- Location:
- uspace/lib/c
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
rf7cbc6f r6aae539d 946 946 947 947 switch (IPC_GET_IMETHOD(*call)) { 948 case IPC_M_C ONNECT_ME:948 case IPC_M_CLONE_ESTABLISH: 949 949 case IPC_M_CONNECT_ME_TO: 950 950 /* Open new connection with fibril, etc. */ … … 1668 1668 } 1669 1669 1670 /** Wrapper for making IPC_M_C ONNECT_MEcalls using the async framework.1671 * 1672 * Ask throughfor a cloned connection to some service.1670 /** Wrapper for making IPC_M_CLONE_ESTABLISH calls using the async framework. 1671 * 1672 * Ask for a cloned connection to some service. 1673 1673 * 1674 1674 * @param mgmt Exchange management style. … … 1678 1678 * 1679 1679 */ 1680 async_sess_t *async_c onnect_me(exch_mgmt_t mgmt, async_exch_t *exch)1680 async_sess_t *async_clone_establish(exch_mgmt_t mgmt, async_exch_t *exch) 1681 1681 { 1682 1682 if (exch == NULL) { … … 1703 1703 msg->wdata.active = true; 1704 1704 1705 ipc_call_async_0(exch->phone, IPC_M_C ONNECT_ME, msg,1705 ipc_call_async_0(exch->phone, IPC_M_CLONE_ESTABLISH, msg, 1706 1706 reply_received, true); 1707 1707 -
uspace/lib/c/generic/ipc.c
rf7cbc6f r6aae539d 647 647 * 648 648 */ 649 int ipc_c onnect_me(int phoneid)649 int ipc_clone_establish(int phoneid) 650 650 { 651 651 sysarg_t newphid; 652 int res = ipc_call_sync_0_5(phoneid, IPC_M_C ONNECT_ME, NULL, NULL,653 NULL, NULL, &newphid);652 int res = ipc_call_sync_0_5(phoneid, IPC_M_CLONE_ESTABLISH, NULL, 653 NULL, NULL, NULL, &newphid); 654 654 if (res) 655 655 return res; -
uspace/lib/c/include/async.h
rf7cbc6f r6aae539d 321 321 sysarg_t *, sysarg_t *); 322 322 323 extern async_sess_t *async_c onnect_me(exch_mgmt_t, async_exch_t *);323 extern async_sess_t *async_clone_establish(exch_mgmt_t, async_exch_t *); 324 324 extern async_sess_t *async_connect_me_to(exch_mgmt_t, async_exch_t *, sysarg_t, 325 325 sysarg_t, sysarg_t); -
uspace/lib/c/include/ipc/ipc.h
rf7cbc6f r6aae539d 254 254 sysarg_t, sysarg_t, void *, ipc_async_callback_t, bool); 255 255 256 extern int ipc_clone_establish(int); 256 257 extern int ipc_connect_to_me(int, sysarg_t, sysarg_t, sysarg_t, task_id_t *, 257 258 sysarg_t *); 258 extern int ipc_connect_me(int);259 259 extern int ipc_connect_me_to(int, sysarg_t, sysarg_t, sysarg_t); 260 260 extern int ipc_connect_me_to_blocking(int, sysarg_t, sysarg_t, sysarg_t);
Note:
See TracChangeset
for help on using the changeset viewer.