"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/stats/stats-metrics.h" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

stats-metrics.h  (dovecot-2.3.16):stats-metrics.h  (dovecot-2.3.17)
#include "stats-settings.h" #include "stats-settings.h"
#include "sha1.h" #include "sha1.h"
struct metric; struct metric;
struct stats_metrics;
struct exporter { struct exporter {
const char *name; const char *name;
/* /*
* serialization format options * serialization format options
* *
* the "how do we encode the event before sending it" knobs * the "how do we encode the event before sending it" knobs
*/ */
enum event_exporter_time_fmt time_format; enum event_exporter_time_fmt time_format;
skipping to change at line 106 skipping to change at line 107
struct metric_field *fields; struct metric_field *fields;
unsigned int group_by_count; unsigned int group_by_count;
const struct stats_metric_settings_group_by *group_by; const struct stats_metric_settings_group_by *group_by;
struct metric_value group_value; struct metric_value group_value;
ARRAY(struct metric *) sub_metrics; ARRAY(struct metric *) sub_metrics;
struct metric_export_info export_info; struct metric_export_info export_info;
}; };
bool stats_metrics_add_dynamic(struct stats_metrics *metrics,
struct stats_metric_settings *set,
const char **error_r);
bool stats_metrics_remove_dynamic(struct stats_metrics *metrics,
const char *name);
struct stats_metrics *stats_metrics_init(const struct stats_settings *set); struct stats_metrics *stats_metrics_init(const struct stats_settings *set);
void stats_metrics_deinit(struct stats_metrics **metrics); void stats_metrics_deinit(struct stats_metrics **metrics);
/* Reset all metrics */ /* Reset all metrics */
void stats_metrics_reset(struct stats_metrics *metrics); void stats_metrics_reset(struct stats_metrics *metrics);
/* Returns event filter created from the stats_settings. */ /* Returns event filter created from the stats_settings. */
struct event_filter * struct event_filter *
stats_metrics_get_event_filter(struct stats_metrics *metrics); stats_metrics_get_event_filter(struct stats_metrics *metrics);
 End of changes. 2 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)