X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/782a240a6fb5d89809907de92573e779666f3cad..ab9a2d2c7dca2b08750d70ef5769fc2c14350ab6:/src/include/simgrid/sg_config.h diff --git a/src/include/simgrid/sg_config.h b/src/include/simgrid/sg_config.h index 7d8410e3c4..588ac419a5 100644 --- a/src/include/simgrid/sg_config.h +++ b/src/include/simgrid/sg_config.h @@ -1,28 +1,23 @@ -/* Copyright (c) 2012-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2012-2017. 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. */ -#include "xbt/config.h" +#ifndef SIMGRID_CONFIG_H +#define SIMGRID_CONFIG_H -/*******************************************/ -/*** Config Globals **************************/ -/*******************************************/ +#include "xbt/config.h" +/** Config Globals */ SG_BEGIN_DECL() -XBT_PUBLIC_DATA(xbt_cfg_t) _sg_cfg_set; +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(int) sg_cfg_is_default_value(const char* name); -XBT_PUBLIC(int) sg_cfg_get_int(const char* name); -XBT_PUBLIC(double) sg_cfg_get_double(const char* name); -XBT_PUBLIC(char*) sg_cfg_get_string(const char* name); -XBT_PUBLIC(int) sg_cfg_get_boolean(const char* name); -XBT_PUBLIC(xbt_dynar_t) sg_cfg_get_dynar(const char* name); XBT_PUBLIC(void) sg_config_init(int *argc, char **argv); -XBT_PUBLIC(void) sg_config_finalize(void); +XBT_PUBLIC(void) sg_config_finalize(); SG_END_DECL() + +#endif \ No newline at end of file