Changeset a676574 in mainline for uspace/lib/c/include/async_sess.h


Ignore:
Timestamp:
2011-01-09T12:18:00Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
54de5ebd
Parents:
a3eeef45 (diff), 9d12059 (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.
Message:

Merge mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/async_sess.h

    ra3eeef45 ra676574  
    3333 */
    3434
    35 #ifndef LIBC_ASYNC_REL_H_
    36 #define LIBC_ASYNC_REL_H_
     35#ifndef LIBC_ASYNC_SESS_H_
     36#define LIBC_ASYNC_SESS_H_
    3737
    38 extern int async_rel_init(void);
    39 extern int async_relation_create(int);
    40 extern void async_relation_destroy(int, int);
     38#include <adt/list.h>
     39
     40typedef 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;
     46
     47extern void _async_sess_init(void);
     48extern void async_session_create(async_sess_t *, int, sysarg_t);
     49extern void async_session_destroy(async_sess_t *);
     50extern int async_exchange_begin(async_sess_t *);
     51extern void async_exchange_end(async_sess_t *, int);
    4152
    4253#endif
Note: See TracChangeset for help on using the changeset viewer.