NeoMutt  2025-12-11-911-gd8d604
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
names_expando.c File Reference

Debug names for Expandos. More...

#include "config.h"
#include <stdbool.h>
#include "mutt/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "alias/expando.h"
#include "alias/gui.h"
#include "conn/lib.h"
#include "gui/lib.h"
#include "attach/lib.h"
#include "browser/lib.h"
#include "compmbox/lib.h"
#include "expando/lib.h"
#include "history/lib.h"
#include "index/lib.h"
#include "menu/lib.h"
#include "ncrypt/lib.h"
#include "compose/shared_data.h"
#include "index/shared_data.h"
#include "ncrypt/pgp.h"
#include "ncrypt/pgplib.h"
#include "ncrypt/private.h"
#include "ncrypt/smime.h"
#include "pattern/private.h"
#include "send/expando_msgid.h"
#include "sidebar/private.h"
#include "ncrypt/crypt_gpgme.h"
#include "autocrypt/lib.h"
#include "autocrypt/private.h"
+ Include dependency graph for names_expando.c:

Go to the source code of this file.

Macros

#define DEBUG_NAME(NAME)
 
#define DEBUG_DEFAULT
 

Functions

const char * name_expando_node_type (enum ExpandoNodeType type)
 Get the name of an expando node type.
 
const char * name_expando_pad_type (enum ExpandoPadType type)
 Get the name of an expando padding type.
 
const char * name_expando_domain (enum ExpandoDomain did)
 Get the name of an expando domain.
 
const char * name_expando_uid_alias (int uid)
 Get the name of an alias expando field.
 
const char * name_expando_uid_attach (int uid)
 
const char * name_expando_uid_autocrypt (int uid)
 
const char * name_expando_uid_body (int uid)
 
const char * name_expando_uid_compose (int uid)
 
const char * name_expando_uid_compress (int uid)
 
const char * name_expando_uid_email (int uid)
 
const char * name_expando_uid_envelope (int uid)
 
const char * name_expando_uid_folder (int uid)
 
const char * name_expando_uid_global (int uid)
 
const char * name_expando_uid_history (int uid)
 
const char * name_expando_uid_index (int uid)
 
const char * name_expando_uid_mailbox (int uid)
 
const char * name_expando_uid_menu (int uid)
 
const char * name_expando_uid_msg_id (int uid)
 
const char * name_expando_uid_nntp (int uid)
 
const char * name_expando_uid_pattern (int uid)
 
const char * name_expando_uid_pgp (int uid)
 
const char * name_expando_uid_pgp_cmd (int uid)
 
const char * name_expando_uid_pgp_key (int uid)
 
const char * name_expando_uid_sidebar (int uid)
 
const char * name_expando_uid_smime_cmd (int uid)
 
const char * name_expando_uid (enum ExpandoDomain did, int uid)
 Get the name of an email expando field.
 
const char * name_format_justify (enum FormatJustify just)
 

Detailed Description

Debug names for Expandos.

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

Macro Definition Documentation

◆ DEBUG_NAME

#define DEBUG_NAME ( NAME)
Value:
case NAME: \
return #NAME

Definition at line 57 of file names_expando.c.

57#define DEBUG_NAME(NAME) \
58 case NAME: \
59 return #NAME

◆ DEBUG_DEFAULT

#define DEBUG_DEFAULT
Value:
default: \
return "UNKNOWN"

Definition at line 61 of file names_expando.c.

61#define DEBUG_DEFAULT \
62 default: \
63 return "UNKNOWN"

Function Documentation

◆ name_expando_node_type()

const char * name_expando_node_type ( enum ExpandoNodeType type)

Get the name of an expando node type.

Parameters
typeExpando node type enum
Return values
strName of the node type

Definition at line 70 of file names_expando.c.

71{
72 switch (type)
73 {
82 }
83}
#define DEBUG_DEFAULT
Definition names.c:43
#define DEBUG_NAME(NAME)
@ ENT_EXPANDO
Expando, e.g. 'n'.
Definition node.h:39
@ ENT_CONDITION
True/False condition.
Definition node.h:41
@ ENT_TEXT
Plain text.
Definition node.h:38
@ ENT_CONDDATE
True/False date condition.
Definition node.h:43
@ ENT_EMPTY
Empty.
Definition node.h:37
@ ENT_CONDBOOL
True/False boolean condition.
Definition node.h:42
@ ENT_PADDING
Padding: soft, hard, EOL.
Definition node.h:40

◆ name_expando_pad_type()

const char * name_expando_pad_type ( enum ExpandoPadType type)

Get the name of an expando padding type.

Parameters
typePadding type enum
Return values
strName of the padding type

Definition at line 90 of file names_expando.c.

