monotone

monotone Mtn Source Tree

Root/smtp_tasks.hh

1#ifndef __SMTP_TASKS_HH__
2#define __SMTP_TASKS_HH__
3
4// copyright (C) 2002, 2003 graydon hoare <graydon@pobox.com>
5// all rights reserved.
6// licensed to the public under the terms of the GNU GPL (>= 2)
7// see the file COPYING for details
8
9#include <string>
10#include <iostream>
11
12#include "packet.hh"
13#include "vocab.hh"
14
15// this file contains a simple function which builds up an SMTP state
16// machine and runs it using the infrastructure in proto_machine.{cc,hh}
17
18bool post_smtp_article(std::string const & envelope_host,
19 std::string const & envelope_sender,
20 std::string const & envelope_recipient,
21 std::string const & from,
22 std::string const & to,
23 std::string const & subject,
24 std::string const & article,
25 std::iostream & stream);
26
27#endif // __SMTP_TASKS_HH__

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status