Skip to content
API Documentation
BastionGuard™
scanner_engine.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "models.hpp"
4#include <functional>
5#include <string>
6
8public:
9 using ProgressCallback = std::function<void(const ScanProgress&)>;
10
12 const std::string& path,
13 ProgressCallback progress_cb,
14 std::function<bool()> cancel_cb);
15};
std::function< void(const ScanProgress &)> ProgressCallback
ScanReport run_scan(const std::string &path, ProgressCallback progress_cb, std::function< bool()> cancel_cb)