1.1 --- a/libfsclient/include/fsclient/client.h Sun Jul 18 00:47:14 2021 +0200
1.2 +++ b/libfsclient/include/fsclient/client.h Sat Jul 24 18:55:21 2021 +0200
1.3 @@ -27,13 +27,19 @@
1.4
1.5 EXTERN_C_BEGIN
1.6
1.7 +/* Filesystem access operations. */
1.8 +
1.9 +l4_cap_idx_t client_open_for_user(sys_uid_t uid, sys_gid_t gid, sys_mode_t umask);
1.10 +l4_cap_idx_t client_open_for_user_using(sys_uid_t uid, sys_gid_t gid, sys_mode_t umask, l4_cap_idx_t server);
1.11 +
1.12 /* Opening and closing operations. */
1.13
1.14 void client_close(file_t *file);
1.15 file_t *client_open(const char *name, flags_t flags);
1.16 -file_t *client_open_using(const char *name, flags_t flags, const char *cap);
1.17 +file_t *client_open_using(const char *name, flags_t flags, l4_cap_idx_t server);
1.18 +
1.19 long client_pipe(file_t **reader, file_t **writer);
1.20 -long client_pipe_using(file_t **reader, file_t **writer, const char *cap);
1.21 +long client_pipe_using(file_t **reader, file_t **writer, l4_cap_idx_t server);
1.22
1.23 /* File and region operations. */
1.24