Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

fs.h
Go to the documentation of this file.
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.
4 
5 #ifndef BITCOIN_FS_H
6 #define BITCOIN_FS_H
7 
8 #include <stdio.h>
9 #include <string>
10 
11 #include <boost/filesystem.hpp>
12 #include <boost/filesystem/fstream.hpp>
13 #include <boost/filesystem/detail/utf8_codecvt_facet.hpp>
14 
16 namespace fs = boost::filesystem;
17 
19 namespace fsbridge {
20  FILE *fopen(const fs::path& p, const char *mode);
21  FILE *freopen(const fs::path& p, const char *mode, FILE *stream);
22 };
23 
24 #endif // BITCOIN_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
Released under the MIT license