summaryrefslogtreecommitdiff
path: root/app/fvwm/modules/FvwmIconMan/debug.h
blob: 0e2ef4f2f1a6d283ca8a4abc05922b551b1a07d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef IN_DEBUG_H
#define IN_DEBUG_H

#if 0
# define PRINT_DEBUG
#endif

#if 0
# define OUTPUT_FILE "/dev/console"
#else
# define OUTPUT_FILE NULL
#endif


extern int OpenConsole(const char *filenm);
extern void ConsoleMessage(const char *fmt, ...)
                           __attribute__ ((__format__ (__printf__, 1, 2)));
extern void ConsoleDebug(int flag, const char *fmt, ...)
                         __attribute__ ((__format__ (__printf__, 2, 3)));

extern int CORE, FUNCTIONS, X11, FVWM, CONFIG, WINLIST, MEM;

#endif