Changeset 357b5f5 in mainline for uspace/lib/c/include/async_sess.h
- Timestamp:
- 2011-01-23T20:09:13Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fdb9982c
- Parents:
- cead2aa (diff), 7e36c8d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/async_sess.h
rcead2aa r357b5f5 1 1 /* 2 * Copyright (c) 20 06Jakub Jermar2 * Copyright (c) 2010 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup generic29 /** @addtogroup libc 30 30 * @{ 31 31 */ 32 33 /** 34 * @file 35 * @brief Wrapper for explicit 64-bit arguments passed to syscalls. 32 /** @file 36 33 */ 37 34 38 #ifndef KERN_SYSARG64_H_ 39 #define KERN_SYSARG64_H_ 35 #ifndef LIBC_ASYNC_SESS_H_ 36 #define LIBC_ASYNC_SESS_H_ 37 38 #include <adt/list.h> 40 39 41 40 typedef struct { 42 unsigned long long value; 43 } sysarg64_t; 41 int sess_phone; /**< Phone for cloning off the connections. */ 42 sysarg_t connect_arg1; /**< Argument for CONNECT_ME_TO. */ 43 link_t conn_head; /**< List of open data connections. */ 44 link_t sess_link; /**< Link in global list of open sessions. */ 45 } async_sess_t; 46 47 extern void _async_sess_init(void); 48 extern void async_session_create(async_sess_t *, int, sysarg_t); 49 extern void async_session_destroy(async_sess_t *); 50 extern int async_exchange_begin(async_sess_t *); 51 extern void async_exchange_end(async_sess_t *, int); 44 52 45 53 #endif
Note:
See TracChangeset
for help on using the changeset viewer.