Mercurial > dovecot > original-hg > dovecot-1.2
view src/plugins/fts/fts-plugin.c @ 5185:24f4a959a24c HEAD
Added <plugin_name>_version string.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 22 Feb 2007 16:27:25 +0200 |
parents | 48a16f1254b5 |
children | 65c69a53a7be |
line wrap: on
line source
/* Copyright (C) 2006 Timo Sirainen */ #include "lib.h" #include "mail-storage-private.h" #include "fts-plugin.h" const char *fts_plugin_version = PACKAGE_VERSION; 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; }