s-nail  14.9.19
About: S-nail is a mail processing system intended to provide the functionality of the POSIX mailx command and offers extensions for line editing, IDNA, MIME, S/MIME, SMTP and POP3 (and IMAP). It is usable as a mail batch language.
  Fossies Dox: s-nail-14.9.19.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

accmacvar.c File Reference
#include "mx/nail.h"
#include <su/cs.h>
#include <su/cs-dict.h>
#include <su/icodec.h>
#include <su/mem.h>
#include <su/sort.h>
#include "mx/cmd.h"
#include "mx/file-streams.h"
#include "mx/iconv.h"
#include "mx/names.h"
#include "mx/sigs.h"
#include "mx/ui-str.h"
#include "mx/url.h"
#include "su/code-in.h"
#include "mx/gen-version.h"
#include "mx/gen-okeys.h"
#include "su/code-ou.h"
Include dependency graph for accmacvar.c:

Go to the source code of this file.

Data Structures

struct  a_amv_pospar
 
struct  a_amv_mac
 
struct  a_amv_mac_line
 
struct  a_amv_mac_call_args
 
struct  a_amv_lostack
 
struct  a_amv_var
 
struct  a_amv_var_map
 
struct  a_amv_var_chain_map_bsrch
 
struct  a_amv_var_chain_map
 
struct  a_amv_var_virt
 
struct  a_amv_var_defval
 
struct  a_amv_var_carrier
 

Macros

#define su_FILE   accmacvar
 
#define mx_SOURCE
 
#define a_AMV_POSPAR_MAX   S16_MAX
 
#define a_AMV_MACKY_MACK   ((struct a_amv_mac*)-1)
 
#define a_AMV_PRIME   23 /* TODO cs_dict! */
 
#define a_AMV_NAME2HASH(N)   ((u32)su_cs_hash(N))
 
#define a_AMV_HASH2PRIME(H)   ((H) % a_AMV_PRIME)
 
#define a_AMV_VLOOK_LOG_OBSOLETE   a_AMV_VLOOK_NONE
 
#define a_DEBUG_MEMCONF   su_MEM_CONF_DEBUG | su_MEM_CONF_LINGER_FREE
 

Enumerations

enum  a_amv_mac_flags {
  a_AMV_MF_NONE = 0, a_AMV_MF_ACCOUNT = 1u<<0, a_AMV_MF_TYPE_MASK = a_AMV_MF_ACCOUNT, a_AMV_MF_UNDEF = 1u<<1,
  a_AMV_MF_DELETE = 1u<<7, a_AMV_MF__MAX = 0xFFu
}
 
enum  a_amv_loflags {
  a_AMV_LF_NONE = 0, a_AMV_LF_SCOPE = 1u<<0, a_AMV_LF_SCOPE_FIXATE = 1u<<1, a_AMV_LF_SCOPE_MASK = a_AMV_LF_SCOPE | a_AMV_LF_SCOPE_FIXATE,
  a_AMV_LF_CALL = 1u<<2, a_AMV_LF_CALL_FIXATE = 1u<<3, a_AMV_LF_CALL_MASK = a_AMV_LF_CALL | a_AMV_LF_CALL_FIXATE, a_AMV_LF_CALL_TO_SCOPE_SHIFT = 2
}
 
enum  a_amv_var_flags {
  a_AMV_VF_NONE = 0, a_AMV_VF_BOOL = 1u<<0, a_AMV_VF_CHAIN = 1u<<1, a_AMV_VF_VIRT = 1u<<2,
  a_AMV_VF_VIP = 1u<<3, a_AMV_VF_RDONLY = 1u<<4, a_AMV_VF_NODEL = 1u<<5, a_AMV_VF_I3VAL = 1u<<6,
  a_AMV_VF_DEFVAL = 1u<<7, a_AMV_VF_IMPORT = 1u<<8, a_AMV_VF_ENV = 1u<<9, a_AMV_VF_NOLOPTS = 1u<<10,
  a_AMV_VF_NOTEMPTY = 1u<<11, a_AMV_VF_NUM = 1u<<12, a_AMV_VF_POSNUM = 1u<<13, a_AMV_VF_LOWER = 1u<<14,
  a_AMV_VF_OBSOLETE = 1u<<15, a_AMV_VF__MASK = (1u<<(15+1)) - 1, a_AMV_VF_EXT_CHAIN = 1u<<22, a_AMV_VF_EXT_LOCAL = 1u<<23,
  a_AMV_VF_EXT_LINKED = 1u<<24, a_AMV_VF_EXT_FROZEN = 1u<<25, a_AMV_VF_EXT_FROZEN_UNSET = 1u<<26, a_AMV_VF_EXT__FROZEN_MASK = a_AMV_VF_EXT_FROZEN | a_AMV_VF_EXT_FROZEN_UNSET,
  a_AMV_VF_EXT__MASK = (1u<<(26+1)) - 1
}
 
