Raven Core  3.0.0
P2P Digital Currency
fs.h
Go to the documentation of this file.
1 // Copyright (c) 2017 The Bitcoin Core developers
2 // Copyright (c) 2017-2019 The Raven Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef RAVEN_FS_H
7 #define RAVEN_FS_H
8 
9 #include <stdio.h>
10 #include <string>
11 
12 #include <boost/filesystem.hpp>
13 #include <boost/filesystem/fstream.hpp>
14 #include <boost/filesystem/detail/utf8_codecvt_facet.hpp>
15 
17 namespace fs = boost::filesystem;
18 
20 namespace fsbridge {
21  FILE *fopen(const fs::path& p, const char *mode);
22  FILE *freopen(const fs::path& p, const char *mode, FILE *stream);
23 };
24 
25 #endif // RAVEN_FS_H
FILE * freopen(const fs::path &p, const char *mode, FILE *stream)
Definition: fs.cpp:10
FILE * fopen(const fs::path &p, const char *mode)
Definition: fs.cpp:5
Filesystem operations and types.
Definition: fs.cpp:3