5773041 [rkeene@sledge /home/rkeene/projects/libssh-win32/v0.11/src/libssh-0.11-win32/include/libssh]$ cat -n ssh2.h
 1 #ifndef __SSH2_H
 2 #define __SSH2_H
 3 
 4 #define SSH2_MSG_DISCONNECT 1
 5 #define SSH2_MSG_IGNORE  2
 6 #define SSH2_MSG_UNIMPLEMENTED 3
 7 #define SSH2_MSG_DEBUG  4
 8 #define SSH2_MSG_SERVICE_REQUEST    5
 9 #define SSH2_MSG_SERVICE_ACCEPT 6
10 
11 #define SSH2_MSG_KEXINIT     20
12 #define SSH2_MSG_NEWKEYS 21
13 
14 #define SSH2_MSG_KEXDH_INIT  30
15 #define SSH2_MSG_KEXDH_REPLY 31
16 
17 #define SSH2_MSG_KEX_DH_GEX_REQUEST_OLD 30
18 #define SSH2_MSG_KEX_DH_GEX_GROUP 31
19 #define SSH2_MSG_KEX_DH_GEX_INIT 32
20 #define SSH2_MSG_KEX_DH_GEX_REPLY 33
21 #define SSH2_MSG_KEX_DH_GEX_REQUEST 34
22 #define SSH2_MSG_USERAUTH_REQUEST 50
23 #define SSH2_MSG_USERAUTH_FAILURE 51
24 #define SSH2_MSG_USERAUTH_SUCCESS 52
25 #define SSH2_MSG_USERAUTH_BANNER 53
26 #define SSH2_MSG_USERAUTH_PK_OK 60
27 #define SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ 60
28 #define SSH2_MSG_USERAUTH_INFO_REQUEST   60
29 #define SSH2_MSG_USERAUTH_INFO_RESPONSE 61
30 #define SSH2_MSG_GLOBAL_REQUEST 80
31 #define SSH2_MSG_REQUEST_SUCCESS 81
32 #define SSH2_MSG_REQUEST_FAILURE 82
33 #define SSH2_MSG_CHANNEL_OPEN 90
34 #define SSH2_MSG_CHANNEL_OPEN_CONFIRMATION 91
35 #define SSH2_MSG_CHANNEL_OPEN_FAILURE 92
36 #define SSH2_MSG_CHANNEL_WINDOW_ADJUST 93
37 #define SSH2_MSG_CHANNEL_DATA 94
38 #define SSH2_MSG_CHANNEL_EXTENDED_DATA 95
39 #define SSH2_MSG_CHANNEL_EOF    96
40 #define SSH2_MSG_CHANNEL_CLOSE 97
41 #define SSH2_MSG_CHANNEL_REQUEST 98
42 #define SSH2_MSG_CHANNEL_SUCCESS 99
43 #define SSH2_MSG_CHANNEL_FAILURE 100
44 
45 #define SSH2_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT 1
46 #define SSH2_DISCONNECT_PROTOCOL_ERROR 2
47 #define SSH2_DISCONNECT_KEY_EXCHANGE_FAILED 3
48 #define SSH2_DISCONNECT_HOST_AUTHENTICATION_FAILED 4
49 #define SSH2_DISCONNECT_RESERVED     4
50 #define SSH2_DISCONNECT_MAC_ERROR 5
51 #define SSH2_DISCONNECT_COMPRESSION_ERROR 6
52 #define SSH2_DISCONNECT_SERVICE_NOT_AVAILABLE 7
53 #define SSH2_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED 8
54 #define SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE 9
55 #define SSH2_DISCONNECT_CONNECTION_LOST 10
56 #define SSH2_DISCONNECT_BY_APPLICATION 11
57 #define SSH2_DISCONNECT_TOO_MANY_CONNECTIONS 12
58 #define SSH2_DISCONNECT_AUTH_CANCELLED_BY_USER 13
59 #define SSH2_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE 14
60 #define SSH2_DISCONNECT_ILLEGAL_USER_NAME 15
61 
62 #define SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED       1
63 #define SSH2_OPEN_CONNECT_FAILED            2
64 #define SSH2_OPEN_UNKNOWN_CHANNEL_TYPE          3
65 #define SSH2_OPEN_RESOURCE_SHORTAGE         4
66 
67 #define SSH2_EXTENDED_DATA_STDERR           1
68 
69 #endif
5773042 [rkeene@sledge /home/rkeene/projects/libssh-win32/v0.11/src/libssh-0.11-win32/include/libssh]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2005-03-04 19:54:59