Ignore:
Timestamp:
2018-07-05T09:34:09Z (6 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63d46341
Parents:
76f566d
Message:

do not expose the call capability handler from the async framework

Keep the call capability handler encapsulated within the async framework
and do not expose it explicitly via its API. Use the pointer to
ipc_call_t as the sole object identifying an IPC call in the code that
uses the async framework.

This plugs a major leak in the abstraction and also simplifies both the
async framework (slightly) and all IPC servers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/hound/include/hound/protocol.h

    r76f566d r984a9ba  
    5656
    5757typedef async_sess_t hound_sess_t;
    58 typedef cap_call_handle_t hound_context_id_t;
     58
     59typedef struct {
     60} *hound_context_id_t;
    5961
    6062hound_sess_t *hound_service_connect(const char *service);
     
    125127} hound_server_iface_t;
    126128
    127 void hound_service_set_server_iface(const hound_server_iface_t *iface);
    128 
    129 void hound_connection_handler(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg);
     129extern void hound_service_set_server_iface(const hound_server_iface_t *);
     130extern void hound_connection_handler(ipc_call_t *, void *);
    130131
    131132#endif
Note: See TracChangeset for help on using the changeset viewer.