summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/include/camellia/syscalls.h2
-rw-r--r--src/shared/include/camellia/types.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/include/camellia/syscalls.h b/src/shared/include/camellia/syscalls.h
index 40cb68d..ade75a5 100644
--- a/src/shared/include/camellia/syscalls.h
+++ b/src/shared/include/camellia/syscalls.h
@@ -20,6 +20,7 @@ enum {
_SYSCALL_READ,
_SYSCALL_WRITE,
+ _SYSCALL_GETSIZE,
_SYSCALL_CLOSE,
_SYSCALL_FS_FORK2,
@@ -63,6 +64,7 @@ handle_t _syscall_dup(handle_t from, handle_t to, int flags);
long _syscall_read(handle_t h, void __user *buf, size_t len, long offset);
long _syscall_write(handle_t h, const void __user *buf, size_t len, long offset, int flags);
+long _syscall_getsize(handle_t h);
long _syscall_close(handle_t h);
struct fs_wait_response {
diff --git a/src/shared/include/camellia/types.h b/src/shared/include/camellia/types.h
index f47e1bb..cb17b3a 100644
--- a/src/shared/include/camellia/types.h
+++ b/src/shared/include/camellia/types.h
@@ -16,5 +16,6 @@ enum vfs_operation {
VFSOP_OPEN,
VFSOP_READ,
VFSOP_WRITE,
+ VFSOP_GETSIZE,
VFSOP_CLOSE,
};