91{
92 switch (type)
93 {
98 }
99}
@ EPT_FILL_EOL
Fill to the end-of-line.
@ EPT_SOFT_FILL
Soft-fill: right-hand-side will be truncated.
@ EPT_HARD_FILL
Hard-fill: left-hand-side will be truncated.
+ Here is the caller graph for this function:

◆ name_expando_domain()

const char * name_expando_domain ( enum ExpandoDomain did)

Get the name of an expando domain.

Parameters
didDomain ID enum
Return values
strName of the domain

Definition at line 106 of file names_expando.c.

107{
108 switch (did)
109 {
132 }
133}
@ ED_ENVELOPE
Envelope ED_ENV_ ExpandoDataEnvelope.
Definition domain.h:42
@ ED_SIDEBAR
Sidebar ED_SID_ ExpandoDataSidebar.
Definition domain.h:55
@ ED_COMPOSE
Compose ED_COM_ ExpandoDataCompose.
Definition domain.h:39
@ ED_EMAIL
Email ED_EMA_ ExpandoDataEmail.
Definition domain.h:41
@ ED_ALIAS
Alias ED_ALI_ ExpandoDataAlias.
Definition domain.h:35
@ ED_PGP_CMD
Pgp Command ED_PGC_ ExpandoDataPgpCmd.
Definition domain.h:53
@ ED_FOLDER
Folder ED_FOL_ ExpandoDataFolder.
Definition domain.h:43
@ ED_SMIME_CMD
Smime Command ED_SMI_ ExpandoDataSmimeCmd.
Definition domain.h:56
@ ED_PGP
Pgp ED_PGP_ ExpandoDataPgp.
Definition domain.h:52
@ ED_PATTERN
Pattern ED_PAT_ ExpandoDataPattern.
Definition domain.h:51
@ ED_MENU
Menu ED_MEN_ ExpandoDataMenu.
Definition domain.h:48
@ ED_AUTOCRYPT
Autocrypt ED_AUT_ ExpandoDataAutocrypt.
Definition domain.h:37
@ ED_GLOBAL
Global ED_GLO_ ExpandoDataGlobal.
Definition domain.h:44
@ ED_BODY
Body ED_BOD_ ExpandoDataBody.
Definition domain.h:38
@ ED_MAILBOX
Mailbox ED_MBX_ ExpandoDataMailbox.
Definition domain.h:47
@ ED_INDEX
Index ED_IND_ ExpandoDataIndex.
Definition domain.h:46
@ ED_ATTACH
Attach ED_ATT_ ExpandoDataAttach.
Definition domain.h:36
@ ED_PGP_KEY
Pgp_Key ED_PGK_ ExpandoDataPgpKey.
Definition domain.h:54
@ ED_NNTP
Nntp ED_NTP_ ExpandoDataNntp.
Definition domain.h:50
@ ED_COMPRESS
Compress ED_CMP_ ExpandoDataCompress.
Definition domain.h:40
@ ED_HISTORY
History ED_HIS_ ExpandoDataHistory.
Definition domain.h:45
+ Here is the caller graph for this function:

◆ name_expando_uid_alias()

const char * name_expando_uid_alias ( int uid)

Get the name of an alias expando field.

Parameters
uidUnique ID
Return values
strName of the field

Definition at line 140 of file names_expando.c.

141{
142 switch (uid)
143 {
154 }
155}
@ ED_ALI_FLAGS
Alias.flags.
Definition expando.h:39
@ ED_ALI_EMAIL
Alias.addr.mailbox.
Definition expando.h:38
@ ED_ALI_NUMBER
AliasView.num.
Definition expando.h:41
@ ED_ALI_NAME
Alias.addr.personal.
Definition expando.h:40
@ ED_ALI_ALIAS
Alias.name.
Definition expando.h:36
@ ED_ALI_ADDRESS
Alias.addr.
Definition expando.h:35
@ ED_ALI_COMMENT
Alias.comment.
Definition expando.h:37
@ ED_ALI_TAGGED
AliasView.tagged.
Definition expando.h:42
@ ED_ALI_TAGS
Alias.tags.
Definition expando.h:43
+ Here is the caller graph for this function:

◆ name_expando_uid_attach()

const char * name_expando_uid_attach ( int uid)

Definition at line 157 of file names_expando.c.

158{
159 switch (uid)
160 {
165 }
166}
@ ED_ATT_NUMBER
AttachPtr.num.
Definition attach.h:57
@ ED_ATT_TREE
AttachPtr.tree.
Definition attach.h:58
@ ED_ATT_CHARSET
AttachPtr.body.
Definition attach.h:56
+ Here is the caller graph for this function:

◆ name_expando_uid_autocrypt()

const char * name_expando_uid_autocrypt ( int uid)

