typedef struct
{ double y0,y1;} y0y1type;

typedef struct
{ float x,y;} xytype;

typedef struct
{ int win,cur;} wctype;

typedef struct
{ double x0,x1;} x0x1type;

typedef struct
{ 
	int no_windows;
	int *lines;         /* variables per window */
	int nhv;
	int nlag;
	int nsw;
	int fileno;
	int *fout;
	long hbsize;
	wctype *index; /* window and curve for state variable */
	char **label;
	char **cname;
	char **wname;
	char *initialtext;
	char *initialtitle;
	char **cinfo;
	char *xlabel;/* labels for state variables and constants*/
	y0y1type *range; /* y-range for [window] */
	double t0;
	double t1;
	double dt;
	double dout;
	double *c;
	double tol;
} usercontrol;

void initcons(int * no_vars,int *no_cons);
void initout(usercontrol *out);
void initialstate(double *s, double *c, double t);