Comments
Patch
@@ -305,3 +305,9 @@
handle->protect = 0;
return swap_uint32(exitcode);
}
+
+/* return the output data. */
+char *get_output_data(hg_handle *handle)
+{
+ return handle->out_data;
+}
@@ -205,4 +205,12 @@
* */
int hg_exitcode(hg_handle *handle);
+/**
+ * \brief Getting the output data, received from the last command.
+ *
+ * \param handle The handle of the connection, wherewith I want to communicate
+ * \retval string Indicate the output data.
+ **/
+char *get_output_data(hg_handle *handle);
+
#endif