/usr/include/dballe/db/defs.h is in libdballe-dev 7.21-1build1.
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 | #ifndef DBALLE_DB_DEFS_H
#define DBALLE_DB_DEFS_H
#include <wreport/error.h>
#include <wreport/varinfo.h>
#include <vector>
/**
* Flags controlling message import
* @{
*/
/* Import the attributes. */
#define DBA_IMPORT_ATTRS 1
/* Attempt to merge pseudoana extra information into the existing ones. */
#define DBA_IMPORT_FULL_PSEUDOANA 2
/* Message data will overwrite existing values; otherwise, trying to insert
* existing data will cause an error. */
#define DBA_IMPORT_OVERWRITE 8
/// @}
namespace dballe {
namespace db {
/**
* Known database formats
*/
typedef enum {
V5 = 0,
V6 = 1,
MEM = 2,
MESSAGES = 3,
V7 = 4,
} Format;
/**
* Structure uesd to pass lists of varcodes
*/
typedef std::vector<wreport::Varcode> AttrList;
}
}
#endif
|