summaryrefslogtreecommitdiffstats
path: root/src/tools/rbd_ggate/debug.h
blob: da9b46a381d4572a920312a593c1372ac7680d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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