Пример #1
0
void ETag_surfxml_storage(void)
{
  s_sg_platf_storage_cbarg_t storage;
  memset(&storage,0,sizeof(storage));

  storage.id = A_surfxml_storage_id;
  storage.type_id = A_surfxml_storage_typeId;
  storage.content = A_surfxml_storage_content;
  storage.content_type = A_surfxml_storage_content___type;
  storage.properties = current_property_set;
  sg_platf_new_storage(&storage);
  current_property_set = NULL;
}
Пример #2
0
void ETag_surfxml_storage(void)
{
  s_sg_platf_storage_cbarg_t storage = SG_PLATF_STORAGE_INITIALIZER;
  memset(&storage,0,sizeof(storage));

  storage.id           = A_surfxml_storage_id;
  storage.type_id      = A_surfxml_storage_typeId;
  storage.content      = A_surfxml_storage_content;
  storage.content_type = A_surfxml_storage_content___type;
  storage.properties   = current_property_set;
  storage.attach       = A_surfxml_storage_attach;
  sg_platf_new_storage(&storage);
  current_property_set = NULL;
}
Пример #3
0
void ETag_surfxml_storage()
{
  simgrid::kernel::routing::StorageCreationArgs storage;

  storage.properties   = current_property_set;
  current_property_set = nullptr;

  storage.id           = A_surfxml_storage_id;
  storage.type_id      = A_surfxml_storage_typeId;
  storage.content      = A_surfxml_storage_content;
  storage.attach       = A_surfxml_storage_attach;

  sg_platf_new_storage(&storage);
}