RSP_getPolltime

Name

RSP_getPolltime -- Get update interval for this module.

Synopsis

int RSP_getPolltime(RSP_moduleBackend *mod);

Description

The RSPD configuration file contains an integer with the number of seconds to wait between updating the RSPD with current data. This number is returned by this function, and should be used to specify the length of time to wait in the RSP_waitNextEvent().

Returns

This function returns -1 if an error occurred, and 0 otherwise.

Error Conditions

No errors can occur with this function.