X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffs-handle.h;h=6f9bad1e731dba5596b1a91e540d1ef541b6541d;hb=8bb66c3cd60938352927ee865759433387324250;hp=e90ba3ca2891582247e1ebe7e8563dd49ceff861;hpb=f7c3ffd79ddcece895eb0de616001d549aced5fc;p=lttng-tools.git diff --git a/src/common/fs-handle.h b/src/common/fs-handle.h index e90ba3ca2..6f9bad1e7 100644 --- a/src/common/fs-handle.h +++ b/src/common/fs-handle.h @@ -19,6 +19,7 @@ #define FS_HANDLE_H #include +#include struct fs_handle; @@ -68,4 +69,16 @@ int fs_handle_unlink(struct fs_handle *handle); LTTNG_HIDDEN int fs_handle_close(struct fs_handle *handle); +LTTNG_HIDDEN +ssize_t fs_handle_read(struct fs_handle *handle, void *buf, size_t count); + +LTTNG_HIDDEN +ssize_t fs_handle_write(struct fs_handle *handle, const void *buf, size_t count); + +LTTNG_HIDDEN +int fs_handle_truncate(struct fs_handle *handle, off_t offset); + +LTTNG_HIDDEN +int fs_handle_seek(struct fs_handle *handle, off_t offset, int whence); + #endif /* FS_HANDLE_H */