Changeset 984a9ba in mainline for uspace/srv/vfs/vfs.h


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/srv/vfs/vfs.h

    r76f566d r984a9ba  
    222222extern errno_t vfs_op_write(int fd, aoff64_t, size_t *out_bytes);
    223223
    224 extern void vfs_register(cap_call_handle_t, ipc_call_t *);
    225 
    226 extern void vfs_page_in(cap_call_handle_t, ipc_call_t *);
     224extern void vfs_register(ipc_call_t *);
     225
     226extern void vfs_page_in(ipc_call_t *);
    227227
    228228typedef struct {
     
    233233extern errno_t vfs_rdwr_internal(int, aoff64_t, bool, rdwr_io_chunk_t *);
    234234
    235 extern void vfs_connection(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg);
     235extern void vfs_connection(ipc_call_t *, void *);
    236236
    237237#endif
Note: See TracChangeset for help on using the changeset viewer.