X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b1acf7fe2f1886e9adcb4313f53548c9995a906c..211acce5bb9cf1a60e14cab26b54367028474d79:/include/gras.h diff --git a/include/gras.h b/include/gras.h index ce3f387be9..5e1f08369a 100644 --- a/include/gras.h +++ b/include/gras.h @@ -1,45 +1,28 @@ -/* $Id$ */ - /* gras.h - Public interface to the GRAS */ -/* Authors: Martin Quinson */ -/* Copyright (C) 2003 the OURAGAN project. */ +/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it - under the terms of the license (GNU LGPL) which comes with this package. */ + * under the terms of the license (GNU LGPL) which comes with this package. */ #ifndef GRAS_H #define GRAS_H -#define max(a, b) (((a) > (b))?(a):(b)) -#define min(a, b) (((a) < (b))?(a):(b)) - -#define TRUE 1 -#define FALSE 0 - -#define GRAS_MAX_CHANNEL 10 /* FIXME: killme */ +#include /* our toolbox */ +#include /* There's a whole bunch of exception handling in GRAS */ -#include -#include - -#include - -#include -#include -#include - -#include - -#include /* FIXME: killme */ #include +#include #include -#include +#include #include #include #include +#include -#include -#include +XBT_PUBLIC(void) gras_init(int *argc, char **argv); +XBT_PUBLIC(void) gras_exit(void); -#endif /* GRAS_H */ +#endif /* GRAS_H */