#ifndef __EVENTS__
#define __EVENTS__

#include "vegas.h"
#include "strfun.h"

extern void generateEvents (vegasGrid * vegPtr, int init,
	       double (*func) (double *, double), char *fname, FILE * iprt);
extern int saveEventMax (FILE * f);
extern int readEventMax (FILE * f);

int saveEventSettings (FILE * f);
int readEventSettings (FILE * f);

extern void Str_recopy (char *out, char *in);
extern Str_fun_Info *strfun_init (void);
#endif
