aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-05-12 01:24:27 -0400
committerJeff Garzik <[email protected]>2012-05-16 19:25:25 -0400
commit768e5d52fb295b000940f6a806c3d4bfc3e4f54d (patch)
treecd0ae64786ceb7c363226fee822dad8ae919dd76 /src/util.h
parentMerge pull request #1319 from Diapolo/add_new_languages (diff)
downloaddiscoin-768e5d52fb295b000940f6a806c3d4bfc3e4f54d.tar.xz
discoin-768e5d52fb295b000940f6a806c3d4bfc3e4f54d.zip
Add new utility functions FileCommit(), RenameOver()
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 8e65fa786..f7bdaf533 100644
--- a/src/util.h
+++ b/src/util.h
@@ -152,7 +152,9 @@ std::string EncodeBase64(const std::string& str);
void ParseParameters(int argc, const char*const argv[]);
bool WildcardMatch(const char* psz, const char* mask);
bool WildcardMatch(const std::string& str, const std::string& mask);
+void FileCommit(FILE *fileout);
int GetFilesize(FILE* file);
+bool RenameOver(boost::filesystem::path src, boost::filesystem::path dest);
boost::filesystem::path GetDefaultDataDir();
const boost::filesystem::path &GetDataDir(bool fNetSpecific = true);
boost::filesystem::path GetConfigFile();