Definition at line 169 of file names_expando.c.

170{
171 switch (uid)
172 {
179 }
180}
@ ED_AUT_ADDRESS
AccountEntry.addr.
Definition private.h:61
@ ED_AUT_KEYID
AutocryptAccount.keyid.
Definition private.h:60
@ ED_AUT_NUMBER
AccountEntry.num.
Definition private.h:62
@ ED_AUT_ENABLED
AutocryptAccount.enabled.
Definition private.h:59
@ ED_AUT_PREFER_ENCRYPT
AutocryptAccount.prefer_encrypt.
Definition private.h:63
+ Here is the caller graph for this function:

◆ name_expando_uid_body()

const char * name_expando_uid_body ( int uid)

Definition at line 183 of file names_expando.c.

184{
185 switch (uid)
186 {
202 }
203}
@ ED_BOD_DESCRIPTION
Body.description.
Definition body.h:106
@ ED_BOD_CHARSET_CONVERT
Body.type.
Definition body.h:104
@ ED_BOD_DELETED
Body.deleted.
Definition body.h:105
@ ED_BOD_UNLINK
Body.unlink.
Definition body.h:115
@ ED_BOD_FILE_SIZE
Body.filename.
Definition body.h:110
@ ED_BOD_DISPOSITION
Body.disposition.
Definition body.h:107
@ ED_BOD_ATTACH_QUALIFIES
Body.attach_qualifies.
Definition body.h:103
@ ED_BOD_MIME_MAJOR
Body.type, Body.xtype.
Definition body.h:112
@ ED_BOD_TAGGED
Body.tagged.
Definition body.h:114
@ ED_BOD_ATTACH_COUNT
Body.attach_count.
Definition body.h:102
@ ED_BOD_FILE
Body.filename.
Definition body.h:108
@ ED_BOD_MIME_MINOR
Body.subtype.
Definition body.h:113
@ ED_BOD_FILE_DISPOSITION
Body.d_filename.
Definition body.h:109
@ ED_BOD_MIME_ENCODING
Body.encoding.
Definition body.h:111
+ Here is the caller graph for this function:

◆ name_expando_uid_compose()

const char * name_expando_uid_compose ( int uid)

Definition at line 205 of file names_expando.c.

206{
207 switch (uid)
208 {
212 }
213}
@ ED_COM_ATTACH_COUNT
ComposeAttachData, num_attachments()
Definition shared_data.h:57
@ ED_COM_ATTACH_SIZE
ComposeAttachData, cum_attachs_size()
Definition shared_data.h:58
+ Here is the caller graph for this function:

◆ name_expando_uid_compress()

const char * name_expando_uid_compress ( int uid)

Definition at line 215 of file names_expando.c.

216{
217 switch (uid)
218 {
222 }
223}
@ ED_CMP_FROM
'from' path
Definition lib.h:51
@ ED_CMP_TO
'to' path
Definition lib.h:52
+ Here is the caller graph for this function:

◆ name_expando_uid_email()

const char * name_expando_uid_email ( int uid)

Definition at line 225 of file names_expando.c.

226{
227 switch (uid)
228 {
256 }
257}
@ ED_EMA_DATE_STRF_LOCAL
Email.date_sent.
Definition email.h:143
@ ED_EMA_ATTACHMENT_COUNT
Email, mutt_count_body_parts()
Definition email.h:136
@ ED_EMA_DATE_FORMAT_LOCAL
Email.date_sent.
Definition email.h:141
@ ED_EMA_TAGS_TRANSFORMED
Email.tags, driver_tags_get_transformed()
Definition email.h:156
@ ED_EMA_THREAD_HIDDEN_COUNT
Email.collapsed, Email.num_hidden, ...
Definition email.h:158
@ ED_EMA_DATE_FORMAT
Email.date_sent.
Definition email.h:140
@ ED_EMA_THREAD_TAGS
Email.tags.
Definition email.h:160
@ ED_EMA_TAGS
Email.tags.
Definition email.h:155
@ ED_EMA_SIZE
Body.length.
Definition email.h:152
@ ED_EMA_FLAG_CHARS
Email.deleted, Email.attach_del, ...
Definition email.h:144
@ ED_EMA_THREAD_NUMBER
Email, mutt_messages_in_thread()
Definition email.h:159
@ ED_EMA_TO_CHARS
Email, User_is_recipient()
Definition email.h:161
@ ED_EMA_BODY_CHARACTERS
Body.length.
Definition email.h:137
@ ED_EMA_COMBINED_FLAGS
Email.read, Email.old, thread_is_new(), ...
Definition email.h:138
@ ED_EMA_THREAD_COUNT
Email, mutt_messages_in_thread()
Definition email.h:157
@ ED_EMA_STATUS_FLAGS
Email.deleted, Email.attach_del, ...
Definition email.h:153
@ ED_EMA_NUMBER
Email.msgno.
Definition email.h:150
@ ED_EMA_DATE_STRF
Email.date_sent, Email.zhours, Email.zminutes, Email.zoccident.
Definition email.h:142
@ ED_EMA_FROM_LIST
Envelope.to, Envelope.cc.
Definition email.h:145
@ ED_EMA_SCORE
Email.score.
Definition email.h:151
@ ED_EMA_CRYPTO_FLAGS
Email.security, SecurityFlags.
Definition email.h:139
@ ED_EMA_STRF_RECV_LOCAL
Email.received.
Definition email.h:154
@ ED_EMA_LIST_OR_SAVE_FOLDER
Envelope.to, Envelope.cc, check_for_mailing_list()
Definition email.h:148
@ ED_EMA_INDEX_HOOK
Mailbox, Email, mutt_idxfmt_hook()
Definition email.h:146
@ ED_EMA_LINES
Email.lines.
Definition email.h:147
@ ED_EMA_MESSAGE_FLAGS
Email.tagged, Email.flagged.
Definition email.h:149
+ Here is the caller graph for this function:

