1.1 --- a/libfsclient/include/fsclient/file.h Fri Jan 14 01:10:35 2022 +0100
1.2 +++ b/libfsclient/include/fsclient/file.h Thu Jan 27 23:45:17 2022 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * File access convenience functions and types.
1.6 *
1.7 - * Copyright (C) 2021 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2021, 2022 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -85,12 +85,14 @@
1.13 void file_close(file_t *file);
1.14 long file_open(file_t *file, const char *filename, flags_t flags, l4_cap_idx_t server);
1.15 long file_remove(const char *filename, l4_cap_idx_t server);
1.16 +long file_rename(const char *source, const char *target, l4_cap_idx_t server);
1.17
1.18 /* File lifecycle operations. */
1.19
1.20 long file_context(file_t *file, l4_cap_idx_t server);
1.21 long file_context_open(file_t *file, flags_t flags, file_t *context);
1.22 long file_context_remove(file_t *context);
1.23 +long file_context_rename(file_t *context);
1.24 void file_init(file_t *file);
1.25
1.26 /* File and region operations. */