static random_data_t random_latency = NULL;
static int host_number_int = 0;
-static void netcste_count_hosts(void)
+static void netcste_count_hosts(surf_parsing_host_arg_t h)
{
host_number_int++;
}
static void netcste_define_callbacks(void)
{
- surfxml_add_callback(STag_surfxml_host_cb_list, &netcste_count_hosts);
+ surf_parse_host_add_cb(netcste_count_hosts);
}
static int netcste_resource_used(void *resource_id)