#include "config.h"
#include <stdbool.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 "gui/lib.h"
#include "lib.h"
#include "expando/lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "pattern/lib.h"
#include "send/lib.h"
#include "alias.h"
#include "functions.h"
#include "gui.h"
#include "mutt_logging.h"
Go to the source code of this file.
Functions | |
void | alias_a (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Alias: Alias name - Implements ExpandoRenderData::get_string() -. | |
void | alias_c (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Alias: Comment - Implements ExpandoRenderData::get_string() -. | |
long | alias_f_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Alias: Flags - Implements ExpandoRenderData::get_number() -. | |
void | alias_f (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Alias: Flags - Implements ExpandoRenderData::get_string() -. | |
long | alias_n_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Alias: Index number - Implements ExpandoRenderData::get_number() -. | |
void | alias_r (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Alias: Address - Implements ExpandoRenderData::get_string() -. | |
long | alias_t_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Alias: Tagged char - Implements ExpandoRenderData::get_number() -. | |
void | alias_t (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Alias: Tagged char - Implements ExpandoRenderData::get_string() -. | |
void | alias_Y (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Alias: Tags - Implements ExpandoRenderData::get_string() -. | |
static int | alias_make_entry (struct Menu *menu, int line, int max_cols, struct Buffer *buf) |
Format an Alias for the Menu - Implements Menu::make_entry() -. | |
static int | alias_tag (struct Menu *menu, int sel, int act) |
Tag some aliases - Implements Menu::tag() -. | |
static int | alias_alias_observer (struct NotifyCallback *nc) |
Notification that an Alias has changed - Implements observer_t -. | |
static int | alias_window_observer (struct NotifyCallback *nc) |
Notification that a Window has changed - Implements observer_t -. | |
static struct MuttWindow * | alias_dialog_new (struct AliasMenuData *mdata) |
Create an Alias Selection Dialog. | |
static bool | dlg_alias (struct Buffer *buf, struct AliasMenuData *mdata) |
Display a menu of Aliases -. | |
int | alias_complete (struct Buffer *buf, struct ConfigSubset *sub) |
Alias completion routine. | |
void | alias_dialog (struct Mailbox *m, struct ConfigSubset *sub) |
Open the aliases dialog. | |
Variables | |
const struct ExpandoRenderData | AliasRenderData [] |
Callbacks for Alias Expandos. | |
static const struct Mapping | AliasHelp [] |
Help Bar for the Alias dialog (address book) | |
Address book.
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 dlg_alias.c.
|
static |
Create an Alias Selection Dialog.
mdata | Menu data holding Aliases |
ptr | New Dialog |
Definition at line 334 of file dlg_alias.c.
int alias_complete | ( | struct Buffer * | buf, |
struct ConfigSubset * | sub | ||
) |
Alias completion routine.
buf | Partial Alias to complete |
sub | Config items |
1 | Success |
0 | Error |
Given a partial alias, this routine attempts to fill in the alias from the alias list as much as possible. if given empty search string or found nothing, present all aliases
Definition at line 442 of file dlg_alias.c.
void alias_dialog | ( | struct Mailbox * | m, |
struct ConfigSubset * | sub | ||
) |
Open the aliases dialog.
m | Mailbox |
sub | Config item |
Definition at line 567 of file dlg_alias.c.
const struct ExpandoRenderData AliasRenderData |
Callbacks for Alias Expandos.
Definition at line 97 of file dlg_alias.c.
|
static |
Help Bar for the Alias dialog (address book)
Definition at line 100 of file dlg_alias.c.