/usr/include/libbluray/log_control.h is in libbluray-dev 1:0.9.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | /*
* This file is part of libbluray
* Copyright (C) 2009-2010 Obliter0n
* Copyright (C) 2009-2010 John Stebbins
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef BD_LOG_CONTROL_H_
#define BD_LOG_CONTROL_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
enum debug_mask_enum {
DBG_RESERVED = 0x00001,
DBG_CONFIGFILE = 0x00002,
DBG_FILE = 0x00004,
DBG_AACS = 0x00008,
DBG_MKB = 0x00010,
DBG_MMC = 0x00020,
DBG_BLURAY = 0x00040,
DBG_DIR = 0x00080,
DBG_NAV = 0x00100,
DBG_BDPLUS = 0x00200,
DBG_DLX = 0x00400,
DBG_CRIT = 0x00800, /* this is libbluray's default debug mask so use this if you want to display critical info */
DBG_HDMV = 0x01000,
DBG_BDJ = 0x02000,
DBG_STREAM = 0x04000,
DBG_GC = 0x08000, /* graphics controller */
DBG_DECODE = 0x10000, /* PG / IG decoders, m2ts demuxer */
DBG_JNI = 0x20000, /* JNI calls */
};
typedef enum debug_mask_enum debug_mask_t;
typedef void (*BD_LOG_FUNC)(const char *);
/*
*
*/
void bd_set_debug_handler(BD_LOG_FUNC);
void bd_set_debug_mask(uint32_t mask);
uint32_t bd_get_debug_mask(void);
#ifdef __cplusplus
}
#endif
#endif /* BD_LOG_CONTROL_H_ */
|