From f72612aed2b9ec147b5e60a53c9e13b94aa71cdb Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Wed, 15 May 2019 16:44:04 +0200 Subject: compiled with Lustre v4 --- .../lustrev4_lv4_heater_control/heater_control.h | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 test/monniaux/lustrev4_lv4_heater_control/heater_control.h (limited to 'test/monniaux/lustrev4_lv4_heater_control/heater_control.h') diff --git a/test/monniaux/lustrev4_lv4_heater_control/heater_control.h b/test/monniaux/lustrev4_lv4_heater_control/heater_control.h new file mode 100644 index 00000000..64be774b --- /dev/null +++ b/test/monniaux/lustrev4_lv4_heater_control/heater_control.h @@ -0,0 +1,47 @@ +/******** +* ec2c version 0.67 +* context method = HEAP +* ext call method = PROCEDURES +* c header file generated for node : heater_control +* to be used with : heater_control.c +********/ +#ifndef _heater_control_EC2C_H_FILE +#define _heater_control_EC2C_H_FILE +/*-------- Predefined types ---------*/ +#ifndef _EC2C_PREDEF_TYPES +#define _EC2C_PREDEF_TYPES +typedef int _boolean; +typedef int _integer; +typedef char* _string; +typedef double _real; +typedef double _double; +typedef float _float; +#define _false 0 +#define _true 1 +#endif +/*--------- Pragmas ----------------*/ +//MODULE: heater_control 4 1 +//IN: _real T +//IN: _real T1 +//IN: _real T2 +//IN: _real T3 +//OUT: _boolean Heat_on +#ifndef _heater_control_EC2C_SRC_FILE +/*--------Context type -------------*/ +struct heater_control_ctx; +/*-------- Input procedures -------------*/ +extern void heater_control_I_T(struct heater_control_ctx* ctx, _real); +extern void heater_control_I_T1(struct heater_control_ctx* ctx, _real); +extern void heater_control_I_T2(struct heater_control_ctx* ctx, _real); +extern void heater_control_I_T3(struct heater_control_ctx* ctx, _real); +/*-------- Reset procedure -----------*/ +extern void heater_control_reset(struct heater_control_ctx* ctx); +/*--------Context copy -------------*/ +extern void heater_control_copy_ctx(struct heater_control_ctx* dest, struct +heater_control_ctx* src); +/*--------Context allocation --------*/ +extern struct heater_control_ctx* heater_control_new_ctx(void* client_data); +/*-------- Step procedure -----------*/ +extern void heater_control_step(struct heater_control_ctx* ctx); +#endif +#endif -- cgit