view src/lib-stats/stats-connection.h @ 22664:fea53c2725c0

director: Fix director_max_parallel_moves/kicks type Should be uint, not time.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 09 Nov 2017 12:24:16 +0200
parents 85fe66810c94
children
line wrap: on
line source

#ifndef STATS_CONNECTION_H
#define STATS_CONNECTION_H

struct stats_connection *stats_connection_create(const char *path);
void stats_connection_ref(struct stats_connection *conn);
void stats_connection_unref(struct stats_connection **conn);

/* Returns 0 on success, -1 on failure. */
int stats_connection_send(struct stats_connection *conn, const string_t *str);

#endif