lib: factor out message-id parsing to separate file.
authorDavid Bremner <david@tethera.net>
Sun, 4 Jun 2017 12:32:26 +0000 (09:32 -0300)
committerDavid Bremner <david@tethera.net>
Wed, 2 Aug 2017 01:17:47 +0000 (21:17 -0400)
commit2f94b3090c03bb56b43c4adfb94f7eeb28a6bf18
tree25b72267996881e28efaa2bf064e1463ae39ba2d
parent95b52e85b2deae449b71794b0d74e6c677516e12
lib: factor out message-id parsing to separate file.

This is really pure C string parsing, and doesn't need to be mixed in
with the Xapian/C++ layer. Although not strictly necessary, it also
makes it a bit more natural to call _parse_message_id from multiple
compilation units.
lib/Makefile.local
lib/add-message.cc
lib/message-id.c [new file with mode: 0644]
lib/notmuch-private.h