aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/ssh-conn.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/ssh-conn.h')
-rw-r--r--hardinfo2/ssh-conn.h6
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__ */