ec_message_part_insert_before
Name
ec_message_part_insert_before — Insert a part ahead of another part
Synopsis
#include "ec_message.h"
| int **ec_message_part_insert_before** (
| toinsert, | |
| | insert_before)
; | |
ec_message_part * <var class="pdparam">toinsert</var>
;
ec_message_part * <var class="pdparam">insert_before</var>
;
Description
Note
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Insert a part ahead of another part.
Determines the predecessor of the "insert_before" part, and inserts "toinsert" after it.
The insert operation will update the various part links in the mime tree, which may result in references being added to parts.
The insert may fail if the mime tree is invalid.
- toinsert
-
the part being inserted
- insert_before
-
the part which will become the successor to "toinsert"
0 on failure, 1 on success.
**Configuration Change. ** This feature is available starting from Momentum 3.0.18.