BSAQueryApiVersion
Query for the current version of the API.
SYNOPSIS
#include <xbsa.h>
int BSAQueryApiVersion(BSA_ApiVersion *apiVersionPtr)
DESCRIPTION
The BSAQueryApiVersion() call is used to determine the current version of the NetBackup XBSA interface. The version information consists of the issue, version within the issue, and level within the version. If the NetBackup XBSA interface supports more than one version, the latest version information is returned.
PARAMETERS
BSA_ApiVersion *apiVersionPtr (O) | This parameter is a pointer to a structure that is to be used to return the current issue, version, and level, of the API. |
RETURN VALUE
The following return codes are returned by this function:
BSA_RC_ABORT_SYSTEM_ERROR | System detected error, operation aborted. |
BSA_RC_NULL_ARGUMENT | A NULL apiVersionPtr was encountered. |
BSA_RC_SUCCESS | The function succeeded. |