This file is indexed.

/usr/include/libguytools2/toolglobalid.h is in libguytools2-dev 2.0.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
// ****************************************************************************
//  Project:        libguytools
// ****************************************************************************
//  Programmer:     Guy Voncken
//                  Police Grand-Ducale
//                  Service de Police Judiciaire
//                  Section Nouvelles Technologies
// ****************************************************************************
//  Module:         Unique IDs for tools and applications
// ****************************************************************************


#ifndef __TOOLGLOBALID_H__
#define __TOOLGLOBALID_H__


/* ------------------------------- */
/*           Constants             */
/* ------------------------------- */

/* ------------------------------- */
/*            Base id's            */
/* ------------------------------- */

const unsigned int ID_BASE                    =       0;
const unsigned int ID_OFFSET_PROJECT          =10000000;   /* 100 projects                 */
const unsigned int ID_OFFSET_SUBPROJECT       =  100000;   /* 100 subprojects              */
const unsigned int ID_OFFSET_SUBSUBPROJECT    =    1000;   /* 1st possibility -- 100 subsubprojects (=100 C-files with max. 1000 IDs) */
const unsigned int ID_OFFSET_SUBSUBSUBPROJECT =     100;   /* 2nd possibility -- 100 subsubprojects (=100 subdir's)                                                               */
                                                           /*                    each of the 100 subsubprojects has max. 10 subsubsubprojects (=10 C-files with max. 100 IDs) */

#define CREATE_BASE_ID(ProjectName, x) \
   const unsigned int ID_BASE_ ## ProjectName = x;

#define CREATE_IDS(ModulName, x)             \
   const int ERROR_BASE_ ## ModulName = x;   \
   const int MEMID_BASE_ ## ModulName = x;

/* ========================== TOOLS ================================ */

CREATE_BASE_ID (TOOLS, ID_BASE + 0*ID_OFFSET_PROJECT)
CREATE_IDS (TOOL_CFG         , ID_BASE_TOOLS +  0*ID_OFFSET_SUBPROJECT)
CREATE_IDS (TOOL_ERROR       , ID_BASE_TOOLS +  1*ID_OFFSET_SUBPROJECT)
CREATE_IDS (TOOL_LOG         , ID_BASE_TOOLS +  2*ID_OFFSET_SUBPROJECT)
CREATE_IDS (TOOL_SIGNAL      , ID_BASE_TOOLS +  3*ID_OFFSET_SUBPROJECT)
CREATE_IDS (TOOL_SYSINFO     , ID_BASE_TOOLS +  4*ID_OFFSET_SUBPROJECT)


/* ========================= GUYMAGER ============================== */

CREATE_BASE_ID (GUYMAGER, ID_BASE + 1*ID_OFFSET_PROJECT)
CREATE_IDS (GUYMAGER_MAIN        , ID_BASE_GUYMAGER + 0*ID_OFFSET_SUBPROJECT)

#endif