tibrvMsg_GetNumFields()

Function

Declaration

tibrv_status tibrvMsg_GetNumFields(
    tibrvMsg          message,
    tibrv_u32*        numFields);

Purpose

Extract the number of fields in a message.

Remarks

This call counts the immediate fields of the message; it does not descend into submessages to count their fields recursively.

Parameter

Description

message

Extract the number of fields in this message.

numFields

The program supplies a location in this parameter; the function stores the number of fields in that location.