NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
group.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_ALIAS_GROUP_H
24
#define MUTT_ALIAS_GROUP_H
25
26
#include "
core/lib.h
"
27
28
struct
Buffer
;
29
struct
GroupList;
30
struct
HashTable
;
31
struct
ParseContext
;
32
struct
ParseError
;
33
37
enum
GroupState
38
{
39
GS_NONE
,
40
GS_RX
,
41
GS_ADDR
,
42
};
43
44
int
parse_grouplist
(
struct
GroupList *gl,
struct
Buffer
*buf,
struct
Buffer
*s,
struct
Buffer
*err,
struct
HashTable
*groups);
45
enum
CommandResult
parse_group
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
46
enum
CommandResult
parse_lists
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
47
enum
CommandResult
parse_subscribe
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
48
enum
CommandResult
parse_unlists
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
49
enum
CommandResult
parse_unsubscribe
(
const
struct
Command
*cmd,
struct
Buffer
*line,
const
struct
ParseContext
*pc,
struct
ParseError
*pe);
50
51
#endif
/* MUTT_ALIAS_GROUP_H */
GroupState
GroupState
Type of email address group.
Definition
group.h:38
GS_RX
@ GS_RX
Entry is a regular expression.
Definition
group.h:40
GS_NONE
@ GS_NONE
Group is missing an argument.
Definition
group.h:39
GS_ADDR
@ GS_ADDR
Entry is an address.
Definition
group.h:41
parse_grouplist
int parse_grouplist(struct GroupList *gl, struct Buffer *buf, struct Buffer *s, struct Buffer *err, struct HashTable *groups)
Parse a group context.
Definition
group.c:56
CommandResult
CommandResult
Error codes for command_t parse functions.
Definition
command.h:37
lib.h
Convenience wrapper for the core headers.
parse_subscribe
enum CommandResult parse_subscribe(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'subscribe' command - Implements Command::parse() -.
Definition
group.c:239
parse_unlists
enum CommandResult parse_unlists(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unlists' command - Implements Command::parse() -.
Definition
group.c:291
parse_lists
enum CommandResult parse_lists(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'lists' command - Implements Command::parse() -.
Definition
group.c:191
parse_group
enum CommandResult parse_group(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'group' and 'ungroup' commands - Implements Command::parse() -.
Definition
group.c:90
parse_unsubscribe
enum CommandResult parse_unsubscribe(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unsubscribe' command - Implements Command::parse() -.
Definition
group.c:335
Buffer
String manipulation buffer.
Definition
buffer.h:36
Command
Definition
command.h:161
HashTable
A Hash Table.
Definition
hash.h:99
ParseContext
Context for config parsing (history/backtrace).
Definition
pcontext.h:34
ParseError
Detailed error information from config parsing.
Definition
perror.h:34