9 #ifndef MONK_AGENT_DATABASE_H
10 #define MONK_AGENT_DATABASE_H
14 #include "highlight.h"
16 #define DECISION_TYPE_FOR_IRRELEVANT 4
36 char* acknowledgement;
38 GArray* licenseMappings;
43 long left,
long right,
long groupId,
44 bool ignoreIrre,
bool scanFindings);
48 long saveToDb(
fo_dbManager*
dbManager,
int agentId,
long int refId,
long int pFileId,
unsigned int percent);
55 void phrase_free(
Phrase* phrase);
56 void phrases_free(GArray* phrases);
The main FOSSology C library.
fo_dbManager * dbManager
fo_dbManager object
License mapping entry with per-mapping report metadata.
int removing
0 = add license, 1 = remove license
char * acknowledgement
nullable
long rfPk
rf_pk from license_ref table
char * reportinfo
nullable
Structure to hold a custom phrase and its mapped licenses.