This file is indexed.

/usr/include/avifile-0.7/configfile.h is in libavifile-0.7-dev 1:0.7.48~20090503.ds-18.

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
#ifndef AVIFILE_CONFIGFILE_H
#define AVIFILE_CONFIGFILE_H

#include "avm_default.h"

/**
 * This namespace provides means to conveniently store and retrieve app-specific
 * data from the registry ( file ~/.avm/ ).
 *
 * Function names are self-explanatory. Do not include spaces in first two
 * arguments to avoid collisions. 'def_value' arguments correspond to
 * values which will be returned if needed record is not found in the
 * registry or if registry access fails for some reason.
 */

/* declaration */

AVM_BEGIN_NAMESPACE;


// change default config directory name .avm/default
AVMEXPORT void* RegInit(const char* regname, const char* dirname = ".avm");
AVMEXPORT void RegSave();
AVMEXPORT int RegWriteInt(const char* appname, const char* valname, int value);
AVMEXPORT int RegReadInt(const char* appname, const char* valname, int def_value);
AVMEXPORT int RegWriteFloat(const char* appname, const char* valname, float value);
AVMEXPORT float RegReadFloat(const char* appname, const char* valname, float def_value);
AVMEXPORT int RegWriteString(const char* appname, const char* valname, const char* value);
AVMEXPORT const char* RegReadString(const char* appname, const char* valname, const char* def_value);

AVM_END_NAMESPACE;

#ifdef AVM_COMPATIBLE
#define REGISTRY_BEGIN_NAMESPACE    namespace Registry {
#define REGISTRY_END_NAMESPACE      }

REGISTRY_BEGIN_NAMESPACE;

/* backward declaration */

static inline void* Init(const char* regname, const char* dirname = ".avm")
{ return avm::RegInit(regname, dirname); }
static inline int WriteInt(const char* appname, const char* valname, int value)
{ return avm::RegWriteInt(appname, valname, value); }
static inline int ReadInt(const char* appname, const char* valname, int def_value)
{ return avm::RegReadInt(appname, valname, def_value); }
static inline int WriteFloat(const char* appname, const char* valname, float value)
{ return avm::RegWriteFloat(appname, valname, value); }
static inline float ReadFloat(const char* appname, const char* valname, float def_value)
{ return avm::RegReadFloat(appname, valname, def_value); }
static inline int WriteString(const char* appname, const char* valname, const char* value)
{ return avm::RegWriteString(appname, valname, value); }
static inline const char* ReadString(const char* appname, const char* valname, const char* def_value)
{ return avm::RegReadString(appname, valname, def_value); }

REGISTRY_END_NAMESPACE;
#endif // AVM_COMPATIBLE
//
// For internal usage by avifile applications
// do not try to use elsewhere!
//
// used by defining DECLARE_REGISTRY_SHORTCUT
// before inclusion of this file
#ifdef DECLARE_REGISTRY_SHORTCUT

extern const char* g_pcProgramName;

static inline float RF(const char* name, float def)
{ return avm::RegReadFloat(g_pcProgramName, name, def); }
static inline int RI(const char* name, int def)
{ return avm::RegReadInt(g_pcProgramName, name, def); }
static inline const char* RS(const char* name, const char* def)
{ return avm::RegReadString(g_pcProgramName, name, def); }
static inline int WF(const char* name, float def)
{ return avm::RegWriteFloat(g_pcProgramName, name, def); }
static inline int WI(const char* name, int def)
{ return avm::RegWriteInt(g_pcProgramName, name, def); }
static inline int WS(const char* name, const char* def)
{ return avm::RegWriteString(g_pcProgramName, name, def); }

#ifdef QSTRING_H

static inline int WI(const char* name, const QString& def)
{ return avm::RegWriteInt(g_pcProgramName, name, def.toInt()); }
static inline int WS(const char* name, const QString& def)
{ return avm::RegWriteString(g_pcProgramName, name, def.ascii()); }
//{ return avm::RegWriteString(g_pcProgramName, name, def.toAscii()); }

#endif // QSTRING_H

#endif // DECLARE_REGISTRY_SHORTCUT

#endif // AVIFILE_CONFIGFILE_H