Autocrypt functions. More...
#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include "private.h"
#include "mutt/lib.h"
#include "address/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "question/lib.h"
#include "autocrypt_data.h"
#include "functions.h"
Go to the source code of this file.
Functions | |
static void | toggle_active (struct AccountEntry *entry) |
Toggle whether an Autocrypt account is active. | |
static void | toggle_prefer_encrypt (struct AccountEntry *entry) |
Toggle whether an Autocrypt account prefers encryption. | |
static int | op_autocrypt_create_acct (struct AutocryptData *ad, int op) |
Create a new autocrypt account - Implements autocrypt_function_t -. | |
static int | op_autocrypt_delete_acct (struct AutocryptData *ad, int op) |
Delete the current account - Implements autocrypt_function_t -. | |
static int | op_autocrypt_toggle_active (struct AutocryptData *ad, int op) |
Toggle the current account active/inactive - Implements autocrypt_function_t -. | |
static int | op_autocrypt_toggle_prefer (struct AutocryptData *ad, int op) |
Toggle the current account prefer-encrypt flag - Implements autocrypt_function_t -. | |
static int | op_exit (struct AutocryptData *ad, int op) |
Exit this menu - Implements autocrypt_function_t -. | |
int | autocrypt_function_dispatcher (struct MuttWindow *win, int op) |
Perform a Autocrypt function - Implements function_dispatcher_t -. | |
Variables | |
const struct MenuFuncOp | OpAutocrypt [] |
Functions for the Autocrypt Account. | |
const struct MenuOpSeq | AutocryptDefaultBindings [] |
Key bindings for the Autocrypt Account. | |
static const struct AutocryptFunction | AutocryptFunctions [] |
All the NeoMutt functions that the Autocrypt supports. | |
Autocrypt functions.
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 functions.c.
|
static |
Toggle whether an Autocrypt account is active.
entry | Menu Entry for the account |
Definition at line 83 of file functions.c.
|
static |
Toggle whether an Autocrypt account prefers encryption.
entry | Menu Entry for the account |
Definition at line 99 of file functions.c.
const struct MenuFuncOp OpAutocrypt[] |
Functions for the Autocrypt Account.
Definition at line 54 of file functions.c.
const struct MenuOpSeq AutocryptDefaultBindings[] |
Key bindings for the Autocrypt Account.
Definition at line 68 of file functions.c.
|
static |
All the NeoMutt functions that the Autocrypt supports.
Definition at line 200 of file functions.c.