Certificate Verification Dialog. More...
#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include "mutt/lib.h"
#include "gui/lib.h"
#include "color/lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "ssl.h"
Go to the source code of this file.
Functions | |
static int | menu_dialog_dokey (struct Menu *menu, int *id) |
Check if there are any menu key events to process. | |
static int | menu_dialog_translate_op (int op) |
Convert menubar movement to scrolling. | |
static int | cert_make_entry (struct Menu *menu, int line, int max_cols, struct Buffer *buf) |
Create a Certificate for the Menu - Implements Menu::make_entry() -. | |
void | cert_array_clear (struct CertArray *carr) |
Free all memory of a CertArray. | |
int | dlg_certificate (const char *title, struct CertArray *carr, bool allow_always, bool allow_skip) |
Ask the user to validate the certificate -. | |
Variables | |
static const struct Mapping | VerifyHelp [] |
Help Bar for the Certificate Verification dialog. | |
Certificate Verification Dialog.
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_verifycert.c.
|
static |
Check if there are any menu key events to process.
0 | An event occurred for the menu, or a timeout |
-1 | There was an event, but not for menu |
Definition at line 81 of file dlg_verifycert.c.
|
static |
Convert menubar movement to scrolling.
op | Action requested, e.g. OP_NEXT_ENTRY |
num | Action to perform, e.g. OP_NEXT_LINE |
Definition at line 111 of file dlg_verifycert.c.
void cert_array_clear | ( | struct CertArray * | carr | ) |
Free all memory of a CertArray.
carr | Array of text to clear |
Definition at line 157 of file dlg_verifycert.c.
|
static |
Help Bar for the Certificate Verification dialog.
Definition at line 66 of file dlg_verifycert.c.