FOSSology
4.5.1
Open Source License Compliance by Open Source Software
scancode_wrapper.hpp
1
/*
2
SPDX-FileCopyrightText: © 2021 Sarita Singh <saritasingh.0425@gmail.com>
3
4
SPDX-License-Identifier: GPL-2.0-only
5
*/
6
7
#ifndef SCANCODE_AGENT_SCANCODE_WRAPPER_HPP
8
#define SCANCODE_AGENT_SCANCODE_WRAPPER_HPP
9
10
#define AGENT_NAME "scancode"
11
#define AGENT_DESC "scancode agent"
12
#define AGENT_ARS "scancode_ars"
13
14
#include <fstream>
15
#include <iostream>
16
#include <map>
17
#include <string>
18
#include <vector>
19
20
#include <boost/tokenizer.hpp>
21
#include <jsoncpp/json/json.h>
22
23
#include "
files.hpp
"
24
#include "match.hpp"
25
#include "scancode_state.hpp"
26
#include "scancode_utils.hpp"
27
28
using namespace
std;
29
30
void
scanFileWithScancode(
const
State
& state,
string
fileLocation,
string
outputFile);
31
map<string, vector<Match>> extractDataFromScancodeResult(
const
string
& scancodeResult,
const
string
& filename);
32
33
#endif
// SCANCODE_AGENT_SCANCODE_WRAPPER_HPP
State
Definition:
state.hpp:16
files.hpp
Utility functions for file handling.
src
scancode
agent
scancode_wrapper.hpp
Generated on Wed Mar 26 2025 09:10:53 for FOSSology by
1.9.1