Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 64 lines (49 sloc) 1.552 kb
14c2920 Imported Upstream version 1.5.18
Antonio Radici authored
1 #ifndef _REMAILER_H
2 #define _REMAILER_H
3
4 /*
5 * Copyright (C) 1999-2000 Thomas Roessler <roessler@does-not-exist.org>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 */
21
22 /*
23 * Mixmaster support for Mutt
24 */
25
26 #ifdef MIXMASTER
27
28 #define MIX_CAP_COMPRESS (1 << 0)
29 #define MIX_CAP_MIDDLEMAN (1 << 1)
30 #define MIX_CAP_NEWSPOST (1 << 2)
31 #define MIX_CAP_NEWSMAIL (1 << 3)
32
33 /* Mixmaster's maximum chain length. Don't change this. */
34
35 #define MAXMIXES 19
36
37 struct type2
38 {
39 int num;
40 char *shortname;
41 char *addr;
42 char *ver;
43 int caps;
44 };
45
46 typedef struct type2 REMAILER;
47
48
49 struct mixchain
50 {
51 size_t cl;
52 int ch[MAXMIXES];
53 };
54
55 typedef struct mixchain MIXCHAIN;
56
57 int mix_send_message (LIST *, const char *);
58 int mix_check_message (HEADER *msg);
59 void mix_make_chain (LIST **, int *);
60
61 #endif /* MIXMASTER */
62
63 #endif /* _REMAILER_H */
Something went wrong with that request. Please try again.