LicenseSpring C++ SDK
Easily add Software Licensing to your application
LicenseID.h
Go to the documentation of this file.
1
#ifndef LS_C_LICENSE_ID_H
2
#define LS_C_LICENSE_ID_H
3
4
#include "../APIDef.h"
5
#include <stdint.h>
6
7
#ifdef __cplusplus
8
extern
"C"
{
9
#endif
10
11
LS_API
typedef
struct
LSLicenseID
12
{
13
const
char
*
key
;
14
const
char
*
user
;
15
const
char
*
password
;
16
uint64_t
serverId
;
17
}
LSLicenseID
;
18
19
LS_API
LSLicenseID
CreateLicenseIDfromKey
(
const
char
* licenseKey );
20
LS_API
LSLicenseID
CreateLicenseIDfromUser
(
const
char
* user,
const
char
* password );
21
LS_API
LSLicenseID
CreateLicenseIDfromUserServerId
(
const
char
* user, uint64_t serverId,
const
char
* password );
22
23
#ifdef __cplusplus
24
}
// end extern "C"
25
#endif
26
27
#endif // LS_C_LICENSE_ID_H
CreateLicenseIDfromUserServerId
LS_API LSLicenseID CreateLicenseIDfromUserServerId(const char *user, uint64_t serverId, const char *password)
LSLicenseID::key
const char * key
Definition:
LicenseID.h:13
CreateLicenseIDfromKey
LS_API LSLicenseID CreateLicenseIDfromKey(const char *licenseKey)
CreateLicenseIDfromUser
LS_API LSLicenseID CreateLicenseIDfromUser(const char *user, const char *password)
LSLicenseID::serverId
uint64_t serverId
Definition:
LicenseID.h:16
LS_API
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
Definition:
APIDef.h:22
LSLicenseID
Definition:
LicenseID.h:11
LSLicenseID::user
const char * user
Definition:
LicenseID.h:14
LSLicenseID::password
const char * password
Definition:
LicenseID.h:15
LSLicenseID
LS_API struct LSLicenseID LSLicenseID
LicenseSpring
C-interface
LicenseID.h
Generated by
1.8.17