◆ name_expando_uid_envelope()

const char * name_expando_uid_envelope ( int uid)

Definition at line 259 of file names_expando.c.

260{
261 switch (uid)
262 {
289 }
290}
@ ED_ENV_REAL_NAME
Envelope.to (first)
Definition envelope.h:111
@ ED_ENV_SUBJECT
Envelope.subject, Envelope.disp_subj.
Definition envelope.h:116
@ ED_ENV_NEWSGROUP
Envelope.newsgroups.
Definition envelope.h:109
@ ED_ENV_INITIALS
Envelope.from (first)
Definition envelope.h:104
@ ED_ENV_FROM_FULL
Envelope.from (all)
Definition envelope.h:103
@ ED_ENV_X_COMMENT_TO
Envelope.x_comment_to.
Definition envelope.h:123
@ ED_ENV_FROM
Envelope.from (first)
Definition envelope.h:102
@ ED_ENV_LIST_ADDRESS
Envelope.to, Envelope.cc.
Definition envelope.h:105
@ ED_ENV_SPAM
Envelope.spam.
Definition envelope.h:115
@ ED_ENV_SENDER
Envelope, make_from()
Definition envelope.h:113
@ ED_ENV_TO_ALL
Envelope.to (all)
Definition envelope.h:120
@ ED_ENV_X_LABEL
Envelope.x_label.
Definition envelope.h:124
@ ED_ENV_NAME
Envelope.from (first)
Definition envelope.h:108
@ ED_ENV_CC_ALL
Envelope.cc.
Definition envelope.h:100
@ ED_ENV_ORGANIZATION
Envelope.organization.
Definition envelope.h:110
@ ED_ENV_REPLY_TO
Envelope.reply_to.
Definition envelope.h:112
@ ED_ENV_LIST_EMPTY
Envelope.to, Envelope.cc.
Definition envelope.h:106
@ ED_ENV_THREAD_X_LABEL
Envelope.x_label.
Definition envelope.h:118
@ ED_ENV_MESSAGE_ID
Envelope.message_id.
Definition envelope.h:107
@ ED_ENV_SENDER_PLAIN
Envelope, make_from()
Definition envelope.h:114
@ ED_ENV_USER_NAME
Envelope.to (first)
Definition envelope.h:122
@ ED_ENV_USERNAME
Envelope.from.
Definition envelope.h:121
@ ED_ENV_THREAD_TREE
Email.tree.
Definition envelope.h:117
@ ED_ENV_TO
Envelope.to, Envelope.cc (first)
Definition envelope.h:119
@ ED_ENV_FIRST_NAME
Envelope.from, Envelope.to, Envelope.cc.
Definition envelope.h:101
+ Here is the caller graph for this function:

◆ name_expando_uid_folder()

const char * name_expando_uid_folder ( int uid)

Definition at line 292 of file names_expando.c.

