gmime.types

D types for gmime3 library

Members

Aliases

AddressType
alias AddressType = GMimeAddressType
AutocryptPreferEncrypt
alias AutocryptPreferEncrypt = GMimeAutocryptPreferEncrypt
CipherAlgo
alias CipherAlgo = GMimeCipherAlgo
ContentEncoding
alias ContentEncoding = GMimeContentEncoding
DecryptFlags
alias DecryptFlags = GMimeDecryptFlags
DigestAlgo
alias DigestAlgo = GMimeDigestAlgo
EncodingConstraint
alias EncodingConstraint = GMimeEncodingConstraint
EncryptFlags
alias EncryptFlags = GMimeEncryptFlags
FilterBestFlags
alias FilterBestFlags = GMimeFilterBestFlags
FilterFromMode
alias FilterFromMode = GMimeFilterFromMode
FilterGZipMode
alias FilterGZipMode = GMimeFilterGZipMode
Format
alias Format = GMimeFormat
HeaderRawValueFormatter
alias HeaderRawValueFormatter = string delegate(gmime.header.Header header, gmime.format_options.FormatOptions options, string value, string charset)

Function callback for encoding and formatting a header value.

NewLineFormat
alias NewLineFormat = GMimeNewLineFormat
ObjectForeachFunc
alias ObjectForeachFunc = void delegate(gmime.object.ObjectWrap parent, gmime.object.ObjectWrap part)

The function signature for a callback to gmime.message.Message.foreach_ and gmime.multipart.Multipart.foreach_.

OpenPGPData
alias OpenPGPData = GMimeOpenPGPData
OpenPGPState
alias OpenPGPState = GMimeOpenPGPState
ParamEncodingMethod
alias ParamEncodingMethod = GMimeParamEncodingMethod
ParserHeaderRegexFunc
alias ParserHeaderRegexFunc = void delegate(gmime.parser.Parser parser, string header, string value, long offset)

Function signature for the callback to gmime.parser.Parser.setHeaderRegex.

ParserWarning
alias ParserWarning = GMimeParserWarning
ParserWarningFunc
alias ParserWarningFunc = void delegate(long offset, gmime.types.ParserWarning errcode, string item)

The function signature for a callback to gmime.parser_options.ParserOptions.setWarningCallback.

PasswordRequestFunc
alias PasswordRequestFunc = bool delegate(gmime.crypto_context.CryptoContext ctx, string userId, string prompt, bool reprompt, gmime.stream.Stream response, GError** _err)

A password request callback allowing a #GMimeCryptoContext to prompt the user for a password for a given key.

PubKeyAlgo
alias PubKeyAlgo = GMimePubKeyAlgo
RfcComplianceMode
alias RfcComplianceMode = GMimeRfcComplianceMode
SecureMimeType
alias SecureMimeType = GMimeSecureMimeType
SeekWhence
alias SeekWhence = GMimeSeekWhence
SignatureStatus
alias SignatureStatus = GMimeSignatureStatus
StreamBufferMode
alias StreamBufferMode = GMimeStreamBufferMode
StreamIOVector
alias StreamIOVector = GMimeStreamIOVector
Trust
alias Trust = GMimeTrust
Validity
alias Validity = GMimeValidity
VerifyFlags
alias VerifyFlags = GMimeVerifyFlags

Manifest constants

BINARY_AGE
enum BINARY_AGE;

GMime's binary age.

DISPOSITION_ATTACHMENT
enum DISPOSITION_ATTACHMENT;

Standard attachment disposition.

DISPOSITION_INLINE
enum DISPOSITION_INLINE;

Standard inline disposition.

FILTER_ENRICHED_IS_RICHTEXT
enum FILTER_ENRICHED_IS_RICHTEXT;

A bit flag for gmime.filter_enriched.FilterEnriched.new_ which signifies that the filter should expect Rich Text (aka RTF).

FILTER_HTML_BLOCKQUOTE_CITATION
enum FILTER_HTML_BLOCKQUOTE_CITATION;

Enclose citation text in blockquotes.

FILTER_HTML_CITE
enum FILTER_HTML_CITE;

Cites text by prepending "> " to each cited line.

FILTER_HTML_CONVERT_ADDRESSES
enum FILTER_HTML_CONVERT_ADDRESSES;

Wrap email addresses in "mailto:" href tags.

FILTER_HTML_CONVERT_NL
enum FILTER_HTML_CONVERT_NL;

Convert new-lines ('\n') into <br> tags.

FILTER_HTML_CONVERT_SPACES
enum FILTER_HTML_CONVERT_SPACES;

Preserve whitespace by converting spaces into their appropriate html entities.

FILTER_HTML_CONVERT_URLS
enum FILTER_HTML_CONVERT_URLS;

Wrap detected URLs in <a href=...> tags.

FILTER_HTML_ESCAPE_8BIT
enum FILTER_HTML_ESCAPE_8BIT;

Converts 8bit characters to '?'.

FILTER_HTML_MARK_CITATION
enum FILTER_HTML_MARK_CITATION;

Change the colour of citation text.

FILTER_HTML_PRE
enum FILTER_HTML_PRE;

Wrap stream in <pre> and </pre> tags.

INTERFACE_AGE
enum INTERFACE_AGE;

GMime's interface age.

MAJOR_VERSION
enum MAJOR_VERSION;

GMime's major version.

MICRO_VERSION
enum MICRO_VERSION;

GMime's micro version.

MINOR_VERSION
enum MINOR_VERSION;

GMime's minor version.

SIGNATURE_STATUS_ERROR_MASK
enum SIGNATURE_STATUS_ERROR_MASK;

A convenience macro for masking out the non-error bit flags.

UUDECODE_STATE_BEGIN
enum UUDECODE_STATE_BEGIN;

State for the gmime.encoding.Encoding.uudecodeStep function, denoting that the 'begin' line has been found.

UUDECODE_STATE_END
enum UUDECODE_STATE_END;

State for the gmime.encoding.Encoding.uudecodeStep function, denoting that the end of the UU encoded block has been found.

UUDECODE_STATE_INIT
enum UUDECODE_STATE_INIT;

Initial state for the gmime.encoding.Encoding.uudecodeStep function.

UUDECODE_STATE_MASK
enum UUDECODE_STATE_MASK;
YDECODE_STATE_BEGIN
enum YDECODE_STATE_BEGIN;

State bit that denotes the yEnc filter has found the =ybegin line.

YDECODE_STATE_DECODE
enum YDECODE_STATE_DECODE;

State bit that denotes yEnc filter has begun decoding the actual yencoded content and will continue to do so until an =yend line is found (or until there is nothing left to decode).

YDECODE_STATE_END
enum YDECODE_STATE_END;

State bit that denoates that gmime.global.ydecodeStep has finished decoding.

YDECODE_STATE_EOLN
enum YDECODE_STATE_EOLN;

State bit that denotes the yEnc filter has reached an end-of-line.

YDECODE_STATE_ESCAPE
enum YDECODE_STATE_ESCAPE;

State bit that denotes the yEnc filter has reached an escape sequence.

YDECODE_STATE_INIT
enum YDECODE_STATE_INIT;

Initial state for the gmime.global.ydecodeStep function.

YDECODE_STATE_PART
enum YDECODE_STATE_PART;

State bit that denotes the yEnc filter has found the =ypart line. (Note: not all yencoded blocks have one)

YENCODE_CRC_INIT
enum YENCODE_CRC_INIT;

Initial state for the crc and pcrc state variables.

YENCODE_STATE_INIT
enum YENCODE_STATE_INIT;

Initial state for the gmime.global.ydecodeStep function.