]> git.ipfire.org Git - thirdparty/git.git/blob - trace.h
trace: consistently name the format parameter
[thirdparty/git.git] / trace.h
1 #ifndef TRACE_H
2 #define TRACE_H
3
4 #include "git-compat-util.h"
5 #include "strbuf.h"
6
7 __attribute__((format (printf, 1, 2)))
8 extern void trace_printf(const char *format, ...);
9 __attribute__((format (printf, 2, 3)))
10 extern void trace_argv_printf(const char **argv, const char *format, ...);
11 extern void trace_repo_setup(const char *prefix);
12 extern int trace_want(const char *key);
13 __attribute__((format (printf, 2, 3)))
14 extern void trace_printf_key(const char *key, const char *format, ...);
15 extern void trace_strbuf(const char *key, const struct strbuf *buf);
16
17 #endif /* TRACE_H */