Bogofilter adapter for OpenSMTPD in C++
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
417 B

#ifndef _SMTPD_IOS_PROTOCOL_
#define _SMTPD_IOS_PROTOCOL_
#include <smtpd/protocol.hpp>
#include <smtpd/types.hpp>
namespace smtpd {
class IOSProtocol : public Protocol {
public:
IOSProtocol(std::istream & in, std::ostream & out);
void run();
protected:
virtual void emit(std::string output);
private:
std::istream & in;
std::ostream & out;
};
}
#endif