Remove fcntl wrapper
[lttng-tools.git] / src / common / io-hint.hpp
diff --git a/src/common/io-hint.hpp b/src/common/io-hint.hpp
new file mode 100644 (file)
index 0000000..24fde6b
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2023 Michael Jeanson <mjeanson@efficios.com>
+ *
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ */
+
+#ifndef _LTTNG_IO_HINT_H
+#define _LTTNG_IO_HINT_H
+
+namespace lttng {
+namespace io {
+
+void hint_flush_range_dont_need_sync(int fd, off_t offset, off_t nbytes);
+void hint_flush_range_sync(int fd, off_t offset, off_t nbytes);
+void hint_flush_range_async(int fd, off_t offset, off_t nbytes);
+
+} /* namespace io */
+} /* namespace lttng */
+
+#endif
This page took 0.023215 seconds and 4 git commands to generate.