diff options
author | gjs278 <admin@garyshood.com> | 2011-04-12 19:15:19 -0500 |
---|---|---|
committer | root <root@Gentoo.(none)> | 2011-04-12 19:15:19 -0500 |
commit | 66fb32d267d90fe2e1f652570bc45aba26be55fa (patch) | |
tree | f56704c64f01faab35d3e781a836702e6ad9f8e7 /util.h | |
parent | 485dda9774b574a82fd23dc9650dd2cbcab2a391 (diff) | |
download | bitcoin-66fb32d267d90fe2e1f652570bc45aba26be55fa.tar.xz |
pidfile support for daemon
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -172,6 +172,8 @@ bool WildcardMatch(const string& str, const string& mask); int GetFilesize(FILE* file); void GetDataDir(char* pszDirRet); string GetConfigFile(); +string GetPidFile(); +void CreatePidFile(string pidFile, pid_t pid); void ReadConfigFile(map<string, string>& mapSettingsRet, map<string, vector<string> >& mapMultiSettingsRet); #ifdef __WXMSW__ string MyGetSpecialFolderPath(int nFolder, bool fCreate); |