Go to the source code of this file.
Data Structures | |
struct | Remailer |
A Mixmaster remailer. More... | |
Macros | |
#define | MIX_CAP_NO_FLAGS 0 |
No flags are set. | |
#define | MIX_CAP_COMPRESS (1 << 0) |
Accepts compressed messages. | |
#define | MIX_CAP_MIDDLEMAN (1 << 1) |
Must be a middle-man (not at the end of a chain) | |
#define | MIX_CAP_NEWSPOST (1 << 2) |
Supports direct posting to Usenet. | |
#define | MIX_CAP_NEWSMAIL (1 << 3) |
Supports posting to Usenet through a mail-to-news gateway. | |
Typedefs | |
typedef uint8_t | MixCapFlags |
Flags, e.g. MIX_CAP_NO_FLAGS. | |
Functions | |
ARRAY_HEAD (RemailerArray, struct Remailer *) | |
void | remailer_free (struct Remailer **ptr) |
Free a Remailer. | |
struct Remailer * | remailer_new (void) |
Create a new Remailer. | |
void | remailer_clear_hosts (struct RemailerArray *ra) |
Clear a Remailer List. | |
struct RemailerArray | remailer_get_hosts (void) |
Parse the type2.list as given by mixmaster -T. | |
Mixmaster Remailer.
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, see http://www.gnu.org/licenses/.
Definition in file remailer.h.
#define MIX_CAP_NO_FLAGS 0 |
No flags are set.
Definition at line 30 of file remailer.h.
#define MIX_CAP_COMPRESS (1 << 0) |
Accepts compressed messages.
Definition at line 31 of file remailer.h.
#define MIX_CAP_MIDDLEMAN (1 << 1) |
Must be a middle-man (not at the end of a chain)
Definition at line 32 of file remailer.h.
#define MIX_CAP_NEWSPOST (1 << 2) |
Supports direct posting to Usenet.
Definition at line 33 of file remailer.h.
#define MIX_CAP_NEWSMAIL (1 << 3) |
Supports posting to Usenet through a mail-to-news gateway.
Definition at line 34 of file remailer.h.
typedef uint8_t MixCapFlags |
Flags, e.g. MIX_CAP_NO_FLAGS.
Definition at line 29 of file remailer.h.
ARRAY_HEAD | ( | RemailerArray | , |
struct Remailer * | |||
) |
void remailer_free | ( | struct Remailer ** | ptr | ) |
Free a Remailer.
ptr | Remailer to free |
Definition at line 45 of file remailer.c.
struct Remailer * remailer_new | ( | void | ) |
Create a new Remailer.
ptr | Newly allocated Remailer |
Definition at line 62 of file remailer.c.
void remailer_clear_hosts | ( | struct RemailerArray * | ra | ) |
Clear a Remailer List.
ra | Array of Remailer hosts to clear |
Definition at line 205 of file remailer.c.
struct RemailerArray remailer_get_hosts | ( | void | ) |
Parse the type2.list as given by mixmaster -T.
obj | Array of Remailer Hosts |
Definition at line 114 of file remailer.c.