view src/ssl-params/ssl-params.h @ 22658:ff99e7bff132

director: Allow proxy-notify to optionally be a socket Dovecot isn't using this currently, but it can be useful if external services want to send notifications.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 27 Oct 2017 16:24:54 +0300
parents 8b3ae8a07f31
children
line wrap: on
line source

#ifndef SSL_BUILD_PARAMS_H
#define SSL_BUILD_PARAMS_H

struct ssl_params_settings;

typedef void ssl_params_callback_t(const unsigned char *data, size_t size);

struct ssl_params *
ssl_params_init(const char *path, ssl_params_callback_t *callback,
		const struct ssl_params_settings *set);
void ssl_params_deinit(struct ssl_params **param);

void ssl_params_refresh(struct ssl_params *param);

#endif