NeoMutt
2025-12-11-1009-ga75d9e
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
autocrypt_data.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_AUTOCRYPT_AUTOCRYPT_DATA_H
24
#define MUTT_AUTOCRYPT_AUTOCRYPT_DATA_H
25
26
#include <stdbool.h>
27
#include "
private.h
"
28
29
struct
Menu
;
30
34
struct
AutocryptData
35
{
36
bool
done
;
37
struct
Menu
*
menu
;
38
struct
AccountEntryArray
entries
;
39
};
40
41
struct
AutocryptData
*
autocrypt_data_new
(
void
);
42
void
autocrypt_data_free
(
struct
Menu
*
menu
,
void
**ptr);
43
44
void
account_entry_array_clear
(
struct
AccountEntryArray *
entries
);
45
46
#endif
/* MUTT_AUTOCRYPT_AUTOCRYPT_DATA_H */
private.h
Shared constants/structs that are private to Autocrypt.
autocrypt_data_new
struct AutocryptData * autocrypt_data_new(void)
Create new Autocrypt Data.
Definition
autocrypt_data.c:40
account_entry_array_clear
void account_entry_array_clear(struct AccountEntryArray *entries)
Clear an AccountEntry array.
Definition
autocrypt_data.c:55
autocrypt_data_free
void autocrypt_data_free(struct Menu *menu, void **ptr)
Free Autocrypt Data - Implements Menu::mdata_free() -.
Definition
autocrypt_data.c:72
AutocryptData
Data to pass to the Autocrypt Functions.
Definition
autocrypt_data.h:35
AutocryptData::done
bool done
Should we close the Dialog?
Definition
autocrypt_data.h:36
AutocryptData::menu
struct Menu * menu
Autocrypt Menu.
Definition
autocrypt_data.h:37
AutocryptData::entries
struct AccountEntryArray entries
Account Entries.
Definition
autocrypt_data.h:38
Menu
Definition
lib.h:86