NeoMutt  2025-09-05-55-g97fc89
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
parse_color.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_COLOR_PARSE_COLOR_H
24#define MUTT_COLOR_PARSE_COLOR_H
25
26#include "mutt/lib.h"
27#include "core/lib.h"
28
29struct AttrColor;
30
31extern const struct Mapping ColorNames[];
32
33enum CommandResult parse_attr_spec (struct Buffer *buf, struct Buffer *s, struct AttrColor *ac, struct Buffer *err);
34enum CommandResult parse_color_pair(struct Buffer *buf, struct Buffer *s, struct AttrColor *ac, struct Buffer *err);
35
36#endif /* MUTT_COLOR_PARSE_COLOR_H */
CommandResult
Error codes for command_t parse functions.
Definition command.h:35
Convenience wrapper for the core headers.
enum CommandResult parse_attr_spec(struct Buffer *buf, struct Buffer *s, struct AttrColor *ac, struct Buffer *err)
Parse an attribute description - Implements parser_callback_t -.
enum CommandResult parse_color_pair(struct Buffer *buf, struct Buffer *s, struct AttrColor *ac, struct Buffer *err)
Parse a pair of colours - Implements parser_callback_t -.
Convenience wrapper for the library headers.
const struct Mapping ColorNames[]
Mapping between a colour name and an ncurses colour.
Definition parse_color.c:42
A curses colour and its attributes.
Definition attr.h:66
String manipulation buffer.
Definition buffer.h:36
Mapping between user-readable string and a constant.
Definition mapping.h:33