Changeset 46eec3b in mainline for uspace/lib/c/include/async.h


Ignore:
Timestamp:
2011-01-25T22:15:36Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8526e585
Parents:
c80fdd0
Message:

Introduce a callback mechanism to create and destroy client data area.

File:
1 edited

Legend:

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

    rc80fdd0 r46eec3b  
    4444
    4545typedef ipc_callid_t aid_t;
     46
     47typedef void *(*async_client_data_ctor_t)(void);
     48typedef void (*async_client_data_dtor_t)(void *);
     49
    4650typedef void (*async_client_conn_t)(ipc_callid_t, ipc_call_t *);
    4751
     
    97101extern void async_create_manager(void);
    98102extern void async_destroy_manager(void);
     103
     104extern void async_set_client_data_constructor(async_client_data_ctor_t);
     105extern void async_set_client_data_destructor(async_client_data_dtor_t);
    99106
    100107extern void async_set_client_connection(async_client_conn_t);
Note: See TracChangeset for help on using the changeset viewer.