Sessions
To use most of the NetBackup XBSA API calls, it is necessary for an XBSA application to set up a session with the NetBackup XBSA interface by invoking the BSAInit() call. The functions BSAQueryApiVersion() and BSAQueryServiceProvider() can be invoked before calling BSAInit(). These functions are used to determine the current version of the API used by the NetBackup XBSA interface and a string describing the provider of the NetBackup XBSA interface, respectively, and are not dependent on being within a session.