summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
authorSimon Rettberg2023-11-27 16:57:05 +0100
committerSimon Rettberg2023-11-27 16:57:05 +0100
commitba2e716a8357496c3a834a8e799583ef58f95f82 (patch)
tree8e62953ff2c5e2944a4577720e5c588c77978d77 /helper.h
parentFix and improve numeric uid handling (diff)
downloadldadp-ba2e716a8357496c3a834a8e799583ef58f95f82.tar.gz
ldadp-ba2e716a8357496c3a834a8e799583ef58f95f82.tar.xz
ldadp-ba2e716a8357496c3a834a8e799583ef58f95f82.zip
Add autorestart option to exit(1) on unresponsive upstream
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/helper.h b/helper.h
index 7aaece7..3b20545 100644
--- a/helper.h
+++ b/helper.h
@@ -33,7 +33,10 @@ typedef enum {
DEBUG_TRACE = 4,
} DebugLevel;
+/** Debug level for logging */
extern DebugLevel _debugLevel;
+/** Automatically restart on connection errors? */
+extern int _autoRestart;
void plog(const DebugLevel messageLevel, char *args, ...);