Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
bw_request now works
[simgrid.git] / include / gras.h
index 39fd95d..17dffb2 100644 (file)
@@ -2,57 +2,24 @@
 
 /* gras.h - Public interface to the GRAS                                    */
 
-/* Authors: Martin Quinson                                                  */
-/* Copyright (C) 2003 the OURAGAN project.                                  */
+/* Copyright (c) 2003, 2004 Martin Quinson. 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
 
-/* Oli's macro */
-#ifndef GS_FAILURE_CONTEXT
-#  define GS_FAILURE_CONTEXT
-#endif /* GS_FAILURE_CONTEXT */
+#include <xbt.h> /* our toolbox */
 
-#define GS_FAILURE(str) \
-     (fprintf(stderr, "FAILURE: %s(%s:%d)" GS_FAILURE_CONTEXT "%s\n", __func__, __FILE__, __LINE__, (str)), \
-      abort())
-
-#define max(a, b) (((a) > (b))?(a):(b))
-#define min(a, b) (((a) < (b))?(a):(b))
-
-#define TRUE  1
-#define FALSE 0
-
-/* end of Oli's cruft */
-
-#include <gras/error.h>
-#include <gras/log.h>
-
-#include <gras/module.h>
-
-#include <gras/dynar.h>
-#include <gras/dict.h>
-#include <gras/set.h>
-
-#include <gras/config.h>
-
-#include <gras/core.h>
+#include <gras/core.h> /* FIXME: killme */
 #include <gras/process.h>
-
+#include <gras/virtu.h>
+#include <gras/emul.h>
 
 #include <gras/transport.h>
 #include <gras/datadesc.h>
-//#include <gras/datadesc_simple.h>
-#include <gras/socket.h>
 #include <gras/messages.h>
-
-#include <gras/data_description.h>
-#include <gras/dd_type_bag.h>
-
-#include <gras/modules/base.h>
-#include <gras/modules/bandwidth.h>
+#include <gras/timer.h>
 
 #endif /* GRAS_H */