X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c91b68ade95e42efb7a24f19fb5228bee0b618d0..187ba0c05f9fbe51175179b9f637b6554f947468:/doc/gtut-files/09-datatype-dump.c diff --git a/doc/gtut-files/09-datatype-dump.c b/doc/gtut-files/09-datatype-dump.c deleted file mode 100644 index 8124064647..0000000000 --- a/doc/gtut-files/09-datatype-dump.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright (c) 2006, 2010. 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 -#include - -/* We must set this to make logging mecanism happy */ -extern const char *_gras_procname; - -/* This is a private data of gras/Datadesc we want to explore */ -xbt_set_t gras_datadesc_set_local = NULL; - -int main(int argc, char *argv[]) -{ - xbt_set_elm_t elm; - xbt_set_cursor_t cursor; - gras_init(&argc, argv); - - xbt_set_foreach(gras_datadesc_set_local, cursor, elm) { - printf("%s\n", elm->name); - } - - - gras_exit(); - return 0; -}