Converted all of the pipe_control.strucuture.main functions to use the check_structure() object.
This standardises and improves all of the checks.
Authored by: bugman 2014-09-30
Parent: [r26099]
Child: [r26101]