public static switch_xml switch_xml_parse_fd(int fd) { IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_fd(fd); switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; }