![]() |
LicenseSpring C++ SDK
7.31.0
Easily add Software Licensing to your application
|
#include <LicenseSpring/C-interface/LicenseHandler.h>
Definition at line 26 of file LicenseHandler.h.
void( * LSLicenseHandler::reconfigure) (struct LSLicenseHandler *self, struct LSConfiguration *config) |
Definition at line 29 of file LicenseHandler.h.
bool( * LSLicenseHandler::isOnline) (struct LSLicenseHandler *self) |
Definition at line 32 of file LicenseHandler.h.
LSProductDetails*( * LSLicenseHandler::getProductDetails) (struct LSLicenseHandler *self, bool includeLatestVersion) |
Definition at line 33 of file LicenseHandler.h.
struct LSLicenseID( * LSLicenseHandler::getTrialLicense) (struct LSLicenseHandler *self, LSCustomer *user, const char *licensePolicy) |
Definition at line 34 of file LicenseHandler.h.
struct LSLicenseID( * LSLicenseHandler::getTrialLicenseByEmail) (struct LSLicenseHandler *self, const char *userEmail) |
Definition at line 35 of file LicenseHandler.h.
const char*( * LSLicenseHandler::getSSOUrl) (struct LSLicenseHandler *self, const char *accountCode, bool useAuthCode) |
Definition at line 36 of file LicenseHandler.h.
void( * LSLicenseHandler::activateLicense) (struct LSLicenseHandler *self, struct LSLicenseID licenseID) |
Definition at line 37 of file LicenseHandler.h.
void( * LSLicenseHandler::activateLicenseViaSSO) (struct LSLicenseHandler *self, const char *authData, const char *accountCode, bool useAuthCode) |
Definition at line 38 of file LicenseHandler.h.
bool( * LSLicenseHandler::deactivateLicense) (struct LSLicenseHandler *self) |
Definition at line 40 of file LicenseHandler.h.
bool( * LSLicenseHandler::changePassword) (struct LSLicenseHandler *self, const char *password, const char *newPassword, const char *user) |
Definition at line 41 of file LicenseHandler.h.
LSInstallationFile*( * LSLicenseHandler::checkLicense) (struct LSLicenseHandler *self) |
Definition at line 42 of file LicenseHandler.h.
LSInstallationFile*( * LSLicenseHandler::checkLicenseEx) (struct LSLicenseHandler *self, const char *channel, const char *env, bool includeExpiredFeatures) |
Definition at line 43 of file LicenseHandler.h.
int( * LSLicenseHandler::getVersionList) (struct LSLicenseHandler *self, struct LSLicenseID licenseID, int *lengths, char **versionList) |
Definition at line 44 of file LicenseHandler.h.
int( * LSLicenseHandler::getVersionListEx) (struct LSLicenseHandler *self, struct LSLicenseID licenseID, const char *channel, const char *env, int *lengths, char **versionList) |
Definition at line 45 of file LicenseHandler.h.
LSInstallationFile*( * LSLicenseHandler::getInstallFile) (struct LSLicenseHandler *self, struct LSLicenseID licenseID, const char *version) |
Definition at line 47 of file LicenseHandler.h.
LSInstallationFile*( * LSLicenseHandler::getInstallFileEx) (struct LSLicenseHandler *self, struct LSLicenseID licenseID, const char *version, const char *channel, const char *env) |
Definition at line 48 of file LicenseHandler.h.
void( * LSLicenseHandler::sendDeviceData) (struct LSLicenseHandler *self, struct LSCustomField *data, int dataSize) |
Definition at line 50 of file LicenseHandler.h.
void( * LSLicenseHandler::syncConsumption) (struct LSLicenseHandler *self) |
Definition at line 51 of file LicenseHandler.h.
void( * LSLicenseHandler::syncFeatureConsumption) (struct LSLicenseHandler *self, const char *featureCode) |
Definition at line 52 of file LicenseHandler.h.
void( * LSLicenseHandler::registerFloatingLicense) (struct LSLicenseHandler *self) |
Definition at line 53 of file LicenseHandler.h.
void( * LSLicenseHandler::borrowFloatingLicense) (struct LSLicenseHandler *self, uint32_t hours, uint32_t days) |
Definition at line 54 of file LicenseHandler.h.
void( * LSLicenseHandler::borrowFloatingLicenseTill) (struct LSLicenseHandler *self, const char *borrowEndDateTime) |
Definition at line 55 of file LicenseHandler.h.
void( * LSLicenseHandler::releaseFloatingLicense) (struct LSLicenseHandler *self) |
Definition at line 56 of file LicenseHandler.h.
void( * LSLicenseHandler::registerFloatingFeature) (struct LSLicenseHandler *self, const char *featureCode, bool addToWatchdog) |
Definition at line 57 of file LicenseHandler.h.
void( * LSLicenseHandler::releaseFloatingFeature) (struct LSLicenseHandler *self, const char *featureCode) |
Definition at line 58 of file LicenseHandler.h.
const char*( * LSLicenseHandler::getAirGapActivationCode) (struct LSLicenseHandler *self, const char *initializationCode, const char *licenseKey) |
Definition at line 59 of file LicenseHandler.h.
const char*( * LSLicenseHandler::getAirGapDeactivationCode) (struct LSLicenseHandler *self, const char *initializationCode) |
Definition at line 60 of file LicenseHandler.h.
bool( * LSLicenseHandler::isInitialized) (struct LSLicenseHandler *self) |
Definition at line 64 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseExists) (struct LSLicenseHandler *self) |
Definition at line 65 of file LicenseHandler.h.
void( * LSLicenseHandler::updateConsumption) (struct LSLicenseHandler *self, int value, bool saveLicense) |
Definition at line 66 of file LicenseHandler.h.
void( * LSLicenseHandler::updateFeatureConsumption) (struct LSLicenseHandler *self, const char *featureCode, int value, bool saveLicense) |
Definition at line 67 of file LicenseHandler.h.
void( * LSLicenseHandler::checkLicenseLocal) (struct LSLicenseHandler *self) |
Definition at line 68 of file LicenseHandler.h.
void( * LSLicenseHandler::clearLocalStorage) (struct LSLicenseHandler *self) |
Definition at line 69 of file LicenseHandler.h.
void( * LSLicenseHandler::setupLicenseWatchdog) (struct LSLicenseHandler *self, LSWatchdogCallback callback, unsigned long timeout) |
Definition at line 70 of file LicenseHandler.h.
void( * LSLicenseHandler::resumeLicenseWatchdog) (struct LSLicenseHandler *self) |
Definition at line 71 of file LicenseHandler.h.
void( * LSLicenseHandler::stopLicenseWatchdog) (struct LSLicenseHandler *self) |
Definition at line 72 of file LicenseHandler.h.
void( * LSLicenseHandler::setupFeatureWatchdog) (struct LSLicenseHandler *self, LSWatchdogCallback callback, unsigned long timeout) |
Definition at line 73 of file LicenseHandler.h.
void( * LSLicenseHandler::resumeFeaturewatchdog) (struct LSLicenseHandler *self) |
Definition at line 74 of file LicenseHandler.h.
void( * LSLicenseHandler::stopFeatureWatchdog) (struct LSLicenseHandler *self) |
Definition at line 75 of file LicenseHandler.h.
void( * LSLicenseHandler::relinkLicense) (struct LSLicenseHandler *self, enum DeviceIDAlgorithm deviceIdAlgorithm, const char *userPassword) |
Definition at line 76 of file LicenseHandler.h.
const wchar_t*( * LSLicenseHandler::createOfflineActivationFile) (struct LSLicenseHandler *self, struct LSLicenseID licenseID, const wchar_t *activationRequestFile) |
Definition at line 80 of file LicenseHandler.h.
void( * LSLicenseHandler::activateLicenseOffline) (struct LSLicenseHandler *self, const wchar_t *activationResponseFile) |
Definition at line 81 of file LicenseHandler.h.
const wchar_t*( * LSLicenseHandler::deactivateLicenseOffline) (struct LSLicenseHandler *self, const wchar_t *deactivationRequestFile) |
Definition at line 82 of file LicenseHandler.h.
bool( * LSLicenseHandler::updateOffline) (struct LSLicenseHandler *self, const wchar_t *path, bool resetConsumption) |
Definition at line 83 of file LicenseHandler.h.
void( * LSLicenseHandler::activateAirGapLicense) (struct LSLicenseHandler *self, const char *confirmationCode, const wchar_t *policyFile, const char *licenseKey, unsigned long policyId) |
Definition at line 84 of file LicenseHandler.h.
void( * LSLicenseHandler::deactivateAirGapLicense) (struct LSLicenseHandler *self, const char *confirmationCode) |
Definition at line 85 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseValid) (struct LSLicenseHandler *self) |
Definition at line 89 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseTrial) (struct LSLicenseHandler *self) |
Definition at line 90 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseAirGapped) (struct LSLicenseHandler *self) |
Definition at line 91 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseActive) (struct LSLicenseHandler *self) |
Definition at line 92 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseEnabled) (struct LSLicenseHandler *self) |
Definition at line 93 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseExpired) (struct LSLicenseHandler *self) |
Definition at line 94 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseMaintenanceExpired) (struct LSLicenseHandler *self) |
Definition at line 95 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseOfflineActivated) (struct LSLicenseHandler *self) |
Definition at line 96 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseFloating) (struct LSLicenseHandler *self) |
Definition at line 97 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseBorrowed) (struct LSLicenseHandler *self) |
Definition at line 98 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseVMAllowed) (struct LSLicenseHandler *self) |
Definition at line 99 of file LicenseHandler.h.
bool( * LSLicenseHandler::isSubscriptionGracePeriodStarted) (struct LSLicenseHandler *self) |
Definition at line 100 of file LicenseHandler.h.
bool( * LSLicenseHandler::isGracePeriodStarted) (struct LSLicenseHandler *self) |
Definition at line 101 of file LicenseHandler.h.
int( * LSLicenseHandler::gracePeriodHoursRemaining) (struct LSLicenseHandler *self) |
Definition at line 102 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::gracePeriodEndDateTime) (struct LSLicenseHandler *self) |
Definition at line 103 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::gracePeriodEndDateTimeUTC) (struct LSLicenseHandler *self) |
Definition at line 104 of file LicenseHandler.h.
int( * LSLicenseHandler::getLicenseTrialPeriod) (struct LSLicenseHandler *self) |
Definition at line 105 of file LicenseHandler.h.
struct LSLicenseID( * LSLicenseHandler::getLicenseID) (struct LSLicenseHandler *self) |
Definition at line 107 of file LicenseHandler.h.
const char*( * LSLicenseHandler::getLicenseKey) (struct LSLicenseHandler *self) |
Definition at line 108 of file LicenseHandler.h.
const char*( * LSLicenseHandler::getLicenseUser) (struct LSLicenseHandler *self) |
Definition at line 109 of file LicenseHandler.h.
const char*( * LSLicenseHandler::getLicenseStatusStr) (struct LSLicenseHandler *self) |
Definition at line 110 of file LicenseHandler.h.
const char*( * LSLicenseHandler::getLicenseStartDate) (struct LSLicenseHandler *self) |
Definition at line 111 of file LicenseHandler.h.
const char*( * LSLicenseHandler::getLicenseMetadata) (struct LSLicenseHandler *self) |
Definition at line 112 of file LicenseHandler.h.
enum LSLicenseType( * LSLicenseHandler::getLicenseType) (struct LSLicenseHandler *self) |
Definition at line 113 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::getLicenseExpiryDate) (struct LSLicenseHandler *self) |
Definition at line 114 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::getLicenseExpiryDateUtc) (struct LSLicenseHandler *self) |
Definition at line 115 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::getLicenseMaintenancePeriod) (struct LSLicenseHandler *self) |
Definition at line 116 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::getLicenseMaintenancePeriodUtc) (struct LSLicenseHandler *self) |
Definition at line 117 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::getLicenseLastCheckDate) (struct LSLicenseHandler *self) |
Definition at line 118 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::getLicenseLastCheckDateUtc) (struct LSLicenseHandler *self) |
Definition at line 119 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::getLicenseFloatingEndDateTime) (struct LSLicenseHandler *self) |
Definition at line 120 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::getLicenseFloatingEndDateTimeUtc) (struct LSLicenseHandler *self) |
Definition at line 121 of file LicenseHandler.h.
int( * LSLicenseHandler::getDaysRemaining) (struct LSLicenseHandler *self) |
Definition at line 122 of file LicenseHandler.h.
int( * LSLicenseHandler::getMaintenanceDaysRemaining) (struct LSLicenseHandler *self) |
Definition at line 123 of file LicenseHandler.h.
int( * LSLicenseHandler::getDaysPassedSinceLastCheck) (struct LSLicenseHandler *self) |
Definition at line 124 of file LicenseHandler.h.
LSCustomer*( * LSLicenseHandler::getLicenseOwner) (struct LSLicenseHandler *self) |
Definition at line 125 of file LicenseHandler.h.
bool( * LSLicenseHandler::hasLicenseFeatures) (struct LSLicenseHandler *self) |
Definition at line 126 of file LicenseHandler.h.
struct LSLicenseFeature*( * LSLicenseHandler::getLicenseFeature) (struct LSLicenseHandler *self, const char *featureCode) |
Definition at line 127 of file LicenseHandler.h.
int( * LSLicenseHandler::getLicenseFeatures) (struct LSLicenseHandler *self, struct LSLicenseFeature *features) |
Definition at line 128 of file LicenseHandler.h.
bool( * LSLicenseHandler::hasLicenseCustomFields) (struct LSLicenseHandler *self) |
Definition at line 129 of file LicenseHandler.h.
int( * LSLicenseHandler::getLicenseCustomFields) (struct LSLicenseHandler *self, struct LSCustomField *fields) |
Definition at line 130 of file LicenseHandler.h.
unsigned long( * LSLicenseHandler::getLicenseTimesActivated) (struct LSLicenseHandler *self) |
Definition at line 131 of file LicenseHandler.h.
unsigned long( * LSLicenseHandler::getLicenseMaxActivations) (struct LSLicenseHandler *self) |
Definition at line 132 of file LicenseHandler.h.
unsigned long( * LSLicenseHandler::getLicenseTransferCount) (struct LSLicenseHandler *self) |
Definition at line 133 of file LicenseHandler.h.
int( * LSLicenseHandler::getLicenseTransferLimit) (struct LSLicenseHandler *self) |
Definition at line 134 of file LicenseHandler.h.
bool( * LSLicenseHandler::isDeviceTransferAllowed) (struct LSLicenseHandler *self) |
Definition at line 135 of file LicenseHandler.h.
bool( * LSLicenseHandler::isDeviceTransferLimited) (struct LSLicenseHandler *self) |
Definition at line 136 of file LicenseHandler.h.
unsigned long( * LSLicenseHandler::getLicensePolicyId) (struct LSLicenseHandler *self) |
Definition at line 137 of file LicenseHandler.h.
unsigned long( * LSLicenseHandler::getSubscriptionLicenseGracePeriod) (struct LSLicenseHandler *self) |
Definition at line 140 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::validityWithGracePeriod) (struct LSLicenseHandler *self) |
Definition at line 141 of file LicenseHandler.h.
struct tm( * LSLicenseHandler::validityWithGracePeriodUtc) (struct LSLicenseHandler *self) |
Definition at line 142 of file LicenseHandler.h.
int( * LSLicenseHandler::getLicenseTotalConsumption) (struct LSLicenseHandler *self) |
Definition at line 145 of file LicenseHandler.h.
int( * LSLicenseHandler::getLicenseMaxConsumption) (struct LSLicenseHandler *self) |
Definition at line 146 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseOveragesAllowed) (struct LSLicenseHandler *self) |
Definition at line 147 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseUnlimitedConsumptionAllowed) (struct LSLicenseHandler *self) |
Definition at line 148 of file LicenseHandler.h.
int( * LSLicenseHandler::getLicenseMaxOverages) (struct LSLicenseHandler *self) |
Definition at line 149 of file LicenseHandler.h.
bool( * LSLicenseHandler::isResetLicenseConsumptionEnabled) (struct LSLicenseHandler *self) |
Definition at line 150 of file LicenseHandler.h.
enum LSConsumptionPeriod( * LSLicenseHandler::getLicenseConsumptionPeriod) (struct LSLicenseHandler *self) |
Definition at line 151 of file LicenseHandler.h.
unsigned long( * LSLicenseHandler::getLicenseFloatingTimeout) (struct LSLicenseHandler *self) |
Definition at line 154 of file LicenseHandler.h.
unsigned long( * LSLicenseHandler::getLicenseFloatingInUseCount) (struct LSLicenseHandler *self) |
Definition at line 155 of file LicenseHandler.h.
unsigned long( * LSLicenseHandler::getLicenseMaxFloatingUsers) (struct LSLicenseHandler *self) |
Definition at line 156 of file LicenseHandler.h.
unsigned long(* LSLicenseHandler::getMaxBorrowTime) (struct LSLicenseHandler *self) |
Definition at line 157 of file LicenseHandler.h.
bool( * LSLicenseHandler::wasError) (struct LSLicenseHandler *self) |
Definition at line 161 of file LicenseHandler.h.
enum LSErrorCode( * LSLicenseHandler::getLastError) (struct LSLicenseHandler *self) |
Definition at line 162 of file LicenseHandler.h.
const char*( * LSLicenseHandler::getLastErrorMsg) (struct LSLicenseHandler *self) |
Definition at line 163 of file LicenseHandler.h.
bool( * LSLicenseHandler::isInitializationError) (struct LSLicenseHandler *self) |
Definition at line 164 of file LicenseHandler.h.
bool( * LSLicenseHandler::isInternalServerError) (struct LSLicenseHandler *self) |
Definition at line 165 of file LicenseHandler.h.
bool( * LSLicenseHandler::isNetworkTimeoutError) (struct LSLicenseHandler *self) |
Definition at line 166 of file LicenseHandler.h.
bool( * LSLicenseHandler::isNoInternetError) (struct LSLicenseHandler *self) |
Definition at line 167 of file LicenseHandler.h.
bool( * LSLicenseHandler::isActivationFailed) (struct LSLicenseHandler *self) |
Definition at line 168 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseExpiredError) (struct LSLicenseHandler *self) |
Definition at line 169 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseNotFoundError) (struct LSLicenseHandler *self) |
Definition at line 170 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseStateError) (struct LSLicenseHandler *self) |
Definition at line 171 of file LicenseHandler.h.
bool( * LSLicenseHandler::isHardwareIDError) (struct LSLicenseHandler *self) |
Definition at line 172 of file LicenseHandler.h.
bool( * LSLicenseHandler::isGeneralError) (struct LSLicenseHandler *self) |
Definition at line 173 of file LicenseHandler.h.
bool( * LSLicenseHandler::isLicenseFeatureError) (struct LSLicenseHandler *self) |
Definition at line 174 of file LicenseHandler.h.
bool( * LSLicenseHandler::canIgnoreError) (struct LSLicenseHandler *self) |
Definition at line 175 of file LicenseHandler.h.
void* LSLicenseHandler::inner |
Definition at line 178 of file LicenseHandler.h.
struct LSConfiguration* LSLicenseHandler::currentConfig |
Definition at line 180 of file LicenseHandler.h.