Botan
3.9.0
Crypto and TLS for C&
src
lib
utils
filesystem.h
Go to the documentation of this file.
1
/*
2
* (C) 2015 Jack Lloyd
3
* (C) 2015 Simon Warta (Kullo GmbH)
4
*
5
* Botan is released under the Simplified BSD License (see license.txt)
6
*/
7
8
#ifndef BOTAN_UTIL_FILESYSTEM_H_
9
#define BOTAN_UTIL_FILESYSTEM_H_
10
11
#include <botan/exceptn.h>
12
#include <string>
13
#include <vector>
14
15
namespace
Botan
{
16
17
/**
18
* No_Filesystem_Access Exception
19
*/
20
class
No_Filesystem_Access
final :
public
Exception
{
21
public
:
22
No_Filesystem_Access
() :
Exception
(
"No filesystem access enabled."
) {}
23
};
24
25
BOTAN_TEST_API
bool
has_filesystem_impl
();
26
27
BOTAN_TEST_API
std::vector<std::string>
get_files_recursive
(std::string_view dir);
28
29
}
// namespace Botan
30
31
#endif
BOTAN_TEST_API
#define BOTAN_TEST_API
Definition
api.h:41
Botan::Exception::Exception
Exception(std::string_view msg)
Definition
exceptn.cpp:71
Botan::No_Filesystem_Access::No_Filesystem_Access
No_Filesystem_Access()
Definition
filesystem.h:22
Botan
Definition
alg_id.cpp:13
Botan::has_filesystem_impl
bool has_filesystem_impl()
Definition
filesystem.cpp:113
Botan::get_files_recursive
std::vector< std::string > get_files_recursive(std::string_view dir)
Definition
filesystem.cpp:123
Generated by
1.14.0