This file is indexed.

/usr/include/glbinding/logging.h is in libglbinding-dev 2.1.1-1.

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
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
#pragma once

#include <glbinding/glbinding_api.h>

#include <glbinding/callbacks.h>


namespace glbinding 
{


namespace logging
{


/**
 * @brief
 *   The type of an entry in the log buffer is a FunctionCall *.
 */
using LogEntry = FunctionCall*;

/**
 * @brief
 *   Resizes the global log buffer.
 *
 * @param[in] newSize
 *   The new size of the buffer.
 */
GLBINDING_API void resize(unsigned int newSize);

/**
 * @brief
 *   Start logging to a file globally.
 *
 * This function generates a file name and uses this as output.
 */
GLBINDING_API void start();

/**
 * @brief
 *   Start logging to a file globally.
 *
 * @param[in] filepath
 *   The file to store the log into.
 */
GLBINDING_API void start(const std::string & filepath);

/**
 * @brief
 *   Start logging to a file globally, except for blacklisted functions.
 *
 * @param blackList
 *   The blacklist of function names.
 *
 * This function generates a file name and uses this as output.
 */
GLBINDING_API void startExcept(const std::set<std::string> & blackList);

/**
 * @brief
 *   Start logging to a file globally, except for blacklisted functions.
 *
 * @param[in] filepath
 *   The file to store the log into.
 * @param blackList
 *   The blacklist of function names.
 */
GLBINDING_API void startExcept(const std::string & filepath, const std::set<std::string> & blackList);

/**
 * @brief
 *   Stops logging and flushing log file.
 */
GLBINDING_API void stop();

/**
 * @brief
 *   Pauses logging for later stopping or resuming.
 *
 * While logging is started but paused, no OpenGL function calls are considered for the log file.
 */
GLBINDING_API void pause();

/**
 * @brief
 *   Resumes paused logging.
 */
GLBINDING_API void resume();

/**
 * @brief
 *   Add a function call to the log
 *
 * This function is intended to get used by glbinding and not by a user of glbinding.
 */
GLBINDING_API void log(LogEntry call);


} // namespace logging


} // namespace glbinding