/usr/include/mimelib/enum.h is in libmimelib1-dev 5:1.1.4-3.
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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | //=============================================================================
// File: enum.h
// Contents: Declarations of global constants and function prototypes
// Maintainer: Doug Sauder <dwsauder@fwb.gulf.net>
// WWW: http://www.fwb.gulf.net/~dwsauder/mimepp.html
//
// Copyright (c) 1996, 1997 Douglas W. Sauder
// All rights reserved.
//
// IN NO EVENT SHALL DOUGLAS W. SAUDER BE LIABLE TO ANY PARTY FOR DIRECT,
// INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF
// THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF DOUGLAS W. SAUDER
// HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// DOUGLAS W. SAUDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT
// NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
// PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS"
// BASIS, AND DOUGLAS W. SAUDER HAS NO OBLIGATION TO PROVIDE MAINTENANCE,
// SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
//
//=============================================================================
#ifndef DW_ENUM_H
#define DW_ENUM_H
#ifndef DW_CONFIG_H
#include <mimelib/config.h>
#endif
//-----------------------------------------------------------------------------
// Enumerated values
//-----------------------------------------------------------------------------
#if defined(DW_USE_NAMESPACES)
namespace DwMime {
#else
struct DwMime {
#endif
// Content transfer encoding
enum {
kCteNull,
kCteUnknown,
kCte7bit,
kCte8bit,
kCteBinary,
kCteQuotedPrintable,
kCteQp = kCteQuotedPrintable,
kCteBase64,
kCteLast
};
// Content types
enum {
kTypeNull,
kTypeUnknown,
kTypeText,
kTypeMultipart,
kTypeMessage,
kTypeApplication,
kTypeImage,
kTypeAudio,
kTypeVideo,
kTypeModel,
kTypeLast
};
// Content subtypes
enum {
kSubtypeNull,
kSubtypeUnknown,
// Text
kSubtypePlain, // RFC-1521
kSubtypeRichtext, // RFC-1341
kSubtypeEnriched,
kSubtypeHtml,
kSubtypeXVCard,
kSubtypeDirectory,
kSubtypeVCal,
kSubtypeRtf,
kSubtypeXDiff,
// Multipart
kSubtypeMixed,
kSubtypeAlternative,
kSubtypeDigest,
kSubtypeParallel,
kSubtypeSigned,
kSubtypeEncrypted,
kSubtypeReport,
kSubtypeRelated,
// Message
kSubtypeRfc822,
kSubtypeDispositionNotification,
// Signed content
kSubtypePartial,
kSubtypeExternalBody,
// Application
kSubtypePostscript,
kSubtypeOctetStream,
kSubtypePgpSignature,
kSubtypePgpEncrypted,
kSubtypePgpClearsigned,
kSubtypePkcs7Signature,
kSubtypePkcs7Mime,
kSubtypeMsTNEF,
kSubtypeChiasmusText,
// Image
kSubtypeJpeg,
kSubtypeGif,
// Audio
kSubtypeBasic,
// Video
kSubtypeMpeg,
// Last
kSubtypeLast
};
// Well-known header fields
enum {
kFldNull,
kFldUnknown,
// RFC-822
kFldBcc,
kFldCc,
kFldComments,
kFldDate,
kFldEncrypted,
kFldFrom,
kFldInReplyTo,
kFldKeywords,
kFldMessageId,
kFldReceived,
kFldReferences,
kFldReplyTo,
kFldResentBcc,
kFldResentCc,
kFldResentDate,
kFldResentFrom,
kFldResentMessageId,
kFldResentReplyTo,
kFldResentSender,
kFldResentTo,
kFldReturnPath,
kFldSender,
kFldTo,
kFldSubject,
// RFC-1036
kFldApproved,
kFldControl,
kFldDistribution,
kFldExpires,
kFldFollowupTo,
kFldLines,
kFldNewsgroups,
kFldOrganization,
kFldPath,
kFldSummary,
kFldXref,
// RFC-1521
kFldContentDescription,
kFldContentId,
kFldContentTransferEncoding,
kFldCte = kFldContentTransferEncoding,
kFldContentType,
kFldMimeVersion,
// RFC-1544
kFldContentMd5,
// RFC-1806
kFldContentDisposition,
// Last
kFldLast
};
// Disposition type (Content-Disposition header field, see RFC-1806)
enum {
kDispTypeNull,
kDispTypeUnknown,
kDispTypeInline,
kDispTypeAttachment
};
#if defined(DW_USE_NAMESPACES)
} // end namespace DwMime
#else
}; // end DwMime class declaration
#endif
#endif
|