enum  a_amv_var_lookup_flags {
  a_AMV_VLOOK_NONE = 0, a_AMV_VLOOK_LOCAL = 1u<<0, a_AMV_VLOOK_LOCAL_ONLY = 1u<<1, a_AMV_VLOOK_I3VAL_NONEW = 1u<<2,
  a_AMV_VLOOK_I3VAL_NONEW_REPORT = 1u<<3, a_AMV_VLOOK_BELLA_CIAO_CIAO_CIAO = 1u<<29, a_AMV_VLOOK_LOG_OBSOLETE = 1u<<30
}
 
enum  a_amv_var_setclr_flags { a_AMV_VSETCLR_NONE = 0, a_AMV_VSETCLR_LOCAL = 1u<<0, a_AMV_VSETCLR_ENV = 1u<<1 }
 
enum  a_amv_var_special_category {
  a_AMV_VSC_NONE, a_AMV_VSC_GLOBAL, a_AMV_VSC_MULTIPLEX, a_AMV_VSC_POSPAR,
  a_AMV_VSC_POSPAR_ENV
}
 
enum  a_amv_var_special_type {
  a_AMV_VST_QM, a_AMV_VST_EM, a_AMV_VST_CACC, a_AMV_VST_STAR,
  a_AMV_VST_AT, a_AMV_VST_NOSIGN
}
 
enum  a_amv_var_vip_mode { a_AMV_VIP_SET_PRE, a_AMV_VIP_SET_POST, a_AMV_VIP_CLEAR }
 

Functions

 CTA (S16_MAX<=S16_MAX, "Limit exceeds datatype capabilities")
 
 CTA (a_AMV_MF__MAX<=U8_MAX, "Enumeration excesses storage datatype")
 
 CTA (a_AMV_VF_EXT__MASK<=U32_MAX, "Enumeration excesses storage datatype")
 
 CTA (a_AMV_VF__MASK<=U16_MAX, "Enumeration excesses storage datatype")
 
 CTA (n_OKEYS_MAX<=U16_MAX, "Enumeration excesses storage datatype")
 
 CTA (a_AMV_VAR_NAME_KEY_MAXOFF<=U16_MAX, "Enumeration excesses storage datatype")
 
static struct a_amv_maca_amv_mac_lookup (char const *name, struct a_amv_mac *newamp, enum a_amv_mac_flags amf)
 
static int a_amv_mac_call (void *v, boole silent_nexist)
 
static boole a_amv_mac_exec (struct a_amv_mac_call_args *amcap)
 
static void a_amv_mac__finalize (void *vp)
 
static boole a_amv_mac_show (enum a_amv_mac_flags amf)
 
static boole a_amv_mac_def (char const *name, enum a_amv_mac_flags amf)
 
static boole a_amv_mac_undef (char const *name, enum a_amv_mac_flags amf)
 
static void a_amv_mac_free (struct a_amv_mac *amp)
 
static void a_amv_lopts_add (struct a_amv_lostack *alp, char const *name, struct a_amv_var *oavp)
 
static void a_amv_lopts_unroll (struct a_amv_var **avpp)
 
static char * a_amv_var_copy (char const *str)
 
static void a_amv_var_free (char *cp)
 
static boole a_amv_var_check_vips (enum a_amv_var_vip_mode avvm, enum okeys okey, char const **val)
 
static boole a_amv_var_check_num (char const *val, boole posnum)
 
static boole a_amv_var_check_name (char const *name, boole forenviron)
 
static boole a_amv_var_revlookup (struct a_amv_var_carrier *avcp, char const *name, boole try_harder)
 
static boole a_amv_var_revlookup_chain (struct a_amv_var_carrier *avcp, char const *name)
 
