view src/stats/stats-settings.h @ 13294:c51fbe64eae1

Initial implementation of statistics gathering daemon and plugins to feed it. Some statistics are still missing, some of the code is a bit ugly and the internal protocols will probably still change.
author Timo Sirainen <tss@iki.fi>
date Fri, 26 Aug 2011 05:15:12 +0300
parents
children 968da3b58769
line wrap: on
line source

#ifndef STATS_SETTINGS_H
#define STATS_SETTINGS_H

struct 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;
};

extern const struct setting_parser_info stats_setting_parser_info;
extern const struct stats_settings *stats_settings;

#endif