diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-19 12:54:40 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-19 13:00:43 -0700 |
commit | 0e777a8f800af062aba39a95a003f3e1d8f33793 (patch) | |
tree | 9d1c73931983ad78f60d866185ea07907782b29f /message.h | |
parent | 9bc4253fa804b62ff31e8de82a139b2cb12b118f (diff) |
notmuch: Switch from gmime to custom, ad-hoc parsing of headers.
Since we're currently just trying to stitch together In-Reply-To
and References headers we don't need that much sophistication.
It's when we later add full-text searching that GMime will be
useful.
So for now, even though my own code here is surely very buggy
compared to GMime it's also a lot faster. And speed is what
we're after for the initial index creation.
Diffstat (limited to 'message.h')
-rw-r--r-- | message.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/message.h b/message.h new file mode 100644 index 00000000..d0a34a10 --- /dev/null +++ b/message.h @@ -0,0 +1,19 @@ +/* message.h - Utility functions for parsing an email message for notmuch. + * + * Copyright © 2009 Carl Worth + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/ . + * + * Author: Carl Worth <cworth@cworth.org> + */ |