summaryrefslogtreecommitdiffstats
path: root/REFLECTION
blob: e5b829c75845e543b85094f4fc99b62aabc45e9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
Extension [ <persistent> extension #161 ssh2 version 0.13 ] {

  - Constants [21] {
    Constant [ integer SSH2_FINGERPRINT_MD5 ] { 0 }
    Constant [ integer SSH2_FINGERPRINT_SHA1 ] { 1 }
    Constant [ integer SSH2_FINGERPRINT_HEX ] { 0 }
    Constant [ integer SSH2_FINGERPRINT_RAW ] { 2 }
    Constant [ integer SSH2_TERM_UNIT_CHARS ] { 0 }
    Constant [ integer SSH2_TERM_UNIT_PIXELS ] { 1 }
    Constant [ string SSH2_DEFAULT_TERMINAL ] { vanilla }
    Constant [ integer SSH2_DEFAULT_TERM_WIDTH ] { 80 }
    Constant [ integer SSH2_DEFAULT_TERM_HEIGHT ] { 25 }
    Constant [ integer SSH2_DEFAULT_TERM_UNIT ] { 0 }
    Constant [ integer SSH2_STREAM_STDIO ] { 0 }
    Constant [ integer SSH2_STREAM_STDERR ] { 1 }
    Constant [ integer SSH2_POLLIN ] { 1 }
    Constant [ integer SSH2_POLLEXT ] { 2 }
    Constant [ integer SSH2_POLLOUT ] { 4 }
    Constant [ integer SSH2_POLLERR ] { 8 }
    Constant [ integer SSH2_POLLHUP ] { 16 }
    Constant [ integer SSH2_POLLNVAL ] { 32 }
    Constant [ integer SSH2_POLL_SESSION_CLOSED ] { 16 }
    Constant [ integer SSH2_POLL_CHANNEL_CLOSED ] { 128 }
    Constant [ integer SSH2_POLL_LISTENER_CLOSED ] { 128 }
  }

  - Functions {
    Function [ <internal:ssh2> function ssh2_connect ] {

      - Parameters [2] {
        Parameter #0 [ <required> $host ]
        Parameter #1 [ <required> $port ]
      }
    }
    Function [ <internal:ssh2> function ssh2_methods_negotiated ] {

      - Parameters [1] {
        Parameter #0 [ <required> $resource ]
      }
    }
    Function [ <internal:ssh2> function ssh2_fingerprint ] {

      - Parameters [2] {
        Parameter #0 [ <required> $resource ]
        Parameter #1 [ <required> $flags ]
      }
    }
    Function [ <internal:ssh2> function ssh2_auth_none ] {

      - Parameters [2] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <required> $username ]
      }
    }
    Function [ <internal:ssh2> function ssh2_auth_password ] {

      - Parameters [3] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <required> $username ]
        Parameter #2 [ <required> $password ]
      }
    }
    Function [ <internal:ssh2> function ssh2_auth_pubkey_file ] {

      - Parameters [5] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <required> $username ]
        Parameter #2 [ <required> $pubkeyfile ]
        Parameter #3 [ <required> $privkeyfile ]
        Parameter #4 [ <optional> $passphrase ]
      }
    }
    Function [ <internal:ssh2> function ssh2_auth_hostbased_file ] {

      - Parameters [7] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <required> $username ]
        Parameter #2 [ <required> $hostname ]
        Parameter #3 [ <required> $pubkeyfile ]
        Parameter #4 [ <required> $privkeyfile ]
        Parameter #5 [ <optional> $passphrase ]
        Parameter #6 [ <optional> $local_username ]
      }
    }
    Function [ <internal:ssh2> function ssh2_forward_listen ] {
    }
    Function [ <internal:ssh2> function ssh2_forward_accept ] {
    }
    Function [ <internal:ssh2> function ssh2_shell ] {

      - Parameters [6] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <optional> $termtype ]
        Parameter #2 [ <optional> $env ]
        Parameter #3 [ <optional> $width ]
        Parameter #4 [ <optional> $height ]
        Parameter #5 [ <optional> $width_height_type ]
      }
    }
    Function [ <internal:ssh2> function ssh2_exec ] {

      - Parameters [7] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <required> $command ]
        Parameter #2 [ <optional> $pty ]
        Parameter #3 [ <optional> $env ]
        Parameter #4 [ <optional> $width ]
        Parameter #5 [ <optional> $height ]
        Parameter #6 [ <optional> $width_height_type ]
      }
    }
    Function [ <internal:ssh2> function ssh2_tunnel ] {

      - Parameters [3] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <required> $host ]
        Parameter #2 [ <required> $port ]
      }
    }
    Function [ <internal:ssh2> function ssh2_scp_recv ] {

      - Parameters [3] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <required> $remote_file ]
        Parameter #2 [ <required> $local_file ]
      }
    }
    Function [ <internal:ssh2> function ssh2_scp_send ] {

      - Parameters [4] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <required> $remote_file ]
        Parameter #2 [ <required> $local_file ]
        Parameter #3 [ <optional> $create_mode ]
      }
    }
    Function [ <internal:ssh2> function ssh2_fetch_stream ] {

      - Parameters [2] {
        Parameter #0 [ <required> $channel ]
        Parameter #1 [ <required> $stream_id ]
      }
    }
    Function [ <internal:ssh2> function ssh2_poll ] {

      - Parameters [1] {
        Parameter #0 [ <required> &$param0 ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp ] {

      - Parameters [1] {
        Parameter #0 [ <required> $session ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_rename ] {

      - Parameters [3] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $from ]
        Parameter #2 [ <required> $to ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_unlink ] {

      - Parameters [2] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $filename ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_mkdir ] {

      - Parameters [4] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $dirname ]
        Parameter #2 [ <optional> $mode ]
        Parameter #3 [ <optional> $recursive ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_rmdir ] {

      - Parameters [2] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $dirname ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_chmod ] {

      - Parameters [3] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $filename ]
        Parameter #2 [ <required> $mode ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_stat ] {

      - Parameters [2] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $path ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_lstat ] {

      - Parameters [2] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $path ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_symlink ] {

      - Parameters [3] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $target ]
        Parameter #2 [ <required> $link ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_readlink ] {

      - Parameters [2] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $link ]
      }
    }
    Function [ <internal:ssh2> function ssh2_sftp_realpath ] {

      - Parameters [2] {
        Parameter #0 [ <required> $sftp ]
        Parameter #1 [ <required> $filename ]
      }
    }
    Function [ <internal:ssh2> function ssh2_publickey_init ] {

      - Parameters [1] {
        Parameter #0 [ <required> $session ]
      }
    }
    Function [ <internal:ssh2> function ssh2_publickey_add ] {

      - Parameters [5] {
        Parameter #0 [ <required> $pkey ]
        Parameter #1 [ <required> $algoname ]
        Parameter #2 [ <required> $blob ]
        Parameter #3 [ <optional> $overwrite ]
        Parameter #4 [ <optional> $attributes ]
      }
    }
    Function [ <internal:ssh2> function ssh2_publickey_remove ] {

      - Parameters [3] {
        Parameter #0 [ <required> $pkey ]
        Parameter #1 [ <required> $algoname ]
        Parameter #2 [ <required> $blob ]
      }
    }
    Function [ <internal:ssh2> function ssh2_publickey_list ] {

      - Parameters [1] {
        Parameter #0 [ <required> $pkey ]
      }
    }
    Function [ <internal:ssh2> function ssh2_auth_agent ] {

      - Parameters [2] {
        Parameter #0 [ <required> $session ]
        Parameter #1 [ <required> $username ]
      }
    }
  }
}