initial code repo
[stor4nfv.git] / src / ceph / src / tools / rbd_ggate / debug.h
diff --git a/src/ceph/src/tools/rbd_ggate/debug.h b/src/ceph/src/tools/rbd_ggate/debug.h
new file mode 100644 (file)
index 0000000..da9b46a
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef CEPH_RBD_GGATE_DEBUG_H
+#define CEPH_RBD_GGATE_DEBUG_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void debug(int level, const char *fmt, ...) __printflike(2, 3);
+void debugv(int level, const char *fmt, va_list ap) __printflike(2, 0);
+void err(const char *fmt, ...) __printflike(1, 2);
+void errx(const char *fmt, ...) __printflike(1, 2);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // CEPH_RBD_GGATE_DEBUG_H