Gabriele Contini
2019-09-19 dfddf5294677407c3a01b3a13c8348f02fe993ee
src/library/api/datatypes.h
@@ -1,17 +1,15 @@
#ifndef DATATYPES_H_
#define DATATYPES_H_
/*
 * This include file is the public api di License++
 * You should include this file if your software don't plan to use
 * the part of the library dealing with features.
 * Otherwise licensepp-features.h should be included.
 */
#ifdef __cplusplus
extern "C" {
#endif
//definition of size_t
#include <stdlib.h>
#ifndef _MSC_VER
#include <stdbool.h>
#endif
#ifdef __unix__
#define DllExport
@@ -24,8 +22,8 @@
#define PC_IDENTIFIER_SIZE 18
#define PROPRIETARY_DATA_SIZE 16
#define LICENESE_INT_VERSION 100
#define LICENSEPP_VERSION "1.0.0"
#define LICENESE_INT_VERSION 110
#define LICENSEPP_VERSION "1.1.0"
typedef enum {
   LICENSE_OK = 0,                   //OK
@@ -61,7 +59,8 @@
typedef struct {
   const char *licenseFileLocation;
   const char *environmentVariableName;bool openFileNearModule;
   const char *environmentVariableName;
   bool openFileNearModule;
} LicenseLocation;
typedef struct {