#include <stdio.h>
#include <sys/utsname.h>
#include "../common/UnicodeString.h"
#include "../common/XMLFileOutput.h"
#include "../common/MessageReporter.h"
#include "Packager.h"
#include "DefaultPackager.h"
Go to the source code of this file.
Namespaces | |
namespace | hwdet |
Data Structures | |
class | hwdet::Distribution |
Distribution specific code. More... | |
Defines | |
#define | AUTO_FREE_PACKAGERS 1 |
#define | KERNEL_VERSION_CODE(major, minor, release) (0x10000 * (major) + 0x100 * (minor) + (release)) |
Calculate kernel version code from version numbers supplied by the uname . |
#define AUTO_FREE_PACKAGERS 1 |
Set this to non-zero value to enable automatic destruction of the packagers registered by the user. Set this to zero if you use custom allocator or if you want to keep packagers after the distribution class is destroyed.
#define KERNEL_VERSION_CODE | ( | major, | |||
minor, | |||||
release | ) | (0x10000 * (major) + 0x100 * (minor) + (release)) |
Calculate kernel version code from version numbers supplied by the uname
.