NeoMutt  2022-04-29-178-g3b62e6
Teaching an old dog new tricks
DOXYGEN
tag.h
Go to the documentation of this file.
1
23#ifndef MUTT_NOTMUCH_TAG_H
24#define MUTT_NOTMUCH_TAG_H
25
26#include "mutt/lib.h"
27
28ARRAY_HEAD(Tags, char *);
29
37{
38 struct Tags tags;
39 char *tag_str;
40};
41
42void nm_tag_array_free(struct TagArray *tags);
43struct TagArray nm_tag_str_to_tags(const char *tag_string);
44
45#endif /* MUTT_NOTMUCH_TAG_H */
Convenience wrapper for the library headers.
Array of Notmuch tags.
Definition: tag.h:37
struct Tags tags
Tags.
Definition: tag.h:38
char * tag_str
Source string.
Definition: tag.h:39
ARRAY_HEAD(Tags, char *)
void nm_tag_array_free(struct TagArray *tags)
Free all memory of a TagArray.
Definition: tag.c:39
struct TagArray nm_tag_str_to_tags(const char *tag_string)
Converts a comma and/or space-delimited string of tags into an array.
Definition: tag.c:50