From fea14ed5d2088500649c1a1350a407922bac253c Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sun, 17 May 2009 12:54:26 -0300 Subject: More Remote mode fixes --- hardinfo2/ssh-conn.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hardinfo2/ssh-conn.h') diff --git a/hardinfo2/ssh-conn.h b/hardinfo2/ssh-conn.h index 24e196cd..654f90c3 100644 --- a/hardinfo2/ssh-conn.h +++ b/hardinfo2/ssh-conn.h @@ -45,8 +45,10 @@ typedef enum { struct _SSHConn { SoupURI *uri; int fd_read, fd_write, fd_error; - pid_t pid; + GPid pid; gchar *askpass_path; + + gint exit_status; }; SSHConnResponse ssh_new(SoupURI * uri, @@ -57,6 +59,6 @@ int ssh_write(SSHConn * conn, gconstpointer buffer, gint num_bytes, gint * bytes_written); int ssh_read(gint fd, gpointer buffer, gint num_bytes, gint * bytes_read); -const char *ssh_strerror(SSHConnResponse errno); +const char *ssh_conn_errors[10]; #endif /* __SSH_CONN_H__ */ -- cgit v1.2.3