summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_strings.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-09-01 13:18:31 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2014-02-17 16:50:37 +0100
commitd9f65229f6257842eb7badef015719432b3d16a6 (patch)
tree60b5b8f841f47264d1ef35f537e45016c9e9608a /drivers/block/drbd/drbd_strings.h
parent137975c13c79f6048aa33a0bf5c7656356ca1e8b (diff)
drbd: Move string function prototypes from linux/drbd.h to drbd_string.h
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_strings.h')
-rw-r--r--drivers/block/drbd/drbd_strings.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_strings.h b/drivers/block/drbd/drbd_strings.h
new file mode 100644
index 000000000000..f9923cc88afb
--- /dev/null
+++ b/drivers/block/drbd/drbd_strings.h
@@ -0,0 +1,9 @@
+#ifndef __DRBD_STRINGS_H
+#define __DRBD_STRINGS_H
+
+extern const char *drbd_conn_str(enum drbd_conns);
+extern const char *drbd_role_str(enum drbd_role);
+extern const char *drbd_disk_str(enum drbd_disk_state);
+extern const char *drbd_set_st_err_str(enum drbd_state_rv);
+
+#endif /* __DRBD_STRINGS_H */