PMDF Programmer's Reference Manual


Previous Next Contents Index


PMDFwriteHeader

Write a message header to a message being enqueued.

PASCAL

status = PMDF_write_header (nq_context, header)

argument information
Argument Data type Access Mechanism
nq_context context pointer read/write reference
header header pointer read value

C

status = PMDFwriteHeader (nq_context, header)

argument information


int PMDFwriteHeader(PMDF_nq **nq_context, 
                    PMDF_hdr *header) 


Arguments

nq_context

A message enqueue context created with PMDFstartMessageEnvelope.

header

Address of a message header structure created with PMDFreadHeader or PMDFaddHeaderLine.

Description

Header structures can be output with PMDFwriteHeader. See Section 1.6 for details on using and manipulating header structures.

Return Values

PMDF__OK Normal, successful completion.
PMDF__BADCONTEXT Illegal or corrupt context. Header not written.


Previous Next Contents Index