help | logout
RSP_nextConfigData

RSP_nextConfigData

Name

RSP_nextConfigData -- Gets the next value associated with the given config element.

Synopsis

char* RSP_nextConfigData(RSP_configElement *config);

Description

This function allows you to iterate through all of the values associated with the given config element. The argument to this function is a data structure returned by the RSP_getConfig function. This function will continue to return strings until it reaches the end of the list, at which time NULL is returned.

Returns

A null-terminated string containing the next value, or NULL when the end of list is reached or there is an error.

Error Conditions

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

  • RSP_INVALID_ARGS