Add RESERVE bitmask flag to DEBUG print constants adding another 0 prefix to

the constants already defined.
This commit is contained in:
reinoud 2009-06-18 14:57:50 +00:00
parent 96a16f2f23
commit ba587e2e62

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf.h,v 1.31 2009/06/18 14:56:09 reinoud Exp $ */
/* $NetBSD: udf.h,v 1.32 2009/06/18 14:57:50 reinoud Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -48,30 +48,31 @@ extern int udf_verbose;
#define UDF_COMPLETE_DELETE
/* debug categories */
#define UDF_DEBUG_VOLUMES 0x000001
#define UDF_DEBUG_LOCKING 0x000002
#define UDF_DEBUG_NODE 0x000004
#define UDF_DEBUG_LOOKUP 0x000008
#define UDF_DEBUG_READDIR 0x000010
#define UDF_DEBUG_FIDS 0x000020
#define UDF_DEBUG_DESCRIPTOR 0x000040
#define UDF_DEBUG_TRANSLATE 0x000080
#define UDF_DEBUG_STRATEGY 0x000100
#define UDF_DEBUG_READ 0x000200
#define UDF_DEBUG_WRITE 0x000400
#define UDF_DEBUG_CALL 0x000800
#define UDF_DEBUG_ATTR 0x001000
#define UDF_DEBUG_EXTATTR 0x002000
#define UDF_DEBUG_ALLOC 0x004000
#define UDF_DEBUG_ADWLK 0x008000
#define UDF_DEBUG_DIRHASH 0x010000
#define UDF_DEBUG_NOTIMPL 0x020000
#define UDF_DEBUG_SHEDULE 0x040000
#define UDF_DEBUG_ECCLINE 0x080000
#define UDF_DEBUG_SYNC 0x100000
#define UDF_DEBUG_PARANOIA 0x200000
#define UDF_DEBUG_PARANOIDADWLK 0x400000
#define UDF_DEBUG_NODEDUMP 0x800000
#define UDF_DEBUG_VOLUMES 0x0000001
#define UDF_DEBUG_LOCKING 0x0000002
#define UDF_DEBUG_NODE 0x0000004
#define UDF_DEBUG_LOOKUP 0x0000008
#define UDF_DEBUG_READDIR 0x0000010
#define UDF_DEBUG_FIDS 0x0000020
#define UDF_DEBUG_DESCRIPTOR 0x0000040
#define UDF_DEBUG_TRANSLATE 0x0000080
#define UDF_DEBUG_STRATEGY 0x0000100
#define UDF_DEBUG_READ 0x0000200
#define UDF_DEBUG_WRITE 0x0000400
#define UDF_DEBUG_CALL 0x0000800
#define UDF_DEBUG_ATTR 0x0001000
#define UDF_DEBUG_EXTATTR 0x0002000
#define UDF_DEBUG_ALLOC 0x0004000
#define UDF_DEBUG_ADWLK 0x0008000
#define UDF_DEBUG_DIRHASH 0x0010000
#define UDF_DEBUG_NOTIMPL 0x0020000
#define UDF_DEBUG_SHEDULE 0x0040000
#define UDF_DEBUG_ECCLINE 0x0080000
#define UDF_DEBUG_SYNC 0x0100000
#define UDF_DEBUG_PARANOIA 0x0200000
#define UDF_DEBUG_PARANOIDADWLK 0x0400000
#define UDF_DEBUG_NODEDUMP 0x0800000
#define UDF_DEBUG_RESERVE 0x1000000
/* initial value of udf_verbose */
#define UDF_DEBUGGING 0