Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
partial revert of e16e0233
[simgrid.git] / include / xbt.h
index 57243f4..20815aa 100644 (file)
@@ -1,35 +1,32 @@
-/* $Id$ */
+/* xbt.h - Public interface to the xbt (SimGrid's toolbox)                  */
 
-/* xbt.h - Public interface to the xbt (gras's toolbox)                   */
-
-/* Authors: Martin Quinson                                                  */
-/* Copyright (C) 2004 the OURAGAN project.                                  */
+/* Copyright (c) 2004-2019. 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. */
-
-#ifndef xbt_H
-#define xbt_H
-
-#define max(a, b) (((a) > (b))?(a):(b))
-#define min(a, b) (((a) < (b))?(a):(b))
+ * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#define TRUE  1
-#define FALSE 0
-
-#define XBT_MAX_CHANNEL 10 /* FIXME: killme */
+#ifndef XBT_H
+#define XBT_H
 
+#include <xbt/misc.h>
 #include <xbt/sysdep.h>
+#include <xbt/str.h>
+#include <xbt/function_types.h>
 
-#include <xbt/error.h>
+#include <xbt/asserts.h>
 #include <xbt/log.h>
 
 #include <xbt/module.h>
 
 #include <xbt/dynar.h>
 #include <xbt/dict.h>
-#include <xbt/set.h>
 
 #include <xbt/config.h>
+#ifdef __cplusplus
+#include <xbt/config.hpp>
+#endif
+
+#include <xbt/xbt_os_time.h>
 
-#endif /* xbt_H */
+#endif /* XBT_H */