Mixmaster Hosts Window. More...
#include "config.h"
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "menu/lib.h"
#include "format_flags.h"
#include "muttlib.h"
#include "remailer.h"
Go to the source code of this file.
Functions | |
static const char * | mix_format_caps (struct Remailer *r) |
Turn flags into a MixMaster capability string. More... | |
static const char * | mix_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 remailer menu - Implements format_t -. More... | |
static void | mix_make_entry (struct Menu *menu, char *buf, size_t buflen, int num) |
Format a menu item for the mixmaster chain list - Implements Menu::make_entry() -. More... | |
struct MuttWindow * | win_hosts_new (struct RemailerArray *ra) |
Create a new Hosts Window. More... | |
struct Remailer * | win_hosts_get_selection (struct MuttWindow *win) |
Get the current selection. More... | |
Mixmaster Hosts Window.
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 win_hosts.c.
|
static |
Turn flags into a MixMaster capability string.
r | Remailer to use |
ptr | Capability string |
Definition at line 67 of file win_hosts.c.
struct MuttWindow * win_hosts_new | ( | struct RemailerArray * | ra | ) |
Create a new Hosts Window.
ra | Array of Remailer hosts |
ptr | New Hosts Window |
Definition at line 211 of file win_hosts.c.
struct Remailer * win_hosts_get_selection | ( | struct MuttWindow * | win | ) |
Get the current selection.
win | Hosts Window |
ptr | Currently selected Remailer |
Definition at line 232 of file win_hosts.c.