ze-filter  (ze-filter-0.8.0-develop-180218)
Filter : XFiles

Macros

#define CT_NONE   0
 
#define CT_TYPE   1
 
#define CT_DISP   2
 
#define CT_UUFILE   3
 
#define ST_INIT   0
 
#define ST_VALUE   1
 
#define ST_TOKEN   2
 
#define ST_CHECK   3
 

Functions

int free_fext ()
 
int add_fext (char *)
 
void init_default_file_extensions ()
 
void init_file_extension_regex ()
 
void list_filename_extensions (int fd)
 
bool check_filename_xfile (char *)
 
void dump_xfiles_table ()
 
bool load_xfiles_table (char *, char *)
 
bool check_xfiles (char *, char *, size_t, char *, size_t)
 
int scan_block (char *, char *, long, char *, long, int *, content_field_T *, content_field_T **)
 

Detailed Description

Filtering messages based on the file extension of attached files

Macro Definition Documentation

◆ CT_DISP

#define CT_DISP   2

Definition at line 33 of file ze-scanmail.h.

◆ CT_NONE

#define CT_NONE   0

Definition at line 31 of file ze-scanmail.h.

◆ CT_TYPE

#define CT_TYPE   1

Definition at line 32 of file ze-scanmail.h.

◆ CT_UUFILE

#define CT_UUFILE   3

Definition at line 34 of file ze-scanmail.h.

◆ ST_CHECK

#define ST_CHECK   3

Definition at line 39 of file ze-scanmail.h.

◆ ST_INIT

#define ST_INIT   0

Definition at line 36 of file ze-scanmail.h.

◆ ST_TOKEN

#define ST_TOKEN   2

Definition at line 38 of file ze-scanmail.h.

◆ ST_VALUE

#define ST_VALUE   1

Definition at line 37 of file ze-scanmail.h.

Function Documentation

◆ add_fext()

int add_fext ( char *  )

Definition at line 102 of file ze-fileexp.c.

◆ check_filename_xfile()

bool check_filename_xfile ( char *  )

Definition at line 342 of file ze-fileexp.c.

◆ check_xfiles()

bool check_xfiles ( char *  ,
char *  ,
size_t  ,
char *  ,
size_t   
)

Definition at line 625 of file ze-fileexp.c.

◆ dump_xfiles_table()

void dump_xfiles_table ( )

Definition at line 398 of file ze-fileexp.c.

◆ free_fext()

int free_fext ( )

Definition at line 89 of file ze-fileexp.c.

◆ init_default_file_extensions()

void init_default_file_extensions ( )

Definition at line 195 of file ze-fileexp.c.

◆ init_file_extension_regex()

void init_file_extension_regex ( )

Definition at line 249 of file ze-fileexp.c.

◆ list_filename_extensions()

void list_filename_extensions ( int  fd)

Definition at line 298 of file ze-fileexp.c.

◆ load_xfiles_table()

bool load_xfiles_table ( char *  ,
char *   
)

Definition at line 575 of file ze-fileexp.c.

◆ scan_block()

int scan_block ( char *  ,
char *  ,
long  ,
char *  ,
long  ,
int *  ,
content_field_T ,
content_field_T **   
)

Definition at line 51 of file ze-scanmail.c.