#ifndef __c2_Master_h__
#define __c2_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 *c2_setSimStateSideEffectsInfo;
  void *c2_testPointAddrMap[2];
  uint32_T chartNumber;
  uint32_T instanceNumber;
  uint8_T c2_doSetSimStateSideEffects;
  uint8_T c2_is_active_c2_Master;
  uint8_T c2_is_c2_Master;
  uint8_T c2_temporalCounter_i1;
  uint8_T c2_tp_Off;
  uint8_T c2_tp_On;
  ChartInfoStruct chartInfo;
  rtwCAPI_ModelMappingInfo c2_testPointMappingInfo;
} SFc2_MasterInstanceStruct;

/* Named Constants */

/* Variable Declarations */

/* Variable Definitions */

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

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

#endif
