Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ignore cruft
[simgrid.git] / doc / gtut-files / 09-datatype-dump.c
1 #include <gras.h>
2 #include <stdio.h>
3
4 /* We must set this to make logging mecanism happy */
5 extern const char *_gras_procname;
6
7 /* This is a private data of gras/Datadesc we want to explore */
8 xbt_set_t gras_datadesc_set_local=NULL;
9
10 int main(int argc, char *argv[]) {
11   xbt_set_elm_t elm;
12   xbt_set_cursor_t cursor;
13   gras_init(&argc,argv);
14    
15   xbt_set_foreach(gras_datadesc_set_local, cursor, elm) {
16      printf("%s\n",elm->name);
17   }
18    
19    
20   gras_exit();
21   return 0;
22 }