aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-04-15 22:10:54 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-04-17 20:00:55 +0200
commited6d0b5f852dc5f1c9407abecb5a9c6a7e42b4b2 (patch)
tree763b840f2619af642469d3894b88b682134f4425 /src/util.h
parentb97d54355e8239273b50c54dbedfde16ed82fd73 (diff)
downloadbitcoin-ed6d0b5f852dc5f1c9407abecb5a9c6a7e42b4b2.tar.xz
Remove headers.h
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/util.h b/src/util.h
index f6cb3caa1d..a4424771ce 100644
--- a/src/util.h
+++ b/src/util.h
@@ -31,11 +31,15 @@ typedef int pid_t; /* define for windows compatiblity */
#include <openssl/sha.h>
#include <openssl/ripemd.h>
-#include "netbase.h"
+#include "netbase.h" // for AddTimeData
+#include "ui_interface.h"
typedef long long int64;
typedef unsigned long long uint64;
+static const int64 COIN = 100000000;
+static const int64 CENT = 1000000;
+
#define loop for (;;)
#define BEGIN(a) ((char*)&(a))
#define END(a) ((char*)&((&(a))[1]))
@@ -160,9 +164,8 @@ boost::filesystem::path GetConfigFile();
boost::filesystem::path GetPidFile();
void CreatePidFile(const boost::filesystem::path &path, pid_t pid);
bool ReadConfigFile(std::map<std::string, std::string>& mapSettingsRet, std::map<std::string, std::vector<std::string> >& mapMultiSettingsRet);
-#ifdef WIN32
-boost::filesystem::path MyGetSpecialFolderPath(int nFolder, bool fCreate);
-#endif
+bool GetStartOnSystemStartup();
+bool SetStartOnSystemStartup(bool fAutoStart);
void ShrinkDebugFile();
int GetRandInt(int nMax);
uint64 GetRand(uint64 nMax);