aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 08f9744d..685630bd 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -205,7 +205,15 @@ typedef struct signature_struct {
#endif
} SIGNATURE;
+
+struct error_struct {
+/* error handling */
+ int error_code;
+ char error_buffer[ERROR_BUFFERLEN];
+};
+
struct ssh_options_struct {
+ struct error_struct error;
char *banner; /* explicit banner to send */
char *username;
char *host;
@@ -275,14 +283,6 @@ struct channel_struct {
int blocking;
};
-
-struct error_struct {
-/* error handling */
- int error_code;
- char error_buffer[ERROR_BUFFERLEN];
-};
-
-
struct ssh_session {
struct error_struct error;
struct socket *socket;