diff options
Diffstat (limited to '')
-rw-r--r-- | src/plugins/old-stats/mail-stats-connection.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/plugins/old-stats/mail-stats-connection.h b/src/plugins/old-stats/mail-stats-connection.h new file mode 100644 index 0000000..f98b691 --- /dev/null +++ b/src/plugins/old-stats/mail-stats-connection.h @@ -0,0 +1,19 @@ +#ifndef MAIL_STATS_CONNECTION_H +#define MAIL_STATS_CONNECTION_H + +#include "stats-connection.h" + +struct mail_stats; +struct mail_user; + +int mail_stats_connection_connect(struct stats_connection *conn, + struct mail_user *user); +void mail_stats_connection_disconnect(struct stats_connection *conn, + struct mail_user *user); + +void mail_stats_connection_send_session(struct stats_connection *conn, + struct mail_user *user, + const struct stats *stats); +void mail_stats_connection_send(struct stats_connection *conn, const string_t *str); + +#endif |