aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2025-11-15 05:02:42 +0100
committerarf20 <aruizfernandez05@gmail.com>2025-11-15 05:02:42 +0100
commit9617a4239955afedd80e423f5d6a52199626d00d (patch)
tree8b5b71ed708602ef9b641a30d1ee23733ad89aaf /config.h
parenta8284822eb59155d142446dab246f9eace3fda1e (diff)
downloadarfnet2-status-9617a4239955afedd80e423f5d6a52199626d00d.tar.gz
arfnet2-status-9617a4239955afedd80e423f5d6a52199626d00d.zip
fix config json conflict and variable samplesHEADmaster
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 4801393..3625bd7 100644
--- a/config.h
+++ b/config.h
@@ -10,12 +10,14 @@
#define DEFAULT_PORT 8888
#define DEFAULT_INTERVAL 60
+#define DEFAULT_SAMPLES 60
#define DEFAULT_TMPL_PATH "index.htm.tmpl"
#define DEFAULT_LOG_PATH "events.log"
/* config types */
typedef struct {
time_t interval;
+ int samples;
char *target_config;
} monitor_config_t;