Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tag-utils: use the tag_opt_list_t as talloc context, if possible. | David Bremner | 2012-12-22 |
| | | | | | | | | | The memory usage discipline of tag_op_list_t is never to free the internal array of tag operations before freeing the whole list, so it makes sense to take advantage of hierarchical de-allocation by talloc. By not relying on the context passed into tag_parse_line, we can allow tag_op_list_t structures to live longer than that context. | ||
* | tag-util.[ch]: New files for common tagging routines | David Bremner | 2012-12-09 |
These are meant to be shared between notmuch-tag and notmuch-restore. The bulk of the routines implement a "tag operation list" abstract data type act as a structured representation of a set of tag operations (typically coming from a single tag command or line of input). |