Prototype for a function to parse color config. More...
Functions | |
| 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 -. | |
| 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 -. | |
Prototype for a function to parse color config.
| [in] | buf | Temporary Buffer space |
| [in] | s | Buffer containing string to be parsed |
| [out] | ac | Colour |
| [out] | err | Buffer for error messages |
| 0 | Success |
| -1 | Error |
| 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 -.
Parse a pair of colours, e.g. "red default"
Definition at line 283 of file parse_color.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 -.
Definition at line 327 of file parse_color.c.
Here is the call graph for this function:
Here is the caller graph for this function: