Changeset 79ae36dd in mainline for uspace/lib/c/include/devman_obsolete.h
- Timestamp:
- 2011-06-08T19:01:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0eff68e
- Parents:
- 764d71e
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/devman_obsolete.h
r764d71e r79ae36dd 1 1 /* 2 * Copyright (c) 2010 Jakub Jermar 2 * Copyright (c) 2009 Jiri Svoboda 3 * Copyright (c) 2010 Lenka Trochtova 3 4 * All rights reserved. 4 5 * … … 33 34 */ 34 35 35 #ifndef LIBC_ ASYNC_SESS_H_36 #define LIBC_ ASYNC_SESS_H_36 #ifndef LIBC_DEVMAN_OBSOLETE_H_ 37 #define LIBC_DEVMAN_OBSOLETE_H_ 37 38 38 #include <adt/list.h> 39 #include <ipc/devman.h> 40 #include <async.h> 41 #include <bool.h> 39 42 40 typedef struct { 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; 43 extern int devman_obsolete_get_phone(devman_interface_t, unsigned int); 44 extern void devman_obsolete_hangup_phone(devman_interface_t); 46 45 47 extern void async_session_create(async_sess_t *, int, sysarg_t); 48 extern void async_session_destroy(async_sess_t *); 49 extern int async_exchange_begin(async_sess_t *); 50 extern void async_exchange_end(async_sess_t *, int); 46 extern int devman_obsolete_device_connect(devman_handle_t, unsigned int); 47 extern int devman_obsolete_parent_device_connect(devman_handle_t, unsigned int); 51 48 52 49 #endif
Note:
See TracChangeset
for help on using the changeset viewer.