summaryrefslogtreecommitdiff
path: root/libbcachefs/thread_with_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/thread_with_file.h')
-rw-r--r--libbcachefs/thread_with_file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbcachefs/thread_with_file.h b/libbcachefs/thread_with_file.h
index af54ea8f..1d63d14d 100644
--- a/libbcachefs/thread_with_file.h
+++ b/libbcachefs/thread_with_file.h
@@ -63,6 +63,9 @@ struct thread_with_stdio {
const struct thread_with_stdio_ops *ops;
};
+void bch2_thread_with_stdio_init(struct thread_with_stdio *,
+ const struct thread_with_stdio_ops *);
+int __bch2_run_thread_with_stdio(struct thread_with_stdio *);
int bch2_run_thread_with_stdio(struct thread_with_stdio *,
const struct thread_with_stdio_ops *);
int bch2_run_thread_with_stdout(struct thread_with_stdio *,