diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-13 01:53:03 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-13 01:53:03 +0000 |
commit | 822535edf4b160d9f023fd2026c824ef061f4ea5 (patch) | |
tree | d2bc1f73f47c95b140c4c0ea0be42b70f26880fe /remailer.h | |
parent | a983c11963da7df7c9e4a99e54084a2cf4a1b176 (diff) |
A first take at adding a mixmaster front-end to mutt. Don't worry,
it's optional. ;-)
Diffstat (limited to 'remailer.h')
-rw-r--r-- | remailer.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/remailer.h b/remailer.h new file mode 100644 index 00000000..57050ec9 --- /dev/null +++ b/remailer.h @@ -0,0 +1,62 @@ +#ifndef _REMAILER_H +#define _REMAILER_H + +/* + * Copyright (C) 1999 Thomas Roessler <roessler@guug.de> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +/* + * Mixmaster support for Mutt + */ + +#include "config.h" + +#ifdef MIXMASTER + +#define MIX_CAP_COMPRESS (1 << 0) +#define MIX_CAP_MIDDLEMAN (1 << 1) +#define MIX_CAP_NEWSPOST (1 << 2) +#define MIX_CAP_NEWSMAIL (1 << 3) + +/* Mixmaster's maximum chain length. Don't change this. */ + +#define MAXMIXES 20 + +struct type2 +{ + char *shortname; + char *addr; + char *ver; + int caps; +}; + +typedef struct type2 REMAILER; + + +struct mixchain +{ + size_t cl; + int ch[MAXMIXES]; +}; + +typedef struct mixchain MIXCHAIN; + +/* function prototypes are in protos.h */ + +#endif /* MIXMASTER */ + +#endif /* _REMAILER_H */ |