00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef BD_LOG_CONTROL_H_
00022 #define BD_LOG_CONTROL_H_
00023
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027
00028 #include <stdint.h>
00029
00030
00031 enum debug_mask_enum {
00032 DBG_RESERVED = 0x00001,
00033 DBG_CONFIGFILE = 0x00002,
00034 DBG_FILE = 0x00004,
00035 DBG_AACS = 0x00008,
00036 DBG_MKB = 0x00010,
00037 DBG_MMC = 0x00020,
00038 DBG_BLURAY = 0x00040,
00039 DBG_DIR = 0x00080,
00040 DBG_NAV = 0x00100,
00041 DBG_BDPLUS = 0x00200,
00042 DBG_DLX = 0x00400,
00043 DBG_CRIT = 0x00800,
00044 DBG_HDMV = 0x01000,
00045 DBG_BDJ = 0x02000,
00046 DBG_STREAM = 0x04000,
00047 DBG_GC = 0x08000,
00048 DBG_DECODE = 0x10000,
00049 };
00050
00051 typedef enum debug_mask_enum debug_mask_t;
00052
00053 typedef void (*BD_LOG_FUNC)(const char *);
00054
00055
00056
00057
00058
00059 void bd_set_debug_handler(BD_LOG_FUNC);
00060
00061 void bd_set_debug_mask(uint32_t mask);
00062 uint32_t bd_get_debug_mask(void);
00063
00064 #ifdef __cplusplus
00065 };
00066 #endif
00067
00068 #endif