This file is indexed.

/usr/include/lirc/line_buffer.h is in liblirc-dev 0.10.0-2.

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
/******************************************************************
** line_buffer ****************************************************
*******************************************************************
*
* Line buffered input on top of e. g., read(2).
*
* Copyright (c) 2015 Alec Leamas
*
* */

/**
 * @file line_buffer.h
 * @brief Implements the line buffer class.
 */

#ifndef LIB_LINE_BUFFER_H_
#define LIB_LINE_BUFFER_H_

#include <string>


/** After appending, data can be retrieved as lines. */
class LineBuffer {
	private:
		std::string buff;

	public:
		/** Insert data in buffer. */
		void append(const char* line, size_t size);

		/** Check if get_next_line() returns a non-empty string. */
		bool has_lines();

		/** Peek the complete buffer contents. */
		const char* c_str();

		/** Return and remove first line in buffer, possibly "". */
		std::string get_next_line();

		LineBuffer();
};

#endif  // LIB_LINE_BUFFER_H_