Create and Destroy Topologies


Functions

int topo_topology_init (topo_topology_t *topologyp)
 Allocate a topology context.
int topo_topology_load (topo_topology_t topology)
 Build the actual topology.
void topo_topology_destroy (topo_topology_t topology)
 Terminate and free a topology context.
void topo_topology_check (topo_topology_t topology)
 Run internal checks on a topology structure.

Function Documentation

void topo_topology_check ( topo_topology_t  topology  ) 

Run internal checks on a topology structure.

Parameters:
topology is the topology to be checked

void topo_topology_destroy ( topo_topology_t  topology  ) 

Terminate and free a topology context.

Parameters:
topology is the topology to be freed

int topo_topology_init ( topo_topology_t topologyp  ) 

Allocate a topology context.

Parameters:
[out] topologyp is assigned a pointer to the new allocated context.
Returns:
0 on success, -1 on error.

int topo_topology_load ( topo_topology_t  topology  ) 

Build the actual topology.

Build the actual topology once initialized with topo_topology_init() and tuned with topology_configuration routine. No other routine may be called earlier using this topology context.

Parameters:
topology is the topology to be loaded with objects.
Returns:
0 on success, -1 on error.
See also:
Configure Topology Detection


Generated on Fri Jul 3 19:00:23 2009 for libtopology by  doxygen 1.5.9