Modularise msgbase
authorWilfried Goesgens <dothebart@citadel.org>
Fri, 24 Jul 2015 10:32:35 +0000 (12:32 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Fri, 24 Jul 2015 10:32:35 +0000 (12:32 +0200)
commitcf09c5cb779279f9ad24545e68414edc0340d6fa
tree6bba584e6a5bd5828cd067249dce2c64acfa59ff
parentf40d1c4cc9f50e8226d9ebc54012d8f2c586e5b2
Modularise msgbase
  - offer to not call the msg hooks (and set the preivous default in all places)
  - move the serialization of messages into own functions
  - split saving of messages and saving of new messages and make them use each other
Fix import / export
  - don't use fingercount strlen(), CPP can do that way better.
  - properly de-serialize messages so we know they're good.
  - don't roll our own message saving facilities, use the common one (which then also does the big message data splitting)
23 files changed:
citadel/config.c
citadel/euidindex.c
citadel/modules/autocompletion/serv_autocompletion.c
citadel/modules/calendar/serv_calendar.c
citadel/modules/ctdlproto/serv_messages.c
citadel/modules/expire/serv_expire.c
citadel/modules/extnotify/extnotify_main.c
citadel/modules/fulltext/serv_fulltext.c
citadel/modules/imap/imap_fetch.c
citadel/modules/imap/imap_search.c
citadel/modules/inetcfg/serv_inetcfg.c
citadel/modules/migrate/serv_migrate.c
citadel/modules/network/serv_netmail.c
citadel/modules/nntp/serv_nntp.c
citadel/modules/sieve/serv_sieve.c
citadel/modules/smtp/serv_smtp.c
citadel/modules/smtp/serv_smtpqueue.c
citadel/modules/vcard/serv_vcard.c
citadel/modules/wiki/serv_wiki.c
citadel/modules/xmpp/xmpp_presence.c
citadel/msgbase.c
citadel/msgbase.h
citadel/utils/ctdlmigrate.c