#include "config.h"
#include <stdint.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "address/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "commands.h"
#include "lib.h"
#include "parse/lib.h"
#include "alias.h"
#include "reverse.h"
Go to the source code of this file.
Functions | |
void | alias_tags_to_buffer (struct TagList *tl, struct Buffer *buf) |
Write a comma-separated list of tags to a Buffer. | |
void | parse_alias_tags (const char *tags, struct TagList *tl) |
Parse a comma-separated list of tags. | |
void | parse_alias_comments (struct Alias *alias, const char *com) |
Parse the alias/query comment field. | |
enum CommandResult | parse_alias (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Parse the 'alias' command - Implements Command::parse() -. | |
enum CommandResult | parse_unalias (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Parse the 'unalias' command - Implements Command::parse() -. | |
Alias 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 commands.c.
void alias_tags_to_buffer | ( | struct TagList * | tl, |
struct Buffer * | buf | ||
) |
Write a comma-separated list of tags to a Buffer.
tl | Tags |
buf | Buffer for the result |
Definition at line 49 of file commands.c.
void parse_alias_tags | ( | const char * | tags, |
struct TagList * | tl | ||
) |
Parse a comma-separated list of tags.
tags | Comma-separated string |
tl | TagList for the results |
Definition at line 65 of file commands.c.
void parse_alias_comments | ( | struct Alias * | alias, |
const char * | com | ||
) |
Parse the alias/query comment field.
alias | Alias for the result |
com | Comment string |
If the comment contains a 'tags:' field, the result will be put in alias.tags
Definition at line 95 of file commands.c.