NeoMutt  2024-11-14-138-ge5ca67
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
expando.c File Reference

Autocrypt Expando definitions. More...

#include <stdbool.h>
#include <stdio.h>
#include "private.h"
#include "mutt/lib.h"
#include "address/lib.h"
#include "expando.h"
#include "lib.h"
#include "expando/lib.h"
+ Include dependency graph for expando.c:

Go to the source code of this file.

Functions

static void autocrypt_address (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Autocrypt: Address - Implements get_string_t -.
 
static void autocrypt_enabled (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Autocrypt: Status flag - Implements get_string_t -.
 
static void autocrypt_keyid (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Autocrypt: GPG Key - Implements get_string_t -.
 
static long autocrypt_number_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 Autocrypt: Index number - Implements get_number_t -.
 
static void autocrypt_prefer_encrypt (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 Autocrypt: Prefer-encrypt flag - Implements get_string_t -.
 

Variables

const struct ExpandoRenderCallback AutocryptRenderCallbacks []
 Callbacks for Autocrypt Expandos.
 

Detailed Description

Autocrypt Expando definitions.

Authors
  • Richard Russon

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 expando.c.

Variable Documentation

◆ AutocryptRenderCallbacks

const struct ExpandoRenderCallback AutocryptRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_AUT_ADDRESS
AccountEntry.addr.
Definition: private.h:62
@ ED_AUT_KEYID
AutocryptAccount.keyid.
Definition: private.h:61
@ ED_AUT_NUMBER
AccountEntry.num.
Definition: private.h:63
@ ED_AUT_ENABLED
AutocryptAccount.enabled.
Definition: private.h:60
@ ED_AUT_PREFER_ENCRYPT
AutocryptAccount.prefer_encrypt.
Definition: private.h:64
@ ED_AUTOCRYPT
Autocrypt ED_AUT_ ExpandoDataAutocrypt.
Definition: domain.h:37
static long autocrypt_number_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
Autocrypt: Index number - Implements get_number_t -.
Definition: expando.c:86
static void autocrypt_keyid(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Autocrypt: GPG Key - Implements get_string_t -.
Definition: expando.c:74
static void autocrypt_prefer_encrypt(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Autocrypt: Prefer-encrypt flag - Implements get_string_t -.
Definition: expando.c:96
static void autocrypt_address(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Autocrypt: Address - Implements get_string_t -.
Definition: expando.c:41
static void autocrypt_enabled(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
Autocrypt: Status flag - Implements get_string_t -.
Definition: expando.c:52

Callbacks for Autocrypt Expandos.

See also
AutocryptFormatDef, ExpandoDataAutocrypt, ExpandoDataGlobal

Definition at line 121 of file expando.c.