2008-04-27 00:25:02 +04:00
|
|
|
#ifndef DEBUG_PARANOIA_CONFIG_H
|
|
|
|
#define DEBUG_PARANOIA_CONFIG_H
|
|
|
|
|
|
|
|
|
|
|
|
// enable paranoia checks (0/1)
|
|
|
|
#ifndef ENABLE_PARANOIA_CHECKS
|
2008-04-27 19:13:31 +04:00
|
|
|
# define ENABLE_PARANOIA_CHECKS 0
|
2008-04-27 00:25:02 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// number of check slots (should depend on the components for which checks
|
|
|
|
// are enabled)
|
2008-04-27 07:06:09 +04:00
|
|
|
#define PARANOIA_SLOT_COUNT (32 * 1024)
|
2008-04-27 00:25:02 +04:00
|
|
|
|
|
|
|
|
2008-04-27 19:13:31 +04:00
|
|
|
// macros that set the paranoia check level for individual components
|
|
|
|
// levels:
|
|
|
|
// * PARANOIA_NAIVE (checks disabled)
|
|
|
|
// * PARANOIA_SUSPICIOUS
|
|
|
|
// * PARANOIA_OBSESSIVE
|
|
|
|
// * PARANOIA_INSANE
|
2008-04-27 00:25:02 +04:00
|
|
|
|
2008-04-27 19:13:31 +04:00
|
|
|
#define NET_BUFFER_PARANOIA PARANOIA_NAIVE
|
|
|
|
#define OBJECT_CACHE_PARANOIA PARANOIA_NAIVE
|
2008-04-27 00:25:02 +04:00
|
|
|
|
|
|
|
|
|
|
|
#endif // DEBUG_PARANOIA_CONFIG_H
|