From 9bb631f1e1861c63f38125fffb91081c98a1cfcc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 3 May 2018 08:29:45 +0200 Subject: Add/remove/list binds, saving to file --- include/FileUtil.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/FileUtil.hpp') diff --git a/include/FileUtil.hpp b/include/FileUtil.hpp index 0cfc808..097b607 100644 --- a/include/FileUtil.hpp +++ b/include/FileUtil.hpp @@ -15,4 +15,7 @@ namespace dchat // Throws FileException on error. // Returned value is allocated with malloc and should be free'd by caller. StringView getFileContent(const boost::filesystem::path &filepath); + + // Throws FileException on error + void fileReplace(const boost::filesystem::path &filepath, const StringView data); } -- cgit v1.2.3