NeoMutt  2025-12-11-435-g4ac674
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
exec.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_HOOKS_EXEC_H
24#define MUTT_HOOKS_EXEC_H
25
26#include "core/lib.h"
27
28struct Address;
29struct Buffer;
30struct Email;
31struct ListHead;
32
33void exec_account_hook (const char *url);
34void exec_folder_hook (const char *path, const char *desc);
35void exec_message_hook (struct Mailbox *m, struct Email *e, enum CommandId id);
37void exec_timeout_hook (void);
38
39void mutt_crypt_hook (struct ListHead *list, struct Address *addr);
40void mutt_default_save (struct Buffer *path, struct Email *e);
41void mutt_delete_hooks (enum CommandId id);
42char * mutt_find_hook (enum CommandId id, const char *pat);
43const struct Expando *mutt_idxfmt_hook (const char *name, struct Mailbox *m, struct Email *e);
44void mutt_select_fcc (struct Buffer *path, struct Email *e);
45
46#endif /* MUTT_HOOKS_EXEC_H */
CommandId
ID of Command.
Definition command.h:58
Convenience wrapper for the core headers.
void mutt_default_save(struct Buffer *path, struct Email *e)
Find the default save path for an email.
Definition exec.c:214
void exec_startup_shutdown_hook(enum CommandId id)
Execute any startup/shutdown hooks.
Definition exec.c:410
void mutt_delete_hooks(enum CommandId id)
Delete matching hooks.
Definition parse.c:1014
char * mutt_find_hook(enum CommandId id, const char *pat)
Find a matching hook.
Definition exec.c:114
void mutt_select_fcc(struct Buffer *path, struct Email *e)
Select the FCC path for an email.
Definition exec.c:252
void exec_folder_hook(const char *path, const char *desc)
Perform a folder hook.
Definition exec.c:64
const struct Expando * mutt_idxfmt_hook(const char *name, struct Mailbox *m, struct Email *e)
Get index-format-hook format string.
Definition exec.c:443
void exec_timeout_hook(void)
Execute any timeout hooks.
Definition exec.c:372
void exec_message_hook(struct Mailbox *m, struct Email *e, enum CommandId id)
Perform a message hook.
Definition exec.c:135
void mutt_crypt_hook(struct ListHead *list, struct Address *addr)
Find crypto hooks for an Address.
Definition exec.c:314
void exec_account_hook(const char *url)
Perform an account hook.
Definition exec.c:323
An email address.
Definition address.h:35
String manipulation buffer.
Definition buffer.h:36
The envelope/body of an email.
Definition email.h:39
Parsed Expando trees.
Definition expando.h:41
A mailbox.
Definition mailbox.h:78