| LicenseSpring C++ SDK 7.32.0 Easily add Software Licensing to your application

Loading...
Searching...
No Matches
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
6#ifdef __cplusplus
7 extern "C" {
8#endif
9
10 LS_API typedef struct LSLicenseID
11 {
12 const char* key;
13 const char* user;
14 const char* password;
15 } LSLicenseID;
16
17 LS_API LSLicenseID CreateLicenseIDfromKey( const char* licenseKey );
18 LS_API LSLicenseID CreateLicenseIDfromUser( const char* user, const char* password );
19
20#ifdef __cplusplus
21} // end extern "C"
22#endif
23
24#endif // LS_C_LICENSE_ID_H
APIDef.h
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
CreateLicenseIDfromKey
LS_API LSLicenseID CreateLicenseIDfromKey(const char *licenseKey)
CreateLicenseIDfromUser
LS_API LSLicenseID CreateLicenseIDfromUser(const char *user, const char *password)
LSLicenseID
LS_API struct LSLicenseID LSLicenseID
LSLicenseID
Definition LicenseID.h:11
LSLicenseID::password
const char * password
Definition LicenseID.h:14
LSLicenseID::key
const char * key
Definition LicenseID.h:12
LSLicenseID::user
const char * user
Definition LicenseID.h:13