ze-filter  (ze-filter-0.8.0-develop-180218)
ze-decode.h
Go to the documentation of this file.
1 /*
2  *
3  * ze-filter - Mail Server Filter for sendmail
4  *
5  * Copyright (c) 2001-2018 - Jose-Marcio Martins da Cruz
6  *
7  * Auteur : Jose Marcio Martins da Cruz
8  * jose.marcio.mc@gmail.org
9  *
10  * Historique :
11  * Creation : janvier 2002
12  *
13  * This program is free software, but with restricted license :
14  *
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19  *
20  * More details about ze-filter license can be found at ze-filter
21  * web site : http://foss.jose-marcio.org
22  */
23 
24 
25 #ifndef __ZE_DECODE_H
26 
32 bool is_rfc1521_encoded (char *);
33 int decode_rfc1521 (char *, char *, size_t);
34 
35 bool is_rfc2047_encoded (char *);
36 int decode_rfc2047 (char *, char *, size_t);
37 
38 bool is_rfc2231_encoded (char *);
39 int decode_rfc2231 (char *, char *, size_t);
40 
41 #if 1
42 #define TSPECIALS "()<>@,;:\\/[]?=\""
43 #else
44 #define TSPECIALS "<>@,;:\\/[]?=\""
45 #endif
46 
47 int strascii (char *, char *, char *);
48 
51 #define __ZE_DECODE_H
52 #endif
int decode_rfc2231(char *, char *, size_t)
Definition: ze-decode.c:200
bool is_rfc2047_encoded(char *)
Definition: ze-decode.c:38
int decode_rfc2047(char *, char *, size_t)
Definition: ze-decode.c:49
int decode_rfc1521(char *, char *, size_t)
Definition: ze-decode.c:75
bool is_rfc2231_encoded(char *)
Definition: ze-decode.c:175
bool is_rfc1521_encoded(char *)
Definition: ze-decode.c:62
int strascii(char *, char *, char *)
Definition: ze-decode.c:327