view src/indexer/indexer.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_H
#define INDEXER_H

/* percentage: -1 = failed, 0..99 = indexing in progress, 100 = done */
typedef void indexer_status_callback_t(int percentage, void *context);

void indexer_refresh_proctitle(void);

#endif