Created the new function get_type() for returning the type of the data pipe.
Authored by: bugman 2008-09-29
Parent: [r7448]
Child: [r7450]