#ifndef __c5_main_h__
#define __c5_main_h__

/* Include files */
#include "sf_runtime/sfc_sf.h"
#include "sf_runtime/sfc_mex.h"
#include "rtwtypes.h"
#include "multiword_types.h"

/* Type Definitions */
#ifndef typedef_SFc5_mainInstanceStruct
#define typedef_SFc5_mainInstanceStruct

typedef struct {
  SimStruct *S;
  ChartInfoStruct chartInfo;
  uint32_T chartNumber;
  uint32_T instanceNumber;
  int32_T c5_sfEvent;
  boolean_T c5_isStable;
  boolean_T c5_doneDoubleBufferReInit;
  uint8_T c5_is_active_c5_main;
} SFc5_mainInstanceStruct;

#endif                                 /*typedef_SFc5_mainInstanceStruct*/

/* Named Constants */

/* Variable Declarations */

/* Variable Definitions */

/* Function Declarations */
extern const mxArray *sf_c5_main_get_eml_resolved_functions_info(void);

/* Function Definitions */
extern void sf_c5_main_get_check_sum(mxArray *plhs[]);
extern void c5_main_method_dispatcher(SimStruct *S, int_T method, void *data);

#endif
