This file is indexed.

/usr/include/openr2/r2log.h is in libopenr2-dev 1.3.3-1build1.

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
/*
 * OpenR2 
 * MFC/R2 call setup library
 *
 * Moises Silva <moy@sangoma.com>
 * Copyright (C) 2008 Moises Silva
 *
 * This program 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 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef _OPENR2_LOG_H_
#define _OPENR2_LOG_H_

#if defined(__cplusplus)
extern "C" {
#endif

typedef enum {
	OR2_LOG_NOTHING     = 0,
	OR2_LOG_ERROR       = ( 1 << 0 ), 
	OR2_LOG_WARNING     = ( 1 << 1 ),
	OR2_LOG_NOTICE      = ( 1 << 2 ),
	OR2_LOG_DEBUG       = ( 1 << 3 ),
	OR2_LOG_MF_TRACE    = ( 1 << 4 ),
	OR2_LOG_CAS_TRACE   = ( 1 << 5 ),
	OR2_LOG_STACK_TRACE = ( 1 << 6 ),
	OR2_LOG_ALL         = ( 0xFFF ),
	OR2_LOG_EX_DEBUG    = ( OR2_LOG_ALL + 1 )
} openr2_log_level_t;	

const char *openr2_log_get_level_string(openr2_log_level_t level);
openr2_log_level_t openr2_log_get_level(const char *levelstr);

#if defined(__cplusplus)
} /* endif extern "C" */
#endif

#endif /* endif defined _OPENR2_LOG_H_ */