/usr/include/mimetic/rfc822/message.h is in libmimetic-dev 0.9.8-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | /***************************************************************************
copyright : (C) 2002-2008 by Stefano Barbato
email : stefano@codesink.org
$Id: message.h,v 1.9 2008-10-07 11:06:27 tat Exp $
***************************************************************************/
#ifndef _MIMETIC_RFC822_MESSAGE_H_
#define _MIMETIC_RFC822_MESSAGE_H_
#include <string>
#include <iostream>
#include <mimetic/rfc822/header.h>
#include <mimetic/rfc822/body.h>
namespace mimetic
{
/// Simple RFC 822 message type
struct Message
{
Message();
virtual ~Message(){}
Rfc822Header& header();
const Rfc822Header& header() const;
Rfc822Body& body();
const Rfc822Body& body() const;
friend std::ostream& operator<<(std::ostream&, const Message&);
private:
Rfc822Header m_header;
Rfc822Body m_body;
};
}
#endif
|