FOSSology  4.4.0
Open Source License Compliance by Open Source Software
monkbulk.h
1 /*
2  Author: Daniele Fognini, Andreas Wuerl
3  SPDX-FileCopyrightText: © 2013-2014, 2018 Siemens AG
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
8 #ifndef MONK_AGENT_BULK_H
9 #define MONK_AGENT_BULK_H
10 
11 #define AGENT_BULK_NAME "monkbulk"
12 #define AGENT_BULK_DESC "monkbulk agent"
13 #define AGENT_BULK_ARS "monkbulk_ars"
14 
15 #include "monk.h"
16 
17 #define BULK_DECISION_TYPE_MEANING "bulk"
18 #define BULK_DECISION_TYPE 2
19 #define BULK_DECISION_SCOPE "upload"
20 
21 typedef struct {
22  long licenseId;
23  int removing;
24  char* comment;
25  char* reportinfo;
26  char* acknowledgement;
27 } BulkAction;
28 
29 typedef struct {
30  long bulkId;
31  long uploadTreeId;
32  long uploadTreeLeft;
33  long uploadTreeRight;
34  long licenseId;
35  int uploadId;
36  int jobId;
37  int userId;
38  int groupId;
39  char* refText;
40  bool ignoreIrre;
41  bool scanFindings;
42  char* delimiters;
43  BulkAction** actions;
45 
46 #endif // MONK_AGENT_BULK_H
int jobId
The id of the job.