Continue phase 2 of modules stuff.
authorDave West <davew@uncensored.citadel.org>
Sun, 5 Aug 2007 19:16:00 +0000 (19:16 +0000)
committerDave West <davew@uncensored.citadel.org>
Sun, 5 Aug 2007 19:16:00 +0000 (19:16 +0000)
commit13f214043d3697db7a3ca1c751cee41fd2fcf695
treeb91be1e5cfa2ccaf2802299da4aa507d382d8209
parent7b446ded2584f08fe51fe9327a3769acc6937c85
Continue phase 2 of modules stuff.
Moved some more stuff into the relevant modules/* directories.
modified Makefile.in to build them.
Created a new Hook to register a search function. This allowed serv_fulltext.c to become independant of two files.
New suite of functions to support this hook mechanism are:
CtdlRegisterSearchFunction
CtdlUnregisterSearchFunction
CtdlModuleDoSearch
Remind me to document that mechanism too 8-)
Altered the DeleteHook mechanism slightly.
A registered DeleteHook will be called with a room name of NULL when the message no longer has a refcount and
has realy been deleted from the system. This allowed fulltext to be fully disconected from the msgbase.
12 files changed:
citadel/include/ctdl_module.h
citadel/journaling.c
citadel/modules/autocompletion/serv_autocompletion.c
citadel/modules/fulltext/serv_fulltext.c
citadel/modules/fulltext/serv_fulltext.h [new file with mode: 0644]
citadel/modules/imap/imap_search.c
citadel/modules/vcard/serv_vcard.c
citadel/msgbase.c
citadel/serv_extensions.c
citadel/serv_extensions.h
citadel/serv_fulltext.h [deleted file]
citadel/server.h