FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
directoryScan.hpp
1 /*
2  * Copyright (C) 2019, Siemens AG
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software Foundation,
15  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16  */
17 
18 #ifndef SRC_OJO_AGENT_DIRECTORYSCAN_HPP_
19 #define SRC_OJO_AGENT_DIRECTORYSCAN_HPP_
20 
21 #include <boost/filesystem.hpp>
22 #include <boost/range/iterator_range.hpp>
23 #include <iostream>
24 
25 #include "OjoUtils.hpp"
26 #include "OjoAgent.hpp"
27 
28 void scanDirectory(const bool json, const std::string &directoryPath);
29 
30 #endif /* SRC_OJO_AGENT_DIRECTORYSCAN_HPP_ */
void scanDirectory(const bool json, const string &directoryPath)