view src/indexer/indexer-client.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 af8c5e56d098
children
line wrap: on
line source

#ifndef INDEXER_CLIENT_H
#define INDEXER_CLIENT_H

struct indexer_queue;

struct indexer_client *
indexer_client_create(int fd, struct indexer_queue *queue);
void indexer_client_status_callback(int percentage, void *context);

unsigned int indexer_clients_get_count(void);
void indexer_clients_destroy_all(void);

#endif