Data Structures | Functions
ai_license.h File Reference

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...
 

Macros

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
 

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...
 
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...
 

Detailed Description

Utility functions for the configuration of the licensing system.


© 2020 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com