summaryrefslogtreecommitdiff
path: root/tools/dlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dlock.h')
-rw-r--r--tools/dlock.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/dlock.h b/tools/dlock.h
index f24fe1981..cab605e45 100644
--- a/tools/dlock.h
+++ b/tools/dlock.h
@@ -17,10 +17,19 @@ int dlock_gl_create(struct cmd_context *cmd, const char *def_mode, uint32_t flag
const char *vg_lock_type);
int dlock_gl(struct cmd_context *cmd, const char *def_mode, uint32_t flags);
+int dlock_vg(struct cmd_context *cmd, const char *vg_name,
+ const char *def_mode, uint32_t flags);
+
+int dlock_gl_vg(struct cmd_context *cmd, const char *vg_name,
+ const char *def_gl_mode, const char *def_vg_mode,
+ uint32_t flags);
+
#else /* LVMLOCKD_SUPPORT */
#define dlock_gl_create(cmd, def_mode, flags, vg_lock_type) (1)
#define dlock_gl(cmd, def_mode, flags) (1)
+#define dlock_vg(cmd, vg_name, def_mode, flags) (1)
+#define dlock_gl_vg(cmd, vg_name, def_gl_mode, def_vg_mode, flags) (1)
#endif /* LVMLOCKD_SUPPORT */