static boole a_amv_var_lookup (struct a_amv_var_carrier *avcp, enum a_amv_var_lookup_flags avlf)
 
static char const * a_amv_var_vsc_global (struct a_amv_var_carrier *avcp)
 
static char const * a_amv_var_vsc_multiplex (struct a_amv_var_carrier *avcp)
 
static char const * a_amv_var_vsc_pospar (struct a_amv_var_carrier *avcp)
 
static boole a_amv_var_set (struct a_amv_var_carrier *avcp, char const *value, enum a_amv_var_setclr_flags avscf)
 
static boole a_amv_var__putenv (struct a_amv_var_carrier *avcp, struct a_amv_var *avp)
 
static boole a_amv_var_clear (struct a_amv_var_carrier *avcp, enum a_amv_var_setclr_flags avscf)
 
static boole a_amv_var__clearenv (char const *name, struct a_amv_var *avp)
 
static void a_amv_var_show_all (void)
 
static uz a_amv_var_show (char const *name, FILE *fp, struct n_string *msgp)
 
static boole a_amv_var_c_set (char **ap, enum a_amv_var_setclr_flags avscf)
 
FL int c_define (void *v)
 
FL int c_undefine (void *v)
 
FL int c_call (void *vp)
 
FL int c_call_if (void *vp)
 
FL void mx_account_leave (void)
 
FL int c_account (void *v)
 
FL int c_unaccount (void *v)
 
FL int c_localopts (void *vp)
 
FL int c_shift (void *vp)
 
FL int c_return (void *vp)
 
FL void temporary_on_xy_hook_caller (char const *hname, char const *mac, boole sigs_held)
 
FL boole temporary_folder_hook_check (boole nmail)
 
FL void temporary_folder_hook_unroll (void)
 
FL void temporary_compose_mode_hook_call (char const *macname, void(*hook_pre)(void *), void *hook_arg)
 
FL void temporary_compose_mode_hook_unroll (void)
 
FL void n_var_setup_batch_mode (void)
 
FL boole n_var_is_user_writable (char const *name)
 
FL char * n_var_oklook (enum okeys okey)
 
FL boole n_var_okset (enum okeys okey, up val)
 
FL boole n_var_okclear (enum okeys okey)
 
FL char const * n_var_vlook (char const *vokey, boole try_getenv)
 
FL boole n_var_vexplode (void const **cookie)
 
FL boole n_var_vset (char const *vokey, up val)
 
FL boole n_var_vclear (char const *vokey)
 
FL int c_set (void *vp)
 
FL int c_unset (void *vp)
 
FL int c_varshow (void *v)
 
FL int c_environ (void *v)
 
FL int c_vpospar (void *v)
 

Variables

static struct a_amv_maca_amv_acc_curr
 
static struct a_amv_maca_amv_macs [23]
 
static struct a_amv_lostacka_amv_lopts
 
static struct a_amv_vara_amv_vars [23]
 
static struct a_amv_pospar a_amv_pospar
 
static struct a_amv_vara_amv_folder_hook_lopts
 
static struct a_amv_vara_amv_compose_lopts
 

Macro Definition Documentation

◆ a_AMV_HASH2PRIME

#define a_AMV_HASH2PRIME (   H)    ((H) % a_AMV_PRIME)

Definition at line 90 of file accmacvar.c.

◆ a_AMV_MACKY_MACK

#define a_AMV_MACKY_MACK   ((struct a_amv_mac*)-1)

Definition at line 84 of file accmacvar.c.

◆ a_AMV_NAME2HASH

#define a_AMV_NAME2HASH (   N)    ((u32)su_cs_hash(N))

Definition at line 89 of file accmacvar.c.

◆ a_AMV_POSPAR_MAX

#define a_AMV_POSPAR_MAX   S16_MAX

Definition at line 81 of file accmacvar.c.

◆ a_AMV_PRIME

#define a_AMV_PRIME   23 /* TODO cs_dict! */

Definition at line 88 of file accmacvar.c.

◆ a_AMV_VLOOK_LOG_OBSOLETE

#define a_AMV_VLOOK_LOG_OBSOLETE   a_AMV_VLOOK_NONE

Definition at line 326 of file accmacvar.c.

◆ a_DEBUG_MEMCONF

#define a_DEBUG_MEMCONF   su_MEM_CONF_DEBUG | su_MEM_CONF_LINGER_FREE

◆ mx_SOURCE

#define mx_SOURCE

Definition at line 53 of file accmacvar.c.

◆ su_FILE

#define su_FILE   accmacvar

Definition at line 52 of file accmacvar.c.

Enumeration Type Documentation

◆ a_amv_loflags

Enumerator
a_AMV_LF_NONE 
a_AMV_LF_SCOPE 
a_AMV_LF_SCOPE_FIXATE 
a_AMV_LF_SCOPE_MASK 
a_AMV_LF_CALL 
a_AMV_LF_CALL_FIXATE 
a_AMV_LF_CALL_MASK 
a_AMV_LF_CALL_TO_SCOPE_SHIFT 

Definition at line 100 of file accmacvar.c.

◆ a_amv_mac_flags

Enumerator
a_AMV_MF_NONE 
a_AMV_MF_ACCOUNT 
a_AMV_MF_TYPE_MASK 
a_AMV_MF_UNDEF 
a_AMV_MF_DELETE 
a_AMV_MF__MAX 

Definition at line 91 of file accmacvar.c.

◆ a_amv_var_flags

Enumerator
a_AMV_VF_NONE 
a_AMV_VF_BOOL 
a_AMV_VF_CHAIN 
a_AMV_VF_VIRT 
a_AMV_VF_VIP 
a_AMV_VF_RDONLY 
a_AMV_VF_NODEL 
a_AMV_VF_I3VAL 
a_AMV_VF_DEFVAL 
a_AMV_VF_IMPORT 
a_AMV_VF_ENV 
a_AMV_VF_NOLOPTS 
a_AMV_VF_NOTEMPTY 
a_AMV_VF_NUM 
a_AMV_VF_POSNUM 
a_AMV_VF_LOWER 
a_AMV_VF_OBSOLETE 
a_AMV_VF__MASK 
a_AMV_VF_EXT_CHAIN 
a_AMV_VF_EXT_LOCAL 
a_AMV_VF_EXT_LINKED 
a_AMV_VF_EXT_FROZEN 
a_AMV_VF_EXT_FROZEN_UNSET 
a_AMV_VF_EXT__FROZEN_MASK 
a_AMV_VF_EXT__MASK 

Definition at line 114 of file accmacvar.c.

◆ a_amv_var_lookup_flags

Enumerator
a_AMV_VLOOK_NONE 
a_AMV_VLOOK_LOCAL 
a_AMV_VLOOK_LOCAL_ONLY 
a_AMV_VLOOK_I3VAL_NONEW 
a_AMV_VLOOK_I3VAL_NONEW_REPORT 
a_AMV_VLOOK_BELLA_CIAO_CIAO_CIAO 
a_AMV_VLOOK_LOG_OBSOLETE 

Definition at line 150 of file accmacvar.c.

◆ a_amv_var_setclr_flags

Enumerator
a_AMV_VSETCLR_NONE 
a_AMV_VSETCLR_LOCAL 
a_AMV_VSETCLR_ENV 

Definition at line 166 of file accmacvar.c.

◆ a_amv_var_special_category

Enumerator
a_AMV_VSC_NONE 
a_AMV_VSC_GLOBAL 
a_AMV_VSC_MULTIPLEX 
a_AMV_VSC_POSPAR 
a_AMV_VSC_POSPAR_ENV 

Definition at line 177 of file accmacvar.c.

◆ a_amv_var_special_type

Enumerator
a_AMV_VST_QM 
a_AMV_VST_EM 
a_AMV_VST_CACC 
a_AMV_VST_STAR 
a_AMV_VST_AT 
a_AMV_VST_NOSIGN 

Definition at line 185 of file accmacvar.c.

◆ a_amv_var_vip_mode

Enumerator
a_AMV_VIP_SET_PRE 
a_AMV_VIP_SET_POST 
a_AMV_VIP_CLEAR 

Definition at line 199 of file accmacvar.c.

Function Documentation

◆ a_amv_lopts_add()

◆ a_amv_lopts_unroll()

◆ a_amv_mac__finalize()

◆ a_amv_mac_call()

◆ a_amv_mac_def()

◆ a_amv_mac_exec()

◆ a_amv_mac_free()

static void a_amv_mac_free ( struct a_amv_mac amp)
static

Definition at line 861 of file accmacvar.c.

References a_amv_mac::am_line_dat, n_free, NYD2_IN, and NYD2_OU.

Referenced by a_amv_mac__finalize(), a_amv_mac_lookup(), and mx_account_leave().

◆ a_amv_mac_lookup()

◆ a_amv_mac_show()

◆ a_amv_mac_undef()

static boole a_amv_mac_undef ( char const *  name,
enum a_amv_mac_flags  amf 
)
static

◆ a_amv_var__clearenv()

static boole a_amv_var__clearenv ( char const *  name,
struct a_amv_var avp 
)
static

Definition at line 2358 of file accmacvar.c.

References n_free, NYD2_IN, NYD2_OU, su_cs_len(), and UNUSED.

Referenced by a_amv_var_clear().

◆ a_amv_var__putenv()

static boole a_amv_var__putenv ( struct a_amv_var_carrier avcp,
struct a_amv_var avp 
)
static

◆ a_amv_var_c_set()

◆ a_amv_var_check_name()

static boole a_amv_var_check_name ( char const *  name,
boole  forenviron 
)
static

◆ a_amv_var_check_num()

static boole a_amv_var_check_num ( char const *  val,
boole  posnum 
)
static

◆ a_amv_var_check_vips()

static boole a_amv_var_check_vips ( enum a_amv_var_vip_mode  avvm,
enum okeys  okey,
char const **  val 
)
static

Definition at line 965 of file accmacvar.c.

References a_AMV_VIP_SET_POST, a_AMV_VIP_SET_PRE, a_DEBUG_MEMCONF, EACM_NOLOG, EACM_NONAME, EACM_STRICT, GEXTRA, GFULL, n_header_field::hf_next, is_addr_invalid(), lextract(), n_1, n_autorec_alloc, n_customhdr_list, n_err(), n_extract_single(), mx_name::n_flink, n_free, n_header_add_custom(), n_iconv_normalize_name(), n_is_dir(), n_locale_init(), n_LOG_LEVEL, n_OBSOLETE, n_PO_D, n_PO_E_FLAG, n_PO_V, n_PO_V_MASK, n_PO_VV, n_PO_VVV, n_poption, n_PS_ROOT, n_PS_ROOT_BLOCK, n_PSO_STARTED, n_psonce, n_pstate, n_shexp_quote_cp(), n_string_cp(), n_string_creat_auto(), n_string_push_c(), n_string_push_cp, NIL, NYD2_IN, NYD2_OU, ok_b_ask, ok_b_debug, ok_b_memdebug, ok_b_posix, ok_b_POSIXLY_CORRECT, ok_b_skipemptybody, ok_b_typescript_mode, ok_bclear, ok_blook, ok_bset, ok_v_bind_timeout, ok_v_charset_7bit, ok_v_charset_8bit, ok_v_charset_unknown_8bit, ok_v_customhdr, ok_v_folder, ok_v_from, ok_v_HOME, ok_v_hostname, ok_v_ifs, ok_v_LANG, ok_v_LC_ALL, ok_v_LC_CTYPE, ok_v_quote_chars, ok_v_sendcharsets, ok_v_sender, ok_v_smtp_hostname, ok_v_SOCKS5_PROXY, ok_v_socks_proxy, ok_v_TMPDIR, ok_v_ttycharset, ok_v_umask, ok_v_verbose, ok_vclear, ok_vset, n_string::s_len, savestr(), su_cs_is_ascii(), su_cs_is_space(), su_cs_len(), su_cs_sep_c(), su_cs_sep_escable_c(), su_DBG, su_empty, su_idec_u64_cp, su_LOG_DEBUG, su_LOG_INFO, su_log_set_level(), su_MEM_CONF_ON_ERROR_EMERG, su_mem_set_conf(), and UZ_MAX.

Referenced by a_amv_var_clear(), a_amv_var_lookup(), and a_amv_var_set().

◆ a_amv_var_clear()

◆ a_amv_var_copy()

static char * a_amv_var_copy ( char const *  str)
static

Definition at line 930 of file accmacvar.c.

References n_0, n_1, n_alloc, n_empty, n_m1, n_UNCONST, NYD2_IN, NYD2_OU, su_cs_len(), and su_mem_copy().

Referenced by a_amv_var_lookup(), and a_amv_var_set().

◆ a_amv_var_free()

static void a_amv_var_free ( char *  cp)
static

Definition at line 957 of file accmacvar.c.