293{
294 switch (uid)
295 {
318 }
319}
@ ED_FOL_POLL
FolderFile.poll_new_mail.
Definition lib.h:139
@ ED_FOL_NOTIFY
FolderFile.notify_user.
Definition lib.h:137
@ ED_FOL_NEW_COUNT
FolderFile.nd (NntpMboxData)
Definition lib.h:135
@ ED_FOL_FILE_OWNER
FolderFile.uid.
Definition lib.h:128
@ ED_FOL_FILE_GROUP
FolderFile.gid.
Definition lib.h:126
@ ED_FOL_FILENAME
FolderFile.name.
Definition lib.h:125
@ ED_FOL_DATE_FORMAT
FolderFile.mtime.
Definition lib.h:122
@ ED_FOL_DATE_STRF
FolderFile.mtime.
Definition lib.h:123
@ ED_FOL_UNREAD_COUNT
FolderFile.msg_unread.
Definition lib.h:141
@ ED_FOL_FLAGS2
FolderFile.nd (NntpMboxData)
Definition lib.h:131
@ ED_FOL_FILE_MODE
FolderFile.move.
Definition lib.h:127
@ ED_FOL_NEW_MAIL
FolderFile.has_new_mail.
Definition lib.h:136
@ ED_FOL_FILE_SIZE
FolderFile.size.
Definition lib.h:129
@ ED_FOL_HARD_LINKS
FolderFile.nlink.
Definition lib.h:132
@ ED_FOL_DATE
FolderFile.mtime.
Definition lib.h:121
@ ED_FOL_TAGGED
FolderFile.tagged.
Definition lib.h:140
@ ED_FOL_NUMBER
Folder.num.
Definition lib.h:138
@ ED_FOL_DESCRIPTION
FolderFile.desc, FolderFile.name.
Definition lib.h:124
@ ED_FOL_MESSAGE_COUNT
FolderFile.msg_count.
Definition lib.h:133
@ ED_FOL_NEWSGROUP
FolderFile.name.
Definition lib.h:134
@ ED_FOL_FLAGS
FolderFile.nd (NntpMboxData)
Definition lib.h:130
+ Here is the caller graph for this function:

◆ name_expando_uid_global()

const char * name_expando_uid_global ( int uid)

Definition at line 321 of file names_expando.c.

322{
323 switch (uid)
324 {
335 }
336}
@ ED_GLO_CONFIG_USE_THREADS
Value of $use_threads.
Definition uid.h:36
@ ED_GLO_PADDING_EOL
Padding to end-of-line.
Definition uid.h:38
@ ED_GLO_CONFIG_SORT
Value of $sort.
Definition uid.h:34
@ ED_GLO_VERSION
NeoMutt version.
Definition uid.h:42
@ ED_GLO_PADDING_HARD
Hard Padding.
Definition uid.h:39
@ ED_GLO_PADDING_SOFT
Soft Padding.
Definition uid.h:40
@ ED_GLO_CONFIG_SORT_AUX
Value of $sort_aux.
Definition uid.h:35
@ ED_GLO_PADDING_SPACE
Space Padding.
Definition uid.h:41
@ ED_GLO_HOSTNAME
Local hostname.
Definition uid.h:37
+ Here is the caller graph for this function:

◆ name_expando_uid_history()

const char * name_expando_uid_history ( int uid)

Definition at line 338 of file names_expando.c.

339{
340 switch (uid)
341 {
345 }
346}
@ ED_HIS_MATCH
HistoryEntry.history.
Definition lib.h:83
@ ED_HIS_NUMBER
HistoryEntry.num.
Definition lib.h:84
+ Here is the caller graph for this function:

◆ name_expando_uid_index()

const char * name_expando_uid_index ( int uid)

Definition at line 348 of file names_expando.c.

349{
350 switch (uid)
351 {
370 }
371}
@ ED_IND_LIMIT_COUNT
Mailbox.vcount.
Definition shared_data.h:59
@ ED_IND_MAILBOX_PATH
Mailbox.pathbuf, Mailbox.name.
Definition shared_data.h:62
@ ED_IND_DELETED_COUNT
Mailbox.msg_deleted.
Definition shared_data.h:56
@ ED_IND_NEW_COUNT
Mailbox.msg_new.
Definition shared_data.h:65
@ ED_IND_MAILBOX_SIZE
Mailbox.size.
Definition shared_data.h:63
@ ED_IND_LIMIT_PATTERN
MailboxView.pattern.
Definition shared_data.h:60
@ ED_IND_READ_COUNT
Mailbox.msg_count, Mailbox.msg_unread.
Definition shared_data.h:69
@ ED_IND_POSTPONED_COUNT
mutt_num_postponed()
Definition shared_data.h:67
@ ED_IND_FLAGGED_COUNT
Mailbox.msg_flagged.
Definition shared_data.h:58
@ ED_IND_MESSAGE_COUNT
Mailbox.msg_count.
Definition shared_data.h:64
@ ED_IND_OLD_COUNT
Mailbox.msg_unread, Mailbox.msg_new.
Definition shared_data.h:66
@ ED_IND_READONLY
Mailbox.readonly, Mailbox.dontwrite.
Definition shared_data.h:68
@ ED_IND_UNREAD_COUNT
Mailbox.msg_unread.
Definition shared_data.h:71
@ ED_IND_TAGGED_COUNT
Mailbox.msg_tagged.
Definition shared_data.h:70
@ ED_IND_LIMIT_SIZE
MailboxView.vsize.
Definition shared_data.h:61
@ ED_IND_DESCRIPTION
Mailbox.name.
Definition shared_data.h:57
@ ED_IND_UNREAD_MAILBOXES
Mailbox, mutt_mailbox_check()
Definition shared_data.h:72
+ Here is the caller graph for this function:

