Changeset 215e375 in mainline for uspace/lib/libc/include/ipc/ipc.h
- Timestamp:
- 2007-12-31T17:23:20Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f57f8ea
- Parents:
- 27d293a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/ipc/ipc.h
r27d293a r215e375 264 264 265 265 /* 266 * User-friendly wrappers for ipc_share_in_s end().267 */ 268 #define ipc_share_in_s end_0_0(phoneid, dst, size) \269 ipc_share_in_s end((phoneid), (dst), (size), 0, NULL)270 #define ipc_share_in_s end_0_1(phoneid, dst, size, flags) \271 ipc_share_in_s end((phoneid), (dst), (size), 0, (flags))272 #define ipc_share_in_s end_1_0(phoneid, dst, size, arg) \273 ipc_share_in_s end((phoneid), (dst), (size), (arg), NULL)274 #define ipc_share_in_s end_1_1(phoneid, dst, size, arg, flags) \275 ipc_share_in_s end((phoneid), (dst), (size), (arg), (flags))276 277 extern int ipc_share_in_s end(int phoneid, void *dst, size_t size, ipcarg_t arg,266 * User-friendly wrappers for ipc_share_in_start(). 267 */ 268 #define ipc_share_in_start_0_0(phoneid, dst, size) \ 269 ipc_share_in_start((phoneid), (dst), (size), 0, NULL) 270 #define ipc_share_in_start_0_1(phoneid, dst, size, flags) \ 271 ipc_share_in_start((phoneid), (dst), (size), 0, (flags)) 272 #define ipc_share_in_start_1_0(phoneid, dst, size, arg) \ 273 ipc_share_in_start((phoneid), (dst), (size), (arg), NULL) 274 #define ipc_share_in_start_1_1(phoneid, dst, size, arg, flags) \ 275 ipc_share_in_start((phoneid), (dst), (size), (arg), (flags)) 276 277 extern int ipc_share_in_start(int phoneid, void *dst, size_t size, ipcarg_t arg, 278 278 int *flags); 279 279 extern int ipc_share_in_receive(ipc_callid_t *callid, size_t *size); 280 extern int ipc_share_in_ deliver(ipc_callid_t callid, void *src, int flags);281 extern int ipc_share_out_s end(int phoneid, void *src, int flags);280 extern int ipc_share_in_finalize(ipc_callid_t callid, void *src, int flags); 281 extern int ipc_share_out_start(int phoneid, void *src, int flags); 282 282 extern int ipc_share_out_receive(ipc_callid_t *callid, size_t *size, int *flags); 283 extern int ipc_share_out_ deliver(ipc_callid_t callid, void *dst);284 extern int ipc_data_read_s end(int phoneid, void *dst, size_t size);283 extern int ipc_share_out_finalize(ipc_callid_t callid, void *dst); 284 extern int ipc_data_read_start(int phoneid, void *dst, size_t size); 285 285 extern int ipc_data_read_receive(ipc_callid_t *callid, size_t *size); 286 extern int ipc_data_read_ deliver(ipc_callid_t callid, void *src, size_t size);287 extern int ipc_data_write_s end(int phoneid, void *src, size_t size);286 extern int ipc_data_read_finalize(ipc_callid_t callid, void *src, size_t size); 287 extern int ipc_data_write_start(int phoneid, void *src, size_t size); 288 288 extern int ipc_data_write_receive(ipc_callid_t *callid, size_t *size); 289 extern int ipc_data_write_ deliver(ipc_callid_t callid, void *dst, size_t size);289 extern int ipc_data_write_finalize(ipc_callid_t callid, void *dst, size_t size); 290 290 291 291 #endif
Note:
See TracChangeset
for help on using the changeset viewer.