lib: refactor notmuch_database_add_message header parsing
authorDavid Bremner <david@tethera.net>
Sun, 4 Jun 2017 12:32:27 +0000 (09:32 -0300)
committerDavid Bremner <david@tethera.net>
Wed, 2 Aug 2017 01:17:47 +0000 (21:17 -0400)
commit4fdabd636e1b0417bb40c71bdce64e18f0f347e2
tree9591a61e9be19bfb2b939cf824f0a52371dc0eec
parent2f94b3090c03bb56b43c4adfb94f7eeb28a6bf18
lib: refactor notmuch_database_add_message header parsing

This function is large and hard to understand and modify. Start to
break it down into meaningful pieces.
lib/add-message.cc
lib/message-file.c
lib/notmuch-private.h