view src/lib-stats/stats-connection.h @ 22916:432635b3ef52

login-common: ssl_require_crl works both ways It applies for incoming and outgoing connections.
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Wed, 28 Feb 2018 14:22:04 +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