RSP_boolConvertNameRSP_boolConvert -- Converts boolean value to T/F. Synopsisint RSP_boolConvert (char *data);
Description This function converts the given
string data to an integer (which
represents a Boolean).
Values resolving to TRUE:
Values resolving to FALSE
0, down, off, false, disabled
Returns Returns a 1 if the given string is equivalent to true, and 0 if equivalent
to false (or -1 if an error occurred).
Error Conditions If an error occurs, -1 will be returned
and rsp_error will be set to the
following error code:
|