NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
node_text.h
Go to the documentation of this file.
1
24#ifndef MUTT_EXPANDO_NODE_TEXT_H
25#define MUTT_EXPANDO_NODE_TEXT_H
26
27#include <stdint.h>
28
32typedef uint8_t NodeTextTermFlags;
33#define NTE_NO_FLAGS 0
34#define NTE_AMPERSAND (1 << 0)
35#define NTE_GREATER (1 << 1)
36#define NTE_QUESTION (1 << 2)
37
38struct ExpandoNode *node_text_new(const char *text);
39struct ExpandoNode *node_text_parse(const char *str, NodeTextTermFlags term_chars, const char **parsed_until);
40
41#endif /* MUTT_EXPANDO_NODE_TEXT_H */
struct ExpandoNode * node_text_new(const char *text)
Create a new Text ExpandoNode.
Definition: node_text.c:59
struct ExpandoNode * node_text_parse(const char *str, NodeTextTermFlags term_chars, const char **parsed_until)
Extract a block of text.
Definition: node_text.c:86
uint8_t NodeTextTermFlags
Special characters that end a text string.
Definition: node_text.h:32
Basic Expando Node.
Definition: node.h:67
const char * text
Node-specific text.
Definition: node.h:73