source: filezilla/trunk/fuentes/src/putty/fzprintf.h @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 1.0 KB
Line 
1#define FZSFTP_PROTOCOL_VERSION 4
2
3typedef enum
4{
5    sftpUnknown = -1,
6    sftpReply = 0,
7    sftpDone,
8    sftpError,
9    sftpVerbose,
10    sftpStatus,
11    sftpRecv, /* socket */
12    sftpSend, /* socket */
13    sftpClose,
14    sftpRequest,
15    sftpListentry,
16    sftpTransfer, /* payload: when written to local file (download) or acknowledged by server (upload) */
17    sftpRequestPreamble,
18    sftpRequestInstruction,
19    sftpUsedQuotaRecv,
20    sftpUsedQuotaSend,
21    sftpKexAlgorithm,
22    sftpKexHash,
23        sftpKexCurve,
24    sftpCipherClientToServer,
25    sftpCipherServerToClient,
26    sftpMacClientToServer,
27    sftpMacServerToClient,
28    sftpHostkey
29} sftpEventTypes;
30
31enum sftpRequestTypes
32{
33    sftpReqPassword,
34    sftpReqHostkey,
35    sftpReqHostkeyChanged,
36    sftpReqUnknown
37};
38
39int fznotify(sftpEventTypes type);
40int fzprintf(sftpEventTypes type, const char* p, ...);
41int fzprintf_raw(sftpEventTypes type, const char* p, ...);
42int fzprintf_raw_untrusted(sftpEventTypes type, const char* p, ...);
43int fznotify1(sftpEventTypes type, int data);
Note: See TracBrowser for help on using the repository browser.