#ifndef __c3_Master_h__
#define __c3_Master_h__

/* Include files */
#include "sfc_sf.h"
#include "sfc_mex.h"
#include "rtwtypes.h"
#include "rtw_capi.h"
#include "rtw_modelmap.h"

/* Type Definitions */
typedef struct {
  SimStruct *S;
  const mxArray *c3_setSimStateSideEffectsInfo;
  void *c3_testPointAddrMap[4];
  uint32_T chartNumber;
  uint32_T instanceNumber;
  uint8_T c3_doSetSimStateSideEffects;
  uint8_T c3_is_active_c3_Master;
  uint8_T c3_is_c3_Master;
  uint8_T c3_temporalCounter_i1;
  uint8_T c3_tp_off;
  uint8_T c3_tp_on;
  uint8_T c3_tp_wait;
  uint8_T c3_tp_wait1;
  ChartInfoStruct chartInfo;
  rtwCAPI_ModelMappingInfo c3_testPointMappingInfo;
} SFc3_MasterInstanceStruct;

/* Named Constants */

/* Variable Declarations */

/* Variable Definitions */

/* Function Declarations */
const mxArray *sf_c3_Master_get_eml_resolved_functions_info(void);

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

#endif
