This file is indexed.

/usr/include/log4c/location_info.h is in liblog4c-dev 1.2.1-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
70
71
72
73
/* $Id$
 *
 * location_info.h
 * 
 * Copyright 2001-2003, Meiosys (www.meiosys.com). All rights reserved.


 * See the COPYING file for the terms of usage and distribution.
 */

#ifndef log4c_location_info_h
#define log4c_location_info_h

/**
 * @file location_info.h
 *
 * @brief The internal representation of caller location information.
 * 
 * When a affirmative logging decision is made a log4c_location_info_t is
 * created and is passed around the different log4c components.
 **/

#include <log4c/defs.h>

__LOG4C_BEGIN_DECLS

/**
 * @brief logging location information
 *
 * Attributes description:
 * 
 * @li @c loc_file file name
 * @li @c loc_line file line
 * @li @c loc_function function name
 * @li @c loc_data user data
 *
 * @todo this is not used
 **/
typedef struct 
{
    const char* loc_file;
    int loc_line;
    const char* loc_function;
    void* loc_data;

} log4c_location_info_t;

/**
 * log4c_location_info_t initializer 
 **/
#ifdef __GNUC__
#   define LOG4C_LOCATION_INFO_INITIALIZER(user_data) { __FILE__, __LINE__, __FUNCTION__, user_data }
#else
#   define LOG4C_LOCATION_INFO_INITIALIZER(user_data) { __FILE__, __LINE__, "(nil)", user_data }
#endif

#define __log4c_str(n) #n

#ifdef __GNUC__
#   define __log4c_location(n)	__FUNCTION__ "() at " __FILE__ ":" __log4c_str(n)
#else
#   define __log4c_location(n)	__FILE__ ":" __log4c_str(n)
#endif

/**
 * This macro returns the literal representation of a logging event
 * location
 **/
#define log4c_location __log4c_location(__LINE__)

__LOG4C_END_DECLS

#endif