s-nail  14.9.10
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.10.tar.xz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

filter.c File Reference
#include "nail.h"
Include dependency graph for filter.c:

Go to the source code of this file.

Macros

#define n_FILE   filter
 

Functions

FL struct quotefltquoteflt_dummy (void)
 
FL void quoteflt_init (struct quoteflt *self, char const *prefix)
 
FL void quoteflt_destroy (struct quoteflt *self)
 
FL void quoteflt_reset (struct quoteflt *self, FILE *f)
 
FL ssize_t quoteflt_push (struct quoteflt *self, char const *dat, size_t len)
 
FL ssize_t quoteflt_flush (struct quoteflt *self)
 

Macro Definition Documentation

◆ n_FILE

#define n_FILE   filter

Definition at line 19 of file filter.c.

Function Documentation

◆ quoteflt_destroy()

FL void quoteflt_destroy ( struct quoteflt self)

Definition at line 353 of file filter.c.

References n_UNUSED, NYD_ENTER, and NYD_LEAVE.

Referenced by sendmp().

◆ quoteflt_dummy()

FL struct quoteflt* quoteflt_dummy ( void  )

Definition at line 300 of file filter.c.

Referenced by sendpart(), and xmime_write().

◆ quoteflt_flush()

FL ssize_t quoteflt_flush ( struct quoteflt self)

Definition at line 481 of file filter.c.

References FAL0, n_UNUSED, NYD_ENTER, and NYD_LEAVE.

Referenced by pipecpy(), sendpart(), and xmime_write().

◆ quoteflt_init()

FL void quoteflt_init ( struct quoteflt self,
char const *  prefix 
)

Definition at line 308 of file filter.c.

References n_idec_ui32_cp, n_mb_cur_max, n_QUOTE_MAX, NYD_ENTER, NYD_LEAVE, ok_vlook, quoteflt::qf_pfix_len, and salloc.

Referenced by sendmp().

◆ quoteflt_push()

FL ssize_t quoteflt_push ( struct quoteflt self,
char const *  dat,
size_t  len 
)

Definition at line 375 of file filter.c.

References FAL0, NYD_ENTER, NYD_LEAVE, PTR2SIZE, and TRU1.

Referenced by _fwrite_td(), mime_write(), pipecpy(), and sendpart().

◆ quoteflt_reset()

FL void quoteflt_reset ( struct quoteflt self,
FILE *  f 
)

Definition at line 361 of file filter.c.

References NYD_ENTER, and NYD_LEAVE.

Referenced by pipecpy(), sendpart(), and xmime_write().