Previous | Next | Contents | Index |
Rewind a message file back to the start of its message header.
argument informationstatus = PMDF_rewind_message (dq_context)
Argument | Data type | Access | Mechanism |
---|---|---|---|
dq_context | context pointer | read/write | reference |
argument informationstatus = PMDFrewindMessage (dq_context)
int PMDFrewindMessage(PMDF_dq **dq_context) |
dq_context
A message dequeue context created withPMDFdequeueInitialize
.
PMDFrewindMessage
will "rewind" a message file back to the start of its message header. This routine can be called any time after all of the envelope "To:" addresses have been read withPMDFgetRecipient
and prior to dequeuing or deferring the message. AfterPMDFrewindMessage
has been called, the message header can be read with eitherPMDFreadHeader
,PMDFreadLine
, orPMDFreadText
.
PMDF__OK Normal, successful completion. PMDF__BADCONTEXT Illegal or corrupt context. Message was not rewound. PMDF__NO There is some sort of inconsistency in the message file; the message cannot be rewound.
Previous | Next | Contents | Index |