/src/botan/build/include/botan/internal/filesystem.h
Line | Count | Source (jump to first uncovered line) |
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 | 0 | {} |
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 |