![]() |
LicenseSpring C++ SDK
Easily add Software Licensing to your application
|
#include "../APIDef.h"
#include "../PODTypes.h"
#include <stdbool.h>
#include <wchar.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | LSProxySettings |
struct | LSHardwareKeySerialList |
Structure to hold a list of strings (serial numbers). More... | |
struct | LSHardwareKeyOptions |
C-interface struct mirroring LicenseSpring::HardwareKeyOptions. More... | |
struct | LSExtendedOptions |
Typedefs | |
typedef LS_API struct LSProxySettings | LSProxySettings |
typedef LS_API struct LSHardwareKeySerialList | LSSerialList |
Structure to hold a list of strings (serial numbers). | |
typedef LS_API struct LSHardwareKeyOptions | LSHardwareKeyOptions |
C-interface struct mirroring LicenseSpring::HardwareKeyOptions. | |
typedef LS_API struct LSExtendedOptions | LSExtendedOptions |
Functions | |
LS_API LSProxySettings * | CreateLSProxySettings (const char *proxy, const char *user, const char *password) |
LS_API void | FreeLSProxySettings (LSProxySettings *settings) |
LS_API void | FreeLSSerialList (LSSerialList *list) |
Frees the memory allocated for an LSSerialList structure. | |
LS_API LSHardwareKeyOptions * | CreateLSHardwareKeyOptions () |
Creates a new LSHardwareKeyOptions object. | |
LS_API void | FreeLSHardwareKeyOptions (LSHardwareKeyOptions *options) |
Frees the memory associated with an LSHardwareKeyOptions object. | |
LS_API LSSerialList | ListAvailableHardwareKeys () |
Lists the serial numbers of all connected YubiKeys with PIV support. | |
LS_API LSExtendedOptions * | CreateLSExtendedOptions () |
LS_API LSExtendedOptions * | CreateLSExtendedOptionsByPath (const wchar_t *licenseFilePath) |
LS_API LSExtendedOptions * | CreateLSExtendedOptionsEx (const wchar_t *licenseFilePath, const char *hardwareID, const LSProxySettings *proxy) |
LS_API void | FreeLSExtendedOptions (LSExtendedOptions *options) |
typedef LS_API struct LSProxySettings LSProxySettings |
typedef LS_API struct LSHardwareKeySerialList LSSerialList |
Structure to hold a list of strings (serial numbers).
Returned by ListAvailableHardwareKeys. Must be freed using FreeLSSerialList.
typedef LS_API struct LSHardwareKeyOptions LSHardwareKeyOptions |
C-interface struct mirroring LicenseSpring::HardwareKeyOptions.
typedef LS_API struct LSExtendedOptions LSExtendedOptions |
LS_API LSProxySettings * CreateLSProxySettings | ( | const char * | proxy, |
const char * | user, | ||
const char * | password | ||
) |
LS_API void FreeLSProxySettings | ( | LSProxySettings * | settings | ) |
LS_API void FreeLSSerialList | ( | LSSerialList * | list | ) |
Frees the memory allocated for an LSSerialList structure.
list | Pointer to the LSSerialList returned by ListAvailableHardwareKeys. |
LS_API LSHardwareKeyOptions * CreateLSHardwareKeyOptions | ( | ) |
Creates a new LSHardwareKeyOptions object.
LS_API void FreeLSHardwareKeyOptions | ( | LSHardwareKeyOptions * | options | ) |
Frees the memory associated with an LSHardwareKeyOptions object.
options | Pointer to the object created by CreateLSHardwareKeyOptions. |
LS_API LSSerialList ListAvailableHardwareKeys | ( | ) |
Lists the serial numbers of all connected YubiKeys with PIV support.
Corresponds to the static C++ method HardwareKeyOptions::ListAvailableKeys.
LS_API LSExtendedOptions * CreateLSExtendedOptions | ( | ) |
LS_API LSExtendedOptions * CreateLSExtendedOptionsByPath | ( | const wchar_t * | licenseFilePath | ) |
LS_API LSExtendedOptions * CreateLSExtendedOptionsEx | ( | const wchar_t * | licenseFilePath, |
const char * | hardwareID, | ||
const LSProxySettings * | proxy | ||
) |
LS_API void FreeLSExtendedOptions | ( | LSExtendedOptions * | options | ) |