Interface
IdeSubprocess
Prerequisite
In order to implement Subprocess, your type must inherit fromGObject
.
Interface structure
struct IdeSubprocessInterface {
GTypeInterface parent_interface;
const gchar* (* get_identifier) (
IdeSubprocess* self
);
GInputStream* (* get_stdout_pipe) (
IdeSubprocess* self
);
GInputStream* (* get_stderr_pipe) (
IdeSubprocess* self
);
GOutputStream* (* get_stdin_pipe) (
IdeSubprocess* self
);
gboolean (* wait) (
IdeSubprocess* self,
GCancellable* cancellable,
GError** error
);
void (* wait_async) (
IdeSubprocess* self,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* wait_finish) (
IdeSubprocess* self,
GAsyncResult* result,
GError** error
);
gboolean (* get_successful) (
IdeSubprocess* self
);
gboolean (* get_if_exited) (
IdeSubprocess* self
);
gint (* get_exit_status) (
IdeSubprocess* self
);
gboolean (* get_if_signaled) (
IdeSubprocess* self
);
gint (* get_term_sig) (
IdeSubprocess* self
);
gint (* get_status) (
IdeSubprocess* self
);
void (* send_signal) (
IdeSubprocess* self,
gint signal_num
);
void (* force_exit) (
IdeSubprocess* self
);
gboolean (* communicate) (
IdeSubprocess* self,
GBytes* stdin_buf,
GCancellable* cancellable,
GBytes** stdout_buf,
GBytes** stderr_buf,
GError** error
);
gboolean (* communicate_utf8) (
IdeSubprocess* self,
const gchar* stdin_buf,
GCancellable* cancellable,
gchar** stdout_buf,
gchar** stderr_buf,
GError** error
);
void (* communicate_async) (
IdeSubprocess* self,
GBytes* stdin_buf,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* communicate_finish) (
IdeSubprocess* self,
GAsyncResult* result,
GBytes** stdout_buf,
GBytes** stderr_buf,
GError** error
);
void (* communicate_utf8_async) (
IdeSubprocess* self,
const gchar* stdin_buf,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* communicate_utf8_finish) (
IdeSubprocess* self,
GAsyncResult* result,
gchar** stdout_buf,
gchar** stderr_buf,
GError** error
);
}
No description available.
Interface members
parent_interface |
|
No description available. | |
get_identifier |
|
No description available. | |
get_stdout_pipe |
|
No description available. | |
get_stderr_pipe |
|
No description available. | |
get_stdin_pipe |
|
No description available. | |
wait |
|
No description available. | |
wait_async |
|
No description available. | |
wait_finish |
|
No description available. | |
get_successful |
|
No description available. | |
get_if_exited |
|
No description available. | |
get_exit_status |
|
No description available. | |
get_if_signaled |
|
No description available. | |
get_term_sig |
|
No description available. | |
get_status |
|
No description available. | |
send_signal |
|
No description available. | |
force_exit |
|
No description available. | |
communicate |
|
No description available. | |
communicate_utf8 |
|
No description available. | |
communicate_async |
|
No description available. | |
communicate_finish |
|
No description available. | |
communicate_utf8_async |
|
No description available. | |
communicate_utf8_finish |
|
No description available. |