GebrCommProcess

GebrCommProcess

Synopsis

#define             GEBR_COMM_PROCESS_TYPE
struct              GebrCommProcess;
struct              GebrCommProcessClass;
GebrCommProcess *   gebr_comm_process_new               (void);
void                gebr_comm_process_free              (GebrCommProcess *process);
gboolean            gebr_comm_process_is_running        (GebrCommProcess *Param1);
gboolean            gebr_comm_process_start             (GebrCommProcess *Param1,
                                                         GString *Param2);
GPid                gebr_comm_process_get_pid           (GebrCommProcess *Param1);
void                gebr_comm_process_kill              (GebrCommProcess *Param1);
void                gebr_comm_process_terminate         (GebrCommProcess *Param1);
void                gebr_comm_process_close_stdin       (GebrCommProcess *Param1);
gulong              gebr_comm_process_stdout_bytes_available
                                                        (GebrCommProcess *Param1);
gulong              gebr_comm_process_stderr_bytes_available
                                                        (GebrCommProcess *Param1);
GByteArray *        gebr_comm_process_read_stdout       (GebrCommProcess *Param1,
                                                         gsize Param2);
GString *           gebr_comm_process_read_stdout_string
                                                        (GebrCommProcess *Param1,
                                                         gsize Param2);
GByteArray *        gebr_comm_process_read_stdout_all   (GebrCommProcess *Param1);
GString *           gebr_comm_process_read_stdout_string_all
                                                        (GebrCommProcess *Param1);
GByteArray *        gebr_comm_process_read_stderr       (GebrCommProcess *Param1,
                                                         gsize Param2);
GString *           gebr_comm_process_read_stderr_string
                                                        (GebrCommProcess *Param1,
                                                         gsize Param2);
GByteArray *        gebr_comm_process_read_stderr_all   (GebrCommProcess *Param1);
GString *           gebr_comm_process_read_stderr_string_all
                                                        (GebrCommProcess *Param1);
gsize               gebr_comm_process_write_stdin       (GebrCommProcess *Param1,
                                                         GByteArray *Param2);
gsize               gebr_comm_process_write_stdin_string
                                                        (GebrCommProcess *Param1,
                                                         GString *Param2);

Object Hierarchy

  GObject
   +----GebrCommProcess

Signals

  "finished"                                       : Action
  "ready-read-stderr"                              : Action
  "ready-read-stdout"                              : Action

Description

Details

GEBR_COMM_PROCESS_TYPE

#define GEBR_COMM_PROCESS_TYPE			(gebr_comm_process_get_type())

struct GebrCommProcess

struct GebrCommProcess;

struct GebrCommProcessClass

struct GebrCommProcessClass {
	GObjectClass parent;

	/* signals */
	void (*ready_read_stdout) (GebrCommProcess * self);
	void (*ready_read_stderr) (GebrCommProcess * self);
	void (*finished) (GebrCommProcess * self);
};

gebr_comm_process_new ()

GebrCommProcess *   gebr_comm_process_new               (void);

gebr_comm_process_free ()

void                gebr_comm_process_free              (GebrCommProcess *process);

gebr_comm_process_is_running ()

gboolean            gebr_comm_process_is_running        (GebrCommProcess *Param1);

gebr_comm_process_start ()

gboolean            gebr_comm_process_start             (GebrCommProcess *Param1,
                                                         GString *Param2);

gebr_comm_process_get_pid ()

GPid                gebr_comm_process_get_pid           (GebrCommProcess *Param1);

gebr_comm_process_kill ()

void                gebr_comm_process_kill              (GebrCommProcess *Param1);

gebr_comm_process_terminate ()

void                gebr_comm_process_terminate         (GebrCommProcess *Param1);

gebr_comm_process_close_stdin ()

void                gebr_comm_process_close_stdin       (GebrCommProcess *Param1);

gebr_comm_process_stdout_bytes_available ()

gulong              gebr_comm_process_stdout_bytes_available
                                                        (GebrCommProcess *Param1);

gebr_comm_process_stderr_bytes_available ()

gulong              gebr_comm_process_stderr_bytes_available
                                                        (GebrCommProcess *Param1);

gebr_comm_process_read_stdout ()

GByteArray *        gebr_comm_process_read_stdout       (GebrCommProcess *Param1,
                                                         gsize Param2);

gebr_comm_process_read_stdout_string ()

GString *           gebr_comm_process_read_stdout_string
                                                        (GebrCommProcess *Param1,
                                                         gsize Param2);

gebr_comm_process_read_stdout_all ()

GByteArray *        gebr_comm_process_read_stdout_all   (GebrCommProcess *Param1);

gebr_comm_process_read_stdout_string_all ()

GString *           gebr_comm_process_read_stdout_string_all
                                                        (GebrCommProcess *Param1);

gebr_comm_process_read_stderr ()

GByteArray *        gebr_comm_process_read_stderr       (GebrCommProcess *Param1,
                                                         gsize Param2);

gebr_comm_process_read_stderr_string ()

GString *           gebr_comm_process_read_stderr_string
                                                        (GebrCommProcess *Param1,
                                                         gsize Param2);

gebr_comm_process_read_stderr_all ()

GByteArray *        gebr_comm_process_read_stderr_all   (GebrCommProcess *Param1);

gebr_comm_process_read_stderr_string_all ()

GString *           gebr_comm_process_read_stderr_string_all
                                                        (GebrCommProcess *Param1);

gebr_comm_process_write_stdin ()

gsize               gebr_comm_process_write_stdin       (GebrCommProcess *Param1,
                                                         GByteArray *Param2);

gebr_comm_process_write_stdin_string ()

gsize               gebr_comm_process_write_stdin_string
                                                        (GebrCommProcess *Param1,
                                                         GString *Param2);

Signal Details

The "finished" signal

void                user_function                      (GebrCommProcess *gebrcommprocess,
                                                        gint             arg1,
                                                        gpointer         user_data)            : Action

The "ready-read-stderr" signal

void                user_function                      (GebrCommProcess *gebrcommprocess,
                                                        gpointer         user_data)            : Action

The "ready-read-stdout" signal

void                user_function                      (GebrCommProcess *gebrcommprocess,
                                                        gpointer         user_data)            : Action