summaryrefslogtreecommitdiffstats
path: root/src/old-stats/stats-settings.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/old-stats/stats-settings.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/old-stats/stats-settings.h b/src/old-stats/stats-settings.h
new file mode 100644
index 0000000..6b50b64
--- /dev/null
+++ b/src/old-stats/stats-settings.h
@@ -0,0 +1,22 @@
+#ifndef STATS_SETTINGS_H
+#define STATS_SETTINGS_H
+
+struct old_stats_settings {
+ uoff_t memory_limit;
+
+ unsigned int command_min_time;
+ unsigned int session_min_time;
+ unsigned int user_min_time;
+ unsigned int domain_min_time;
+ unsigned int ip_min_time;
+
+ unsigned int carbon_interval;
+ const char *carbon_server;
+ const char *carbon_name;
+};
+
+extern const struct setting_parser_info old_stats_setting_parser_info;
+extern const struct old_stats_settings *stats_settings;
+
+#endif
+