diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-05-17 12:54:26 -0300 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-05-17 12:54:26 -0300 |
commit | fea14ed5d2088500649c1a1350a407922bac253c (patch) | |
tree | f99a8bcfec4012cff9b415a75e0ab409f3f88a1f /hardinfo2/ssh-conn.h | |
parent | b2c6231f5c707234772660a515e0daf19c710510 (diff) |
More Remote mode fixes
Diffstat (limited to 'hardinfo2/ssh-conn.h')
-rw-r--r-- | hardinfo2/ssh-conn.h | 6 |
1 files changed, 4 insertions, 2 deletions
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__ */ |