pps_decoder_push_object()

Updated: October 26, 2022

Descend into a lower-level object

Synopsis:

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

Arguments:

decoder
A pointer to 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 fails if the specified element isn't 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 doesn't exist.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes