aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2025-11-10 23:50:02 +0100
committerarf20 <aruizfernandez05@gmail.com>2025-11-10 23:50:02 +0100
commit6bf70db630afa19d0407d6468df8de307bccfecd (patch)
tree6f33f87121d6b00424fb3bec4230e8ac9feefc8c /config.h
parent26aedc1555186b3be00cf719c2376585035b86af (diff)
downloadarfnet2-status-6bf70db630afa19d0407d6468df8de307bccfecd.tar.gz
arfnet2-status-6bf70db630afa19d0407d6468df8de307bccfecd.zip
fix config
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 0c0b502..4801393 100644
--- a/config.h
+++ b/config.h
@@ -10,6 +10,7 @@
#define DEFAULT_PORT 8888
#define DEFAULT_INTERVAL 60
+#define DEFAULT_TMPL_PATH "index.htm.tmpl"
#define DEFAULT_LOG_PATH "events.log"
/* config types */
@@ -29,6 +30,7 @@ typedef struct {
/* config objects */
extern unsigned short port;
+extern char *tmpl_path;
extern char *log_path;
extern monitor_config_t monitor_config;
extern alert_config_t alert_config;