- struct twimap* map;
- map = twimap_create(NULL);
- map->read = __read_pending_sig;
- taskfs_export_attr("sig_pending", map);
-
- map = twimap_create(NULL);
- map->read = __read_masked_sig;
- taskfs_export_attr("sig_masked", map);
-
- map = twimap_create(NULL);
- map->read = __read_parent;
- taskfs_export_attr("parent", map);
-
- map = twimap_create(NULL);
- map->read = __read_ctimestamp;
- taskfs_export_attr("created", map);
-
- map = twimap_create(NULL);
- map->read = __read_pgid;
- taskfs_export_attr("pgid", map);
-
- map = twimap_create(NULL);
- map->read = __read_children;
- map->go_next = __next_children;
- map->reset = __reset_children;
- taskfs_export_attr("children", map);
+ taskfs_export_attr(parent);
+ taskfs_export_attr(created);
+ taskfs_export_attr(pgid);
+ taskfs_export_attr(cmdline);
+ taskfs_export_list_attr(maps);