Skip to main content

Name

ec_message_part_touch — Flags a message part as having been modified

Synopsis

#include "ec_message.h"

| void **ec_message_part_touch** ( | part, |   | |   | what); |   |

ec_message_part * <var class="pdparam">part</var>; int <var class="pdparam">what</var>;

Description

Flags a message part as having been modified. The touched status propagates up to the top level and is used to determine how the message should be re-assembled for spooling.

Parameters

part

The message part that was modified. A pointer to an ec_message_part struct. For documentation of this data structure see “ec_message_part”

what

Flags (EC_MSG_HDR_XXX) that indicate what was modified.

Return Values

This function returns void.

Related Constants

EC_MSG_HDR_EOL_FIX

This part has or requires that line endings be fixed in its headers.

EC_MSG_HDR_ADD

This part had header(s) added.

EC_MSG_HDR_REM

This part had header(s) removed.

EC_MSG_BODY_MODIFIED

This part had its body modified.

EC_MSG_BODY_LEN_FIX

This part has or requires that the length of its lines be fixed.

EC_MSG_BODY_EOL_FIX

This part has or requires that line endings be fixed in its body.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?