#include "config.h"
#include <stdbool.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 "gui/lib.h"
#include "lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "pattern/lib.h"
#include "send/lib.h"
#include "alias.h"
#include "format_flags.h"
#include "functions.h"
#include "gui.h"
#include "mutt_logging.h"
#include "muttlib.h"
Go to the source code of this file.
Functions | |
static const char * | alias_format_str (char *buf, size_t buflen, size_t col, int cols, char op, const char *src, const char *prec, const char *if_str, const char *else_str, intptr_t data, MuttFormatFlags flags) |
Format a string for the alias list - Implements format_t -. | |
static void | alias_make_entry (struct Menu *menu, char *buf, size_t buflen, int line) |
Format a menu item for the alias list - 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 | |
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 277 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 385 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 509 of file dlg_alias.c.
|
static |
Help Bar for the Alias dialog (address book)
Definition at line 97 of file dlg_alias.c.