/usr/include/mimetic/contentdisposition.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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | /***************************************************************************
copyright : (C) 2002-2008 by Stefano Barbato
email : stefano@codesink.org
$Id: contentdisposition.h,v 1.12 2008-10-07 11:06:25 tat Exp $
***************************************************************************/
#ifndef _MIMETIC_CONTENT_DISPOSITION_H_
#define _MIMETIC_CONTENT_DISPOSITION_H_
#include <string>
#include <iostream>
#include <mimetic/fieldparam.h>
#include <mimetic/rfc822/fieldvalue.h>
namespace mimetic
{
/// Content-Disposition field value
struct ContentDisposition: public FieldValue
{
typedef FieldParam Param;
typedef FieldParamList ParamList;
public:
static const char label[];
ContentDisposition();
ContentDisposition(const char*);
ContentDisposition(const std::string&);
void type(const std::string&);
const istring& type() const;
const ParamList& paramList() const;
ParamList& paramList();
const std::string& param(const std::string&) const;
void param(const std::string&, const std::string&);
void set(const std::string&);
std::string str() const;
std::ostream& write(std::ostream& os, int fold = 0) const;
protected:
FieldValue* clone() const;
private:
istring m_type;
ParamList m_paramList;
};
}
#endif
|