PMDF Programmer's Reference Manual


Previous Contents Index


PMDFwriteDate

Write a "Date:" header line to a message being enqueued.

PASCAL

status = PMDF_write_date (nq_context)

argument information

Argument Data type Access Mechanism
nq_context context pointer read/write reference

C

status = PMDFwriteDate (nq_context)

argument information


int PMDFwriteDate(PMDF_nq **nq_context) 


Arguments

nq_context

A message enqueue context created with PMDFstartMessageEnvelope .

Description

PMDFwriteDate will output a "Date:" header line to a message header. The current system date and time will be used in constructing this header line. PMDFwriteDate should be called after PMDFstartMessageHeader and prior to calling PMDFstartMessageBody . If it is called after PMDFstartMessageBody , then it's output will become part of the message body.

Return Values

PMDF__OK Normal, successful completion.
PMDF__BADCONTEXT Illegal or corrupt context. "Date:" header line not written.


Previous Next Contents Index