/usr/include/libguytools1/sysinfo/toolsysinfo.h is in libguytools1-dev 1.1.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 | // ****************************************************************************
// Project: libguytools
// ****************************************************************************
// Programmer: Guy Voncken
// Police Grand-Ducale
// Service de Police Judiciaire
// Section Nouvelles Technologies
// ****************************************************************************
// Module: System information
// ****************************************************************************
#ifndef __TOOLSYSINFO_H__
#define __TOOLSYSINFO_H__
// ------------------------------
// Constants and Structures
// ------------------------------
const int TOOLSYSINFO_MACADDRLEN_VAL = 6;
const int TOOLSYSINFO_MACADDRLEN_STR = 2*TOOLSYSINFO_MACADDRLEN_VAL;
typedef struct
{
unsigned char AddrVal [TOOLSYSINFO_MACADDRLEN_VAL ];
char AddrStr [TOOLSYSINFO_MACADDRLEN_STR+1];
} t_ToolSysInfoMacAddr, *t_pToolSysInfoMacAddr;
// ------------------------------
// Functions
// ------------------------------
APIRET ToolSysInfoGetMacAddr (t_pToolSysInfoMacAddr pMacAddr);
APIRET ToolSysInfoUname (QString &Uname);
APIRET ToolSysInfoInit (void);
APIRET ToolSysInfoDeInit (void);
// ------------------------------
// Error codes
// ------------------------------
enum
{
TOOLSYSINFO_ALREADY_INITIALISED = ERROR_BASE_TOOL_SYSINFO + 1,
TOOLSYSINFO_ERROR_SOCKET,
TOOLSYSINFO_ERROR_NO_ADDR,
TOOLSYSINFO_ERROR_UNAME
};
#endif
|