Mercurial > dovecot > original-hg > dovecot-1.2
view src/plugins/fts/fts-plugin.c @ 4609:48a16f1254b5 HEAD
Added full text search plugin framework. Still missing support for handling
expunges. Also it could use better logic with more complex SEARCH queries to
figure out when the FTS index should be used.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 17 Sep 2006 19:28:10 +0300 |
parents | |
children | 24f4a959a24c |
line wrap: on
line source
/* Copyright (C) 2006 Timo Sirainen */ #include "lib.h" #include "mail-storage-private.h" #include "fts-plugin.h" void (*fts_next_hook_mailbox_opened)(struct mailbox *box); void fts_plugin_init(void) { fts_next_hook_mailbox_opened = hook_mailbox_opened; hook_mailbox_opened = fts_mailbox_opened; } void fts_plugin_deinit(void) { if (hook_mailbox_opened == fts_mailbox_opened) hook_mailbox_opened = fts_next_hook_mailbox_opened; }