#ifndef __FMI1_CS_H__ #define __FMI1_CS_H__ #ifdef __cplusplus extern "C" { #endif typedef struct { char *name; long vr; } FMIL_Variable; __declspec(dllexport) void* FMI1_CS_LOAD(const char *zipFilePath, const char *unzipFolder); __declspec(dllexport) int FMI1_CS_UNLOAD(void* fmu); __declspec(dllexport) FMIL_Variable *FMI1_CS_GET_VARIABLES(void* fmu, int *count); __declspec(dllexport) int FMI1_CS_INSTANTIATE(void* fmu); __declspec(dllexport) int FMI1_CS_INITIALIZE(void* fmu); __declspec(dllexport) int FMI1_CS_STEP(void* fmu, double masterTime, double stepSize); __declspec(dllexport) double FMI1_CS_SET_REAL(void* fmu, int vr, double value); __declspec(dllexport) int FMI1_CS_GET_REALS(void* fmu, int *vrs, double *values, int count); __declspec(dllexport) double FMI1_CS_GET_REAL(void* fmu, int vr); #ifdef __cplusplus } #endif #endif