Use strict C-syntax to make it buildable with VS
[git-cheetah/kirill.git] / common / debug.h
blob76f8825d27782566517aa63bf93e359c3057db37
1 #ifndef DEBUG_H
2 #define DEBUG_H
4 #ifdef _WIN32
5 #define DEFAULT_DEBUG_GIT_FILE "C:/git_shell_ext_debug.txt"
6 #endif
8 /* default in case no special path is needed */
9 #ifndef DEFAULT_DEBUG_GIT_FILE
10 #define DEFAULT_DEBUG_GIT_FILE "/tmp/git-cheetah-plugin.log"
11 #endif
13 void debug_git_set_file(const char * filename);
15 typedef void reporter(char *format, ...);
16 void debug_git(char * format, ...);
17 void debug_git_mbox(char *format, ...);
19 #endif /* DEBUG_H */