Initialize an encoder structure
#include <sys/pps.h> void pps_encoder_initialize(pps_encoder_t *encoder, bool encodeJSON);
libpps
The function pps_encoder_initialize() initializes an encoder structure from an unknown state. It initializes the memory used by the encoder to a known value, and then sets the encoding level to either 0 or 1, depending on the value specified for encodeJSON (0 for PPS encoding ; 1 for JSON encoding).
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |