#ifndef __c47_diffserv_model_h__
#define __c47_diffserv_model_h__

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

/* Type Definitions */
#ifndef typedef_SFc47_diffserv_modelInstanceStruct
#define typedef_SFc47_diffserv_modelInstanceStruct

typedef struct {
  SimStruct *S;
  ChartInfoStruct chartInfo;
  uint32_T chartNumber;
  uint32_T instanceNumber;
  int32_T c47_sfEvent;
  boolean_T c47_isStable;
  boolean_T c47_doneDoubleBufferReInit;
  uint8_T c47_is_active_c47_diffserv_model;
  real_T c47_Q2_length;
} SFc47_diffserv_modelInstanceStruct;

#endif                                 /*typedef_SFc47_diffserv_modelInstanceStruct*/

/* Named Constants */

/* Variable Declarations */

/* Variable Definitions */

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

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

#endif
