mutt stable branch with some hacks
at master 63 lines 1.6 kB view raw
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 37struct type2 38{ 39 int num; 40 char *shortname; 41 char *addr; 42 char *ver; 43 int caps; 44}; 45 46typedef struct type2 REMAILER; 47 48 49struct mixchain 50{ 51 size_t cl; 52 int ch[MAXMIXES]; 53}; 54 55typedef struct mixchain MIXCHAIN; 56 57int mix_send_message (LIST *, const char *); 58int mix_check_message (HEADER *msg); 59void mix_make_chain (LIST **, int *); 60 61#endif /* MIXMASTER */ 62 63#endif /* _REMAILER_H */