/usr/include/scilab/scicos-def.h is in scilab-include 5.5.2-4+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /* Copyright INRIA */
/* Allan CORNET 2006 */
#ifndef SCICOS_DEF
#define SCICOS_DEF
#if _LCC_ & FORDLL
#define IMPORT __declspec (dllimport)
#else
#ifdef SCICOS_EXPORTS
#define IMPORT_SCICOS
#else
#ifdef FORDLL
#define IMPORT_SCICOS extern __declspec (dllimport)
#else
#define IMPORT_SCICOS
#endif
#endif
#endif
typedef struct
{
int counter;
} COSDEBUGCOUNTER_struct;
typedef struct
{
int solver;
} SOLVER_struct;
typedef struct
{
int kfun;
} CURBLK_struct;
typedef struct
{
double scale;
} RTFACTOR_struct;
typedef struct
{
int ptr;
} SCSPTR_struct;
typedef struct
{
int idb;
} DBCOS_struct;
typedef struct
{
double atol, rtol, ttol, deltat;
} COSTOL_struct;
/*!
* \brief Storage for the halt flag.
*/
typedef struct
{
/*!
* \brief halt the simulation flag
* \a 0 is used to continue the simulation
* \a 1 is used to halt the simulation
* \a 2 is used to switch to the final time then halt the simulation
*/
int halt;
} COSHLT_struct;
typedef struct
{
int cosd;
} COSDEBUG_struct;
#define COSERR_len 4096
typedef struct
{
char buf[COSERR_len];
} COSERR_struct;
typedef struct
{
int isrun;
} COSIM_struct;
#endif /*SCICOS_DEF*/
|