help | logout
RSP_nextConfigName

RSP_nextConfigName

Name

RSP_nextConfigName -- Gets the next name of config elements that have been set.

Synopsis

char* RSP_nextConfigName(RSP_moduleBackend *mod);

Description

This function allows you to iterate through all of the config names that have values associated with them. Then RSP_getConfig or RSP_getConfigValue can be used to get the data itself. 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 name, 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