◆ name_expando_uid_mailbox()

const char * name_expando_uid_mailbox ( int uid)

Definition at line 373 of file names_expando.c.

374{
375 switch (uid)
376 {
381 }
382}
@ ED_MBX_MESSAGE_COUNT
Mailbox.msg_count.
Definition mailbox.h:161
@ ED_MBX_PERCENTAGE
EmailFormatInfo.pager_progress.
Definition mailbox.h:162
@ ED_MBX_MAILBOX_NAME
Mailbox, mailbox_path()
Definition mailbox.h:160
+ Here is the caller graph for this function:

◆ name_expando_uid_menu()

const char * name_expando_uid_menu ( int uid)

Definition at line 384 of file names_expando.c.

385{
386 if (uid == ED_MEN_PERCENTAGE)
387 return "ED_MEN_PERCENTAGE";
388
389 return "UNKNOWN";
390}
@ ED_MEN_PERCENTAGE
Menu.top, ...
Definition lib.h:75
+ Here is the caller graph for this function:

◆ name_expando_uid_msg_id()

const char * name_expando_uid_msg_id ( int uid)

Definition at line 392 of file names_expando.c.

393{
394 switch (uid)
395 {
409 }
410}
@ ED_MSG_COUNTER
Step counter looping from 'A' to 'Z'.
@ ED_MSG_SECOND
Current year using 4 digits (GMT)
@ ED_MSG_YEAR
4 byte timestamp + 8 bytes of pseudo-random data encoded in Base64
@ ED_MSG_HOUR
Current hour using a 24-hour clock (GMT)
@ ED_MSG_PID
PID of the running mutt process.
@ ED_MSG_RANDOM_1
3 bytes of pseudo-random data encoded in Base64
@ ED_MSG_MINUTE
Current month number (GMT)
@ ED_MSG_RANDOM_3
Current second of the minute (GMT)
@ ED_MSG_DAY
Current day of the month (GMT)
@ ED_MSG_HOSTNAME
$hostname
@ ED_MSG_MONTH
Current minute of the hour (GMT)
@ ED_MSG_RANDOM_12
1 byte of pseudo-random data hex encoded (example: '1b')
+ Here is the caller graph for this function:

◆ name_expando_uid_nntp()

const char * name_expando_uid_nntp ( int uid)

Definition at line 412 of file names_expando.c.

413{
414 switch (uid)
415 {
423 }
424}
@ ED_NTP_SCHEMA
ConnAccount.account.
Definition connaccount.h:91
@ ED_NTP_USERNAME
ConnAccount.user.
Definition connaccount.h:93
@ ED_NTP_PORT_IF
ConnAccount.port.
Definition connaccount.h:90
@ ED_NTP_SERVER
ConnAccount.account.
Definition connaccount.h:92
@ ED_NTP_ACCOUNT
ConnAccount.account.
Definition connaccount.h:88
@ ED_NTP_PORT
ConnAccount.port.
Definition connaccount.h:89
+ Here is the caller graph for this function:

◆ name_expando_uid_pattern()

const char * name_expando_uid_pattern ( int uid)

Definition at line 426 of file names_expando.c.

427{
428 switch (uid)
429 {
434 }
435}
@ ED_PAT_DESCRIPTION
PatternEntry.desc.
Definition private.h:40
@ ED_PAT_EXPRESSION
PatternEntry.expr.
Definition private.h:41
@ ED_PAT_NUMBER
PatternEntry.num.
Definition private.h:42
+ Here is the caller graph for this function:

◆ name_expando_uid_pgp()

const char * name_expando_uid_pgp ( int uid)

Definition at line 437 of file names_expando.c.

438{
439 switch (uid)
440 {
445 }
446}
@ ED_PGP_NUMBER
PgpEntry.num.
Definition private.h:50
@ ED_PGP_USER_ID
PgpUid.addr.
Definition private.h:52
@ ED_PGP_TRUST
PgpUid, TrustFlags.
Definition private.h:51
+ Here is the caller graph for this function:

◆ name_expando_uid_pgp_cmd()

const char * name_expando_uid_pgp_cmd ( int uid)

Definition at line 448 of file names_expando.c.

