Parse Group/Lists Commands. More...
#include "core/lib.h"
Include dependency graph for group.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Enumerations | |
| enum | GroupState { GS_NONE , GS_RX , GS_ADDR } |
| Type of email address group. More... | |
Functions | |
| int | parse_grouplist (struct GroupList *gl, struct Buffer *buf, struct Buffer *s, struct Buffer *err, struct HashTable *groups) |
| Parse a group context. | |
| 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() -. | |
| 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() -. | |
| 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() -. | |
| 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() -. | |
| 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() -. | |
Parse Group/Lists Commands.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file group.h.
| enum GroupState |
| int parse_grouplist | ( | struct GroupList * | gl, |
| struct Buffer * | token, | ||
| struct Buffer * | line, | ||
| struct Buffer * | err, | ||
| struct HashTable * | groups ) |
Parse a group context.
| gl | GroupList to add to |
| token | Temporary Buffer space |
| line | Buffer containing string to be parsed |
| err | Buffer for error messages |
| groups | Groups HashTable |
| 0 | Success |
| -1 | Error |
Definition at line 56 of file group.c.
Here is the call graph for this function:
Here is the caller graph for this function: