aboutsummaryrefslogtreecommitdiff
path: root/src/noui.h
diff options
context:
space:
mode:
authorGert-Jaap Glasbergen <gertjaap@gertjaap.org>2019-06-24 17:14:43 +0200
committerGert-Jaap Glasbergen <gertjaap@gertjaap.org>2019-07-03 14:03:21 +0200
commit7a0c2242890549b6dddac4cc6f1840a528469f2a (patch)
treefaab75894c151d1cdebdb43b360078ff943e1bfd /src/noui.h
parentc8fee6769a106bb5fbcdd3674fd0444b01d3391c (diff)
downloadbitcoin-7a0c2242890549b6dddac4cc6f1840a528469f2a.tar.xz
Suppress output in test_bitcoin for expected errors
Diffstat (limited to 'src/noui.h')
-rw-r--r--src/noui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/noui.h b/src/noui.h
index 79a79a9af2..854aeeacca 100644
--- a/src/noui.h
+++ b/src/noui.h
@@ -17,4 +17,10 @@ void noui_InitMessage(const std::string& message);
/** Connect all bitcoind signal handlers */
void noui_connect();
+/** Suppress all bitcoind signal handlers. Used to suppress output during test runs that produce expected errors */
+void noui_suppress();
+
+/** Reconnects the regular Non-GUI handlers after having used noui_suppress */
+void noui_reconnect();
+
#endif // BITCOIN_NOUI_H