449{
450 switch (uid)
451 {
458 }
459}
@ ED_PGC_KEY_IDS
PgpCommandContext.ids.
Definition pgp.h:60
@ ED_PGC_FILE_SIGNATURE
PgpCommandContext.sig_fname.
Definition pgp.h:59
@ ED_PGC_NEED_PASS
PgpCommandContext.need_passphrase.
Definition pgp.h:61
@ ED_PGC_SIGN_AS
PgpCommandContext.signas.
Definition pgp.h:62
@ ED_PGC_FILE_MESSAGE
PgpCommandContext.fname.
Definition pgp.h:58
+ Here is the caller graph for this function:

◆ name_expando_uid_pgp_key()

const char * name_expando_uid_pgp_key ( int uid)

Definition at line 461 of file names_expando.c.

462{
463 switch (uid)
464 {
480 }
481}
@ ED_PGK_KEY_CAPABILITIES
PgpKeyInfo.flags, pgp_key_abilities()
Definition pgplib.h:71
@ ED_PGK_KEY_FINGERPRINT
PgpKeyInfo.fingerprint.
Definition pgplib.h:72
@ ED_PGK_PKEY_LENGTH
pgp_principal_key(), PgpKeyInfo.keylen
Definition pgplib.h:81
@ ED_PGK_PKEY_ALGORITHM
pgp_principal_key(), PgpKeyInfo.algorithm
Definition pgplib.h:76
@ ED_PGK_DATE
PgpKeyInfo.gen_time.
Definition pgplib.h:69
@ ED_PGK_PKEY_FINGERPRINT
pgp_principal_key(), PgpKeyInfo.fingerprint
Definition pgplib.h:78
@ ED_PGK_KEY_ID
PgpKeyInfo, pgp_this_keyid()
Definition pgplib.h:74
@ ED_PGK_PROTOCOL
PgpKeyInfo.
Definition pgplib.h:82
@ ED_PGK_PKEY_CAPABILITIES
pgp_principal_key(), PgpKeyInfo.flags, pgp_key_abilities()
Definition pgplib.h:77
@ ED_PGK_KEY_FLAGS
PgpKeyInfo.kflags, pgp_flags()
Definition pgplib.h:73
@ ED_PGK_PKEY_ID
pgp_principal_key(), PgpKeyInfo, pgp_this_keyid()
Definition pgplib.h:80
@ ED_PGK_KEY_ALGORITHM
PgpKeyInfo.algorithm.
Definition pgplib.h:70
@ ED_PGK_KEY_LENGTH
PgpKeyInfo.keylen.
Definition pgplib.h:75
@ ED_PGK_PKEY_FLAGS
pgp_principal_key(), PgpKeyInfo.kflags, pgp_flags()
Definition pgplib.h:79
+ Here is the caller graph for this function:

◆ name_expando_uid_sidebar()

const char * name_expando_uid_sidebar ( int uid)

Definition at line 483 of file names_expando.c.

484{
485 switch (uid)
486 {
503 }
504}
@ ED_SID_FLAGGED_COUNT
Mailbox.msg_flagged.
Definition private.h:61
@ ED_SID_READ_COUNT
Mailbox.msg_count, Mailbox.msg_unread.
Definition private.h:70
@ ED_SID_DESCRIPTION
Mailbox.name.
Definition private.h:59
@ ED_SID_NEW_MAIL
Mailbox.has_new.
Definition private.h:66
@ ED_SID_UNSEEN_COUNT
Mailbox.msg_new.
Definition private.h:73
@ ED_SID_POLL
Mailbox.poll_new_mail.
Definition private.h:69
@ ED_SID_OLD_COUNT
Mailbox.msg_unread, Mailbox.msg_new.
Definition private.h:68
@ ED_SID_MESSAGE_COUNT
Mailbox.msg_count.
Definition private.h:63
@ ED_SID_LIMITED_COUNT
Mailbox.vcount.
Definition private.h:62
@ ED_SID_UNREAD_COUNT
Mailbox.msg_unread.
Definition private.h:72
@ ED_SID_TAGGED_COUNT
Mailbox.msg_tagged.
Definition private.h:71
@ ED_SID_NOTIFY
Mailbox.notify_user.
Definition private.h:67
@ ED_SID_NAME
SbEntry.box.
Definition private.h:64
@ ED_SID_DELETED_COUNT
Mailbox.msg_deleted.
Definition private.h:58
@ ED_SID_FLAGGED
Mailbox.msg_flagged.
Definition private.h:60
+ Here is the caller graph for this function:

◆ name_expando_uid_smime_cmd()

const char * name_expando_uid_smime_cmd ( int uid)

Definition at line 506 of file names_expando.c.

