- xbt_cfg_set_string(_surf_cfg_set, "workstation_model", "CLM03");
- xbt_cfg_set_string(_surf_cfg_set, "cpu_model", "Cas01");
- xbt_cfg_set_string(_surf_cfg_set, "network_model", "CM02");
-
- xbt_cfg_register(_surf_cfg_set,"TCP_gamma","Size of the biggest TCP window",1,1,
- xbt_cfgelm_double,_surf_cfg_cb__tcp_gamma,NULL);
- xbt_cfg_set_double(_surf_cfg_set, "TCP_gamma", 20000.0);
+ double default_TCP_GAMMA = 20000.0;
+ xbt_cfg_register(&_surf_cfg_set,"TCP_gamma","Size of the biggest TCP window",
+ xbt_cfgelm_double,&default_TCP_GAMMA,1,1,_surf_cfg_cb__tcp_gamma,NULL);