References n_0, n_1, n_free, n_m1, NYD2_IN, and NYD2_OU.

Referenced by a_amv_mac__finalize(), a_amv_var_clear(), and a_amv_var_set().

◆ a_amv_var_lookup()

static boole a_amv_var_lookup ( struct a_amv_var_carrier avcp,
enum a_amv_var_lookup_flags  avlf 
)
static

Definition at line 1529 of file accmacvar.c.

References a_AMV_HASH2PRIME, a_amv_lopts, a_amv_var__putenv(), a_amv_var_check_num(), a_amv_var_check_vips(), a_amv_var_copy(), a_amv_var_defvals, a_AMV_VAR_DEFVALS_CNT, a_amv_var_i3vals, a_AMV_VAR_I3VALS_CNT, a_amv_var_virts, a_AMV_VAR_VIRTS_CNT, a_amv_vars, a_AMV_VF_BOOL, a_AMV_VF_DEFVAL, a_AMV_VF_ENV, a_AMV_VF_EXT__FROZEN_MASK, a_AMV_VF_EXT_FROZEN, a_AMV_VF_EXT_FROZEN_UNSET, a_AMV_VF_I3VAL, a_AMV_VF_IMPORT, a_AMV_VF_NOTEMPTY, a_AMV_VF_NUM, a_AMV_VF_OBSOLETE, a_AMV_VF_POSNUM, a_AMV_VF_VIP, a_AMV_VF_VIRT, a_AMV_VIP_SET_POST, a_AMV_VIP_SET_PRE, a_AMV_VLOOK_BELLA_CIAO_CIAO_CIAO, a_AMV_VLOOK_I3VAL_NONEW, a_AMV_VLOOK_I3VAL_NONEW_REPORT, a_AMV_VLOOK_LOCAL, a_AMV_VLOOK_LOCAL_ONLY, a_AMV_VLOOK_LOG_OBSOLETE, a_amv_mac_call_args::amca_local_vars, a_amv_lostack::as_amcap, ASSERT, a_amv_var::av_flags, a_amv_var::av_link, av_name, a_amv_var::av_name, a_amv_var::av_value, a_amv_var_carrier::avc_hash, a_amv_var_carrier::avc_is_chain_variant, a_amv_var_carrier::avc_map, a_amv_var_carrier::avc_name, a_amv_var_carrier::avc_okey, a_amv_var_carrier::avc_prime, a_amv_var_carrier::avc_var, a_amv_var_defval::avdv_okey, a_amv_var_defval::avdv_value, a_amv_var_map::avm_flags, LIKELY, n_1, n_calloc, n_err(), n_panic(), n_PO_VVV, n_poption, n_shexp_quote_cp(), n_UNCONST, NIL, NYD2_IN, NYD2_OU, ok_v_log_prefix, R, su_cs_cmp(), su_cs_len(), su_empty, su_mem_copy(), UNLIKELY, and VSTRUCT_SIZEOF.

Referenced by a_amv_var_clear(), a_amv_var_set(), a_amv_var_show(), a_amv_var_vsc_global(), c_environ(), n_var_oklook(), and n_var_vlook().

◆ a_amv_var_revlookup()

◆ a_amv_var_revlookup_chain()

◆ a_amv_var_set()

static boole a_amv_var_set ( struct a_amv_var_carrier avcp,
char const *  value,
enum a_amv_var_setclr_flags  avscf 
)
static

◆ a_amv_var_show()

◆ a_amv_var_show_all()

◆ a_amv_var_vsc_global()

◆ a_amv_var_vsc_multiplex()

static char const * a_amv_var_vsc_multiplex ( struct a_amv_var_carrier avcp)
static

◆ a_amv_var_vsc_pospar()

◆ c_account()

◆ c_call()

FL int c_call ( void *  vp)

Definition at line 2677 of file accmacvar.c.

References a_amv_mac_call(), NYD_IN, and NYD_OU.

Referenced by c_xcall(), and n_go_macro().

◆ c_call_if()

FL int c_call_if ( void *  vp)

Definition at line 2687 of file accmacvar.c.

References a_amv_mac_call(), NYD_IN, and NYD_OU.

◆ c_define()

FL int c_define ( void *  v)

◆ c_environ()

◆ c_localopts()

◆ c_return()

FL int c_return ( void *  vp)

◆ c_set()

FL int c_set ( void *  vp)

◆ c_shift()

◆ c_unaccount()

FL int c_unaccount ( void *  v)

Definition at line 2830 of file accmacvar.c.

References a_amv_mac_undef(), a_AMV_MF_ACCOUNT, NYD_IN, and NYD_OU.

◆ c_undefine()

FL int c_undefine ( void *  v)

Definition at line 2662 of file accmacvar.c.

References a_amv_mac_undef(), a_AMV_MF_NONE, NYD_IN, and NYD_OU.

◆ c_unset()

◆ c_varshow()

FL int c_varshow ( void *  v)

◆ c_vpospar()

◆ CTA() [1/6]

CTA ( a_AMV_MF__MAX<=  U8_MAX,
"Enumeration excesses storage datatype"   
)

◆ CTA() [2/6]

CTA ( a_AMV_VAR_NAME_KEY_MAXOFF<=  U16_MAX,
"Enumeration excesses storage datatype"   
)

◆ CTA() [3/6]

CTA ( a_AMV_VF__MASK<=  U16_MAX,
"Enumeration excesses storage datatype"   
)

◆ CTA() [4/6]

CTA ( a_AMV_VF_EXT__MASK<=  U32_MAX,
"Enumeration excesses storage datatype"   
)

◆ CTA() [5/6]

CTA ( n_OKEYS_MAX<=  U16_MAX,
"Enumeration excesses storage datatype"   
)

◆ CTA() [6/6]

CTA ( S16_MAX<=  S16_MAX,
"Limit exceeds datatype capabilities"   
)

◆ mx_account_leave()

◆ n_var_is_user_writable()

FL boole n_var_is_user_writable ( char const *  name)

◆ n_var_okclear()

◆ n_var_oklook()

◆ n_var_okset()

◆ n_var_setup_batch_mode()

FL void n_var_setup_batch_mode ( void  )

◆ n_var_vclear()

FL boole n_var_vclear ( char const *  vokey)

Definition at line 3396 of file accmacvar.c.

References a_amv_var_clear(), a_amv_var_revlookup(), a_AMV_VSETCLR_NONE, NYD_IN, and NYD_OU.

◆ n_var_vexplode()

FL boole n_var_vexplode ( void const **  cookie)

◆ n_var_vlook()

◆ n_var_vset()

◆ temporary_compose_mode_hook_call()

◆ temporary_compose_mode_hook_unroll()

FL void temporary_compose_mode_hook_unroll ( void  )

Definition at line 3143 of file accmacvar.c.

References a_amv_compose_lopts, a_amv_lopts, a_amv_lopts_unroll(), ASSERT, NYD_IN, and NYD_OU.

Referenced by n_mail1(), and n_resend_msg().

◆ temporary_folder_hook_check()

◆ temporary_folder_hook_unroll()

FL void temporary_folder_hook_unroll ( void  )

Definition at line 3084 of file accmacvar.c.

References a_amv_folder_hook_lopts, a_amv_lopts, a_amv_lopts_unroll(), ASSERT, NYD_IN, and NYD_OU.

Referenced by quit().

◆ temporary_on_xy_hook_caller()

Variable Documentation

◆ a_amv_acc_curr

struct a_amv_mac* a_amv_acc_curr
static

Definition at line 333 of file accmacvar.c.

Referenced by c_account(), and mx_account_leave().

◆ a_amv_compose_lopts

struct a_amv_var* a_amv_compose_lopts
static

◆ a_amv_folder_hook_lopts

struct a_amv_var* a_amv_folder_hook_lopts
static

Definition at line 348 of file accmacvar.c.

Referenced by temporary_folder_hook_check(), and temporary_folder_hook_unroll().

◆ a_amv_lopts

◆ a_amv_macs

struct a_amv_mac* a_amv_macs[23]
static

Definition at line 335 of file accmacvar.c.

Referenced by a_amv_mac_lookup(), a_amv_mac_show(), and a_amv_mac_undef().

◆ a_amv_pospar

struct a_amv_pospar a_amv_pospar
static

Definition at line 340 of file accmacvar.c.

Referenced by c_shift().

◆ a_amv_vars

struct a_amv_var* a_amv_vars[23]
static

Definition at line 340 of file accmacvar.c.

Referenced by a_amv_var_clear(), a_amv_var_lookup(), a_amv_var_set(), and a_amv_var_show_all().