Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Clean callbacks for the host parsing.
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 4 Nov 2011 20:33:29 +0000 (21:33 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 4 Nov 2011 20:33:29 +0000 (21:33 +0100)
commit70388188c97f56fbe2b645c9b00dcb05d0b86509
tree62a0ba8e8fb75a2a0634bece16e7db9bc5ae5e75
parent04cb6e6a844ba34246d7ba001452f8aeaed9a6f9
Clean callbacks for the host parsing.

- do not rely on global field, but pass the parameter to the callbacks
- do not show the dynar containing the callbacks to the public, but
  provide a specific function to add a callback not needing to see the
  dynar

This breaks some tests, but I need to split my changes to see when I
improve the situation, and revert stuff when I degrade the situation.
I start to fix the tests right away.
12 files changed:
include/surf/surfxml_parse.h
src/include/surf/surfxml_parse_values.h
src/instr/instr_routing.c
src/surf/cpu.c
src/surf/cpu_im.c
src/surf/cpu_ti.c
src/surf/network_constant.c
src/surf/surf_routing.c
src/surf/surf_routing_cluster.c
src/surf/surfxml_parse.c
src/surf/surfxml_parseplatf.c
src/surf/workstation_ptask_L07.c