#include <stdio.h>
-/* NB: To add a class, add it here, and add it to the structure
+/* NB: To add a dbg_class, add it here, and add it to the structure
in fg_debug.c
*/
typedef enum {
FG_GENERAL = 0x00000080,
FG_MATH = 0x00000100,
FG_EVENT = 0x00000200,
+ FG_AIRCRAFT= 0x00000400,
FG_ALL = 0xFFFFFFFF
} fgDebugClass;
greater than or equal to fg_DebugPriority and in the current debug class
(fg_DebugClass) are printed.
*/
-int fgPrintf( fgDebugClass class, fgDebugPriority prio, char *fmt, ... );
+int fgPrintf( fgDebugClass dbg_class, fgDebugPriority prio, char *fmt, ... );
/* fgSetDebugLevels()
Expects:
- class Bitmask representing classes to display.
+ dbg_class Bitmask representing classes to display.
prio Minimum priority of messages to display.
*/
-void fgSetDebugLevels( fgDebugClass class, fgDebugPriority prio );
+void fgSetDebugLevels( fgDebugClass dbg_class, fgDebugPriority prio );
/* fgSetDebugOutput()