#ifndef __c2_main_h__
#define __c2_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 struct_sKtWNgXb9c99UqYJaA6MzR
#define struct_sKtWNgXb9c99UqYJaA6MzR

struct sKtWNgXb9c99UqYJaA6MzR
{
  real_T n[12];
  real_T lat[12];
  real_T lon[12];
  real_T alt[12];
  real_T trajectory[12];
  real_T ok[12];
};

#endif                                 /*struct_sKtWNgXb9c99UqYJaA6MzR*/

#ifndef typedef_c2_sKtWNgXb9c99UqYJaA6MzR
#define typedef_c2_sKtWNgXb9c99UqYJaA6MzR

typedef struct sKtWNgXb9c99UqYJaA6MzR c2_sKtWNgXb9c99UqYJaA6MzR;

#endif                                 /*typedef_c2_sKtWNgXb9c99UqYJaA6MzR*/

#ifndef typedef_SFc2_mainInstanceStruct
#define typedef_SFc2_mainInstanceStruct

typedef struct {
  SimStruct *S;
  ChartInfoStruct chartInfo;
  uint32_T chartNumber;
  uint32_T instanceNumber;
  int32_T c2_sfEvent;
  boolean_T c2_isStable;
  boolean_T c2_doneDoubleBufferReInit;
  uint8_T c2_is_active_c2_main;
} SFc2_mainInstanceStruct;

#endif                                 /*typedef_SFc2_mainInstanceStruct*/

/* Named Constants */

/* Variable Declarations */

/* Variable Definitions */

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

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

#endif
