Botan 2.19.5 Crypto and TLS for C&

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/types.h>
12#include <vector>
13#include <string>
14
15 namespace Botan {
16
17/**
18* No_Filesystem_Access Exception
19*/
20 class BOTAN_PUBLIC_API(2,0) No_Filesystem_Access final : public Exception
21 {
22 public:
23 No_Filesystem_Access() : Exception("No filesystem access enabled.")
24 {}
25 };
26
27 BOTAN_TEST_API bool has_filesystem_impl();
28
29 BOTAN_TEST_API std::vector<std::string> get_files_recursive(const std::string& dir);
30
31}
32
33#endif
Botan::Exception
Definition: exceptn.h:86
Botan::No_Filesystem_Access
Definition: filesystem.h:21
Botan::No_Filesystem_Access::No_Filesystem_Access
No_Filesystem_Access()
Definition: filesystem.h:23
final
int(* final)(unsigned char *, CTX *)
Definition: commoncrypto_hash.cpp:29
BOTAN_PUBLIC_API
#define BOTAN_PUBLIC_API(maj, min)
Definition: compiler.h:31
BOTAN_TEST_API
#define BOTAN_TEST_API
Definition: compiler.h:51
Botan
Definition: alg_id.cpp:13
Botan::get_files_recursive
std::vector< std::string > get_files_recursive(const std::string &dir)
Definition: filesystem.cpp:126
Botan::has_filesystem_impl
bool has_filesystem_impl()
Definition: filesystem.cpp:115