Utility functions for the configuration of the licensing system. More...
#include "ai_api.h"Go to the source code of this file.
Data Structures | |
| struct | AtLicenseInfo |
| License info structure. More... | |
Functions | |
| AI_API void | AiSetLicenseString (const char *lic) |
| Set a license string (which is the content of a node-locked license file) for later use. More... | |
Error Codes | |
| #define | AI_LIC_SUCCESS 0 |
| no error | |
| #define | AI_LIC_ERROR_CANTCONNECT 1 |
| can't connect to any RLM server | |
| #define | AI_LIC_ERROR_INIT 2 |
| error on initialization | |
| #define | AI_LIC_ERROR_NOTFOUND 3 |
| no licenses found (expired or not loaded) | |
| #define | AI_LIC_ERROR_NOTAVAILABLE 4 |
| no licenses available (all in use) | |
| #define | AI_LIC_ERROR -1 |
| generic license error | |
| AI_API int | AiLicenseGetInfo (AtLicenseInfo *&licenses, unsigned int &n) |
| Check the status of the license servers provided through the environment variables solidangle_LICENSE, RLM_LICENSE and ARNOLD_LICENSE_[HOST|PORT] and get information about all the installed licenses in those servers. More... | |
| AI_API bool | AiLicenseIsAvailable () |
| Check if licenses are available. More... | |
Utility functions for the configuration of the licensing system.