507{
508 switch (uid)
509 {
519 }
520}
@ ED_SMI_MESSAGE_FILE
SmimeCommandContext.fname.
Definition smime.h:81
@ ED_SMI_ALGORITHM
SmimeCommandContext.cryptalg.
Definition smime.h:75
@ ED_SMI_SIGNATURE_FILE
SmimeCommandContext.sig_fname.
Definition smime.h:82
@ ED_SMI_DIGEST_ALGORITHM
SmimeCommandContext.digestalg.
Definition smime.h:78
@ ED_SMI_CERTIFICATE_IDS
SmimeCommandContext.certificates.
Definition smime.h:76
@ ED_SMI_KEY
SmimeCommandContext.key.
Definition smime.h:80
@ ED_SMI_INTERMEDIATE_IDS
SmimeCommandContext.intermediates.
Definition smime.h:79
@ ED_SMI_CERTIFICATE_PATH
Path of Smime certificates.
Definition smime.h:77
+ Here is the caller graph for this function:

◆ name_expando_uid()

const char * name_expando_uid ( enum ExpandoDomain did,
int uid )

Get the name of an email expando field.

Parameters
didDomain ID
uidUnique ID
Return values
strName of the field

Definition at line 528 of file names_expando.c.

529{
530 switch (did)
531 {
532 case ED_ALIAS:
533 return name_expando_uid_alias(uid);
534 case ED_ATTACH:
535 return name_expando_uid_attach(uid);
536#ifdef USE_AUTOCRYPT
537 case ED_AUTOCRYPT:
538 return name_expando_uid_autocrypt(uid);
539#endif
540 case ED_BODY:
541 return name_expando_uid_body(uid);
542 case ED_COMPOSE:
543 return name_expando_uid_compose(uid);
544 case ED_COMPRESS:
545 return name_expando_uid_compress(uid);
546 case ED_EMAIL:
547 return name_expando_uid_email(uid);
548 case ED_ENVELOPE:
549 return name_expando_uid_envelope(uid);
550 case ED_FOLDER:
551 return name_expando_uid_folder(uid);
552 case ED_GLOBAL:
553 return name_expando_uid_global(uid);
554 case ED_HISTORY:
555 return name_expando_uid_history(uid);
556 case ED_INDEX:
557 return name_expando_uid_index(uid);
558 case ED_MAILBOX:
559 return name_expando_uid_mailbox(uid);
560 case ED_MENU:
561 return name_expando_uid_menu(uid);
562 case ED_MSG_ID:
563 return name_expando_uid_msg_id(uid);
564 case ED_NNTP:
565 return name_expando_uid_nntp(uid);
566 case ED_PATTERN:
567 return name_expando_uid_pattern(uid);
568 case ED_PGP:
569 return name_expando_uid_pgp(uid);
570 case ED_PGP_CMD:
571 return name_expando_uid_pgp_cmd(uid);
572 case ED_PGP_KEY:
573 return name_expando_uid_pgp_key(uid);
574 case ED_SIDEBAR:
575 return name_expando_uid_sidebar(uid);
576 case ED_SMIME_CMD:
577 return name_expando_uid_smime_cmd(uid);
578 default:
579 ASSERT(false);
580 return "UNKNOWN";
581 }
582}
@ ED_MSG_ID
Message Id ED_MSG_ ExpandoDataMsgId.
Definition domain.h:49
const char * name_expando_uid_history(int uid)
const char * name_expando_uid_pgp(int uid)
const char * name_expando_uid_compress(int uid)
const char * name_expando_uid_compose(int uid)
const char * name_expando_uid_pgp_key(int uid)
const char * name_expando_uid_mailbox(int uid)
const char * name_expando_uid_autocrypt(int uid)
const char * name_expando_uid_folder(int uid)
const char * name_expando_uid_sidebar(int uid)
const char * name_expando_uid_pgp_cmd(int uid)
const char * name_expando_uid_attach(int uid)
const char * name_expando_uid_alias(int uid)
Get the name of an alias expando field.
const char * name_expando_uid_body(int uid)
const char * name_expando_uid_pattern(int uid)
const char * name_expando_uid_envelope(int uid)
const char * name_expando_uid_msg_id(int uid)
const char * name_expando_uid_menu(int uid)
const char * name_expando_uid_email(int uid)
const char * name_expando_uid_index(int uid)
const char * name_expando_uid_global(int uid)
const char * name_expando_uid_nntp(int uid)
const char * name_expando_uid_smime_cmd(int uid)
#define ASSERT(COND)
Definition signal2.h:59
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ name_format_justify()

const char * name_format_justify ( enum FormatJustify just)

Definition at line 584 of file names_expando.c.

585{
586 switch (just)
587 {
592 }
593}
@ JUSTIFY_RIGHT
Right justify the text.
Definition format.h:36
@ JUSTIFY_LEFT
Left justify the text.
Definition format.h:34
@ JUSTIFY_CENTER
Centre the text.
Definition format.h:35
+ Here is the caller graph for this function: