Botan
3.6.1
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::Exception
Definition
exceptn.h:83
Botan::No_Filesystem_Access
Definition
filesystem.h:20
Botan::No_Filesystem_Access::No_Filesystem_Access
No_Filesystem_Access()
Definition
filesystem.h:22
final
int(* final)(unsigned char *, CTX *)
Definition
commoncrypto_hash.cpp:29
BOTAN_TEST_API
#define BOTAN_TEST_API
Definition
compiler.h:51
Botan
Definition
alg_id.cpp:13
Botan::has_filesystem_impl
bool has_filesystem_impl()
Definition
filesystem.cpp:111
Botan::get_files_recursive
std::vector< std::string > get_files_recursive(std::string_view dir)
Definition
filesystem.cpp:121
Generated by
1.12.0