aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
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;