Changeset 46b881c in mainline for uspace/srv/ns/clonable.h


Ignore:
Timestamp:
2011-01-29T11:36:41Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b6931a, 8add9ca5
Parents:
e26a4633 (diff), ffa2c8ef (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:

IPC/async: strictly isolate the use of low-level IPC methods (ipc_*) and async framework methods (async_*) in user code, do not allow a mixture of both in a single source file

Benefits for future plans

  • The async framework could use different communication style under the hood, but keeping the same high-level API
  • The async framework can be integrated more tightly with sessions without potential problems of intermixing session-aware async methods with session-unaware low-level methods in user code
  • The async_serialize_start()/_end() can be deprecated more easily
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/clonable.h

    re26a4633 r46b881c  
    3434#define NS_CLONABLE_H__
    3535
    36 #include <ipc/ipc.h>
     36#include <ipc/common.h>
     37#include <sys/types.h>
    3738#include <bool.h>
    3839
    3940extern int clonable_init(void);
    4041
    41 extern bool service_clonable(int service);
    42 extern void register_clonable(sysarg_t service, sysarg_t phone,
    43     ipc_call_t *call, ipc_callid_t callid);
    44 extern void connect_to_clonable(sysarg_t service, ipc_call_t *call,
    45     ipc_callid_t callid);
     42extern bool service_clonable(int);
     43extern void register_clonable(sysarg_t, sysarg_t, ipc_call_t *, ipc_callid_t);
     44extern void connect_to_clonable(sysarg_t, ipc_call_t *, ipc_callid_t);
    4645
    4746#endif
Note: See TracChangeset for help on using the changeset viewer.