aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qtipcserver.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-07-06 13:45:38 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-07-17 09:37:12 +0200
commit41c938eede3e9ea29ef86f3c25bab8fa6a51a509 (patch)
treea32400a0101478c5f761409f8370007ae0e69660 /src/qt/qtipcserver.h
parentce652affe0ffec114bceb2e2c20ae1d015faca53 (diff)
IPC-server hardening and update
- add IMPLEMENT_RANDOMIZE_STACK for ipcThread() - log / print boost interprocess exceptions - use MAX_URI_LENGTH in guiconstants.h (also used in qrcodedialog.cpp) - remove unneeded includes and ipcShutdown() from qtipcserver.cpp - fix a small mem-leak by deleting mq before re-using it - make ipcThread() and ipcThread2() static functions - add some more comments
Diffstat (limited to 'src/qt/qtipcserver.h')
-rw-r--r--src/qt/qtipcserver.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt/qtipcserver.h b/src/qt/qtipcserver.h
index fcff10d8da..484b6222eb 100644
--- a/src/qt/qtipcserver.h
+++ b/src/qt/qtipcserver.h
@@ -1,4 +1,9 @@
+#ifndef QTIPCSERVER_H
+#define QTIPCSERVER_H
+
+// Define Bitcoin-Qt message queue name
#define BITCOINURI_QUEUE_NAME "BitcoinURI"
void ipcInit();
-void ipcShutdown();
+
+#endif // QTIPCSERVER_H