"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/mx/nail.h" between
s-nail-14.9.21.tar.xz and s-nail-14.9.22.tar.xz

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.

nail.h  (s-nail-14.9.21.tar.xz):nail.h  (s-nail-14.9.22.tar.xz)
skipping to change at line 160 skipping to change at line 160
* TODO The hacky solution is this bit -- which can ONLY be used for fields * TODO The hacky solution is this bit -- which can ONLY be used for fields
* TODO which will be subject to namelist_vaporise_head() later on!! --, * TODO which will be subject to namelist_vaporise_head() later on!! --,
* TODO if it is set (by n_header_extract()) then checkaddr() will NOT strip * TODO if it is set (by n_header_extract()) then checkaddr() will NOT strip
* TODO invalid headers off IF it deals with a NULL senderror pointer */ * TODO invalid headers off IF it deals with a NULL senderror pointer */
,EAF_MAYKEEP = 1u<<15 ,EAF_MAYKEEP = 1u<<15
}; };
enum expand_addr_check_mode{ enum expand_addr_check_mode{
EACM_NONE = 0u, /* Don't care about *expandaddr* */ EACM_NONE = 0u, /* Don't care about *expandaddr* */
EACM_NORMAL = 1u<<0, /* Use our normal *expandaddr* checking */ EACM_NORMAL = 1u<<0, /* Use our normal *expandaddr* checking */
EACM_STRICT = 1u<<1, /* Never allow any file or pipe addresse */ EACM_STRICT = 1u<<1, /* Never allow any file or pipe addressee */
EACM_MODE_MASK = 0x3u, /* _NORMAL and _STRICT are mutual! */ EACM_MODE_MASK = 0x3u, /* _NORMAL and _STRICT are mutual! */
EACM_NOLOG = 1u<<2, /* Do not log check errors */ EACM_NOLOG = 1u<<2, /* Do not log check errors */
/* Some special overwrites of EAF_TARGETs. /* Some special overwrites of EAF_TARGETs.
* May NOT clash with EAF_* bits which may be ORd to these here! */ * May NOT clash with EAF_* bits which may be ORd to these here! */
EACM_NONAME = 1u<<16, EACM_NONAME = 1u<<16,
EACM_NONAME_OR_FAIL = 1u<<17, EACM_NONAME_OR_FAIL = 1u<<17,
EACM_DOMAINCHECK = 1u<<18 /* Honour it! */ EACM_DOMAINCHECK = 1u<<18 /* Honour it! */
skipping to change at line 638 skipping to change at line 638
}while(0) }while(0)
#define n_OBSOLETE2(X,Y) \ #define n_OBSOLETE2(X,Y) \
do if(!su_state_has(su_STATE_REPRODUCIBLE)){\ do if(!su_state_has(su_STATE_REPRODUCIBLE)){\
static boole su_CONCAT(a__warned__, __LINE__);\ static boole su_CONCAT(a__warned__, __LINE__);\
if(!su_CONCAT(a__warned__, __LINE__)){\ if(!su_CONCAT(a__warned__, __LINE__)){\
su_CONCAT(a__warned__, __LINE__) = TRU1;\ su_CONCAT(a__warned__, __LINE__) = TRU1;\
n_err("%s: %s: %s\n", _("Obsoletion warning"), X, Y);\ n_err("%s: %s: %s\n", _("Obsoletion warning"), X, Y);\
}\ }\
}while(0) }while(0)
/* Program state bits which may regulary fluctuate */ /* Program state bits which may regularly fluctuate */
enum n_program_state{ enum n_program_state{
n_PS_ROOT = 1u<<30, /* Temporary "bypass any checks" bit */ n_PS_ROOT = 1u<<30, /* Temporary "bypass any checks" bit */
#define n_PS_ROOT_BLOCK(ACT) \ #define n_PS_ROOT_BLOCK(ACT) \
do{\ do{\
boole a___reset___ = !(n_pstate & n_PS_ROOT);\ boole a___reset___ = !(n_pstate & n_PS_ROOT);\
n_pstate |= n_PS_ROOT;\ n_pstate |= n_PS_ROOT;\
ACT;\ ACT;\
if(a___reset___)\ if(a___reset___)\
n_pstate &= ~n_PS_ROOT;\ n_pstate &= ~n_PS_ROOT;\
}while(0) }while(0)
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)