This file is indexed.

/usr/include/libdigidoc/DigiDocDebug.h is in libdigidoc-dev 3.10.1.1208+ds1-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
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
#ifndef __DIGIDOC_DEBUG_H__
#define __DIGIDOC_DEBUG_H__
//==================================================
// FILE:	DigiDocDebug.h
// PROJECT:     Digi Doc
// DESCRIPTION: Digi Doc functions for debug output
// AUTHOR:  Veiko Sinivee, S|E|B IT Partner Estonia
//==================================================
// Copyright (C) AS Sertifitseerimiskeskus
// 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.
// GNU Lesser General Public Licence is available at
// http://www.gnu.org/copyleft/lesser.html
//==========< HISTORY >=============================
//      10.08.2004      Veiko Sinivee
//                      Creation
//==================================================

#include <libdigidoc/DigiDocMem.h>
#include <libdigidoc/DigiDocDefs.h>
#include <stdarg.h>

#ifdef  __cplusplus
extern "C" {
#endif

//-----------------------------------------
// Formats debug output
// level - debug level to output this message on
// func - name of the function
// format - message format and arguments
//-----------------------------------------
EXP_OPTION void ddocDebug(int level, const char* func, const char* format, ...);

//-----------------------------------------
// Formats debug output
// level - debug level to output this message on
// func - name of the function
// msg - message format and arguments
// args - va_list struct
//-----------------------------------------
EXP_OPTION  void ddocDebugVaArgs(int level, const char* func, const char* msg, va_list args);

//-----------------------------------------
// Deletes the log file if it exists.
//-----------------------------------------
EXP_OPTION void ddocDebugTruncateLog();

//-----------------------------------------
// Reads the contents of the log file
// pMemBuf - buffer for log data
//-----------------------------------------
EXP_OPTION int ddocDebugReadLog(DigiDocMemBuf *pMemBuf);

//-----------------------------------------
// Writes debug data in a file
// level - debug level to write on
// szFileName - target file name
// pMemBuf - buffer for log data
//-----------------------------------------
EXP_OPTION int ddocDebugWriteFile(int level, const char* szFileName, DigiDocMemBuf *pMemBuf);


#ifdef  __cplusplus
}
#endif

#endif // __DIGIDOC_DEBUG_H__