gcontini
2019-09-21 0ec4d68600b83d41d2e48ad35d18e2a00f234619
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
@@ -49,7 +47,7 @@
} LICENSE_TYPE;
typedef enum {
   INFO, SEVERITY_WARN, SEVERITY_ERROR
   SVRT_INFO, SVRT_WARN, SVRT_ERROR
} SEVERITY;
typedef struct {
@@ -61,7 +59,8 @@
typedef struct {
   const char *licenseFileLocation;
   const char *environmentVariableName;bool openFileNearModule;
   const char *environmentVariableName;
   bool openFileNearModule;
} LicenseLocation;
typedef struct {