pps_decoder_push_object()

Descend into a lower-level object

Synopsis:

#include <pps.h>
            
pps_decoder_error_t pps_decoder_push_object(pps_decoder_t *decoder,
                                            const char *name);

Arguments:

decoder
The PPS decoder structure.
name
The name of the object to descend into.

Library:

libpps

Description:

The function pps_decoder_push_object() descends into an object. If successful, subsequent data will be returned for properties or elements of that object. This function is identical to pps_decoder_push(), except that it will fail if the specified element is not an object.

Returns:

PPS_DECODER_OK
Success.
PPS_DECODER_BAD_TYPE
There was a type mismatch.
PPS_DECODER_DELETED
The attribute was deleted.
PPS_DECODER_NOT_FOUND
The specified node does not exist.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes