-/* Copyright (c) 2008, 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2008-2013. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
int route_size, i, j, k;
int list_size;
+#ifdef _XBT_WIN32
+ setbuf(stderr, NULL);
+ setbuf(stdout, NULL);
+#else
setvbuf(stdout, NULL, _IOLBF, 0);
+#endif
SD_init(&argc, argv);
}
}
}
+ if (!strcmp(argv[2], "PROP")) {
+ printf("SG_TEST_mem: %s\n",
+ SD_workstation_get_property_value(SD_workstation_get_by_name("host1"),
+ "SG_TEST_mem")
+ );
+ printf("Author: %s\n", SD_as_router_get_property_value("AS0", "author"));
+ printf("AS1: %s\n", SD_as_router_get_property_value("AS1", "name"));
+ printf("AS2: %s\n", SD_as_router_get_property_value("AS2", "name"));
+ }
}
SD_exit();