NeoMutt  2025-09-05-32-g1e0d0a
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
tag.h
Go to the documentation of this file.
1
24#ifndef MUTT_NOTMUCH_TAG_H
25#define MUTT_NOTMUCH_TAG_H
26
27#include "mutt/lib.h"
28
35struct NmTags
36{
37 struct StringArray tags;
38 char *tag_str;
39};
40
41void nm_tag_array_free (struct NmTags *tags);
42struct NmTags nm_tag_str_to_tags(const char *tag_string);
43
44#endif /* MUTT_NOTMUCH_TAG_H */
Convenience wrapper for the library headers.
Array of Notmuch tags.
Definition: tag.h:36
struct StringArray tags
Tags.
Definition: tag.h:37
char * tag_str
Source string.
Definition: tag.h:38
struct NmTags 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
void nm_tag_array_free(struct NmTags *tags)
Free all memory of a NmTags.
Definition: tag.c:39