1 // Copyright (c) 2017 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
11 #include <boost/filesystem.hpp>
12 #include <boost/filesystem/fstream.hpp>
13 #include <boost/filesystem/detail/utf8_codecvt_facet.hpp>
15 /** Filesystem operations and types */
16 namespace fs
= boost::filesystem
;
18 /** Bridge operations to C stdio */
20 FILE *fopen(const fs::path
& p
, const char *mode
);
21 FILE *freopen(const fs::path
& p
, const char *mode
, FILE *stream
);
24 #endif // BITCOIN_FS_H