summaryrefslogtreecommitdiff
path: root/libbcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcache.h')
-rw-r--r--libbcache.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libbcache.h b/libbcache.h
index 07329cd..6ec3f42 100644
--- a/libbcache.h
+++ b/libbcache.h
@@ -2,6 +2,8 @@
#define _LIBBCACHE_H
#include <linux/uuid.h>
+#include "tools-util.h"
+#include "vstructs.h"
#include "stdbool.h"
#include "tools-util.h"
@@ -34,6 +36,7 @@ void bcache_format(struct dev_opts *devs, size_t nr_devs,
unsigned meta_csum_type,
unsigned data_csum_type,
unsigned compression_type,
+ const char *passphrase,
unsigned meta_replicas,
unsigned data_replicas,
unsigned on_error_action,
@@ -41,8 +44,8 @@ void bcache_format(struct dev_opts *devs, size_t nr_devs,
char *label,
uuid_le uuid);
-void bcache_super_print(struct cache_sb *, int);
+struct bch_sb *bcache_super_read(const char *);
-struct cache_sb *bcache_super_read(const char *);
+void bcache_super_print(struct bch_sb *, int);
#endif /* _LIBBCACHE_H */