diff options
author | Simon Rettberg | 2023-11-27 16:57:05 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-11-27 16:57:05 +0100 |
commit | ba2e716a8357496c3a834a8e799583ef58f95f82 (patch) | |
tree | 8e62953ff2c5e2944a4577720e5c588c77978d77 /helper.h | |
parent | Fix and improve numeric uid handling (diff) | |
download | ldadp-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, ...); |