Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / tools / rbd_ggate / debug.h
1 #ifndef CEPH_RBD_GGATE_DEBUG_H
2 #define CEPH_RBD_GGATE_DEBUG_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 void debug(int level, const char *fmt, ...) __printflike(2, 3);
9 void debugv(int level, const char *fmt, va_list ap) __printflike(2, 0);
10 void err(const char *fmt, ...) __printflike(1, 2);
11 void errx(const char *fmt, ...) __printflike(1, 2);
12
13 #ifdef __cplusplus
14 }
15 #endif
16
17 #endif // CEPH_RBD_GGATE_DEBUG_H