Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename sg_config.h -> sg_config.hpp.
[simgrid.git] / src / include / simgrid / sg_config.hpp
diff --git a/src/include/simgrid/sg_config.hpp b/src/include/simgrid/sg_config.hpp
new file mode 100644 (file)
index 0000000..a11602f
--- /dev/null
@@ -0,0 +1,21 @@
+/* Copyright (c) 2012-2018. 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 SIMGRID_CONFIG_HPP
+#define SIMGRID_CONFIG_HPP
+
+#include "xbt/config.h"
+#include "xbt/config.hpp"
+
+/** Config Globals */
+
+XBT_PUBLIC_DATA xbt_cfg_t simgrid_config;
+XBT_PUBLIC_DATA int _sg_cfg_init_status;
+XBT_PUBLIC_DATA int _sg_cfg_exit_asap;
+
+XBT_PUBLIC void sg_config_init(int* argc, char** argv);
+XBT_PUBLIC void sg_config_finalize();
+
+#endif