help | logout
RSP_nextThreshold

RSP_nextThreshold

Name

RSP_nextThreshold -- Get next threshold in chain.

Synopsis

const char* RSP_nextThreshold(RSP_moduleBackend *mod);

Description

This function is used to get each of the thresholds (as a list) specified in the RSPD configuration file (in the threshold field). This will return each threshold, one-by-one, until all thresholds have been returned.

Returns

The next threshold string, as specified in the RSPD configuration file, is returned (or NULL if no more thresholds exist).

Error Conditions

If an error occurred, this function will return NULL and set rsp_error to the following error code:

  • RSP_INVALID_ARGS