1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Replace sftp_pkt_get* with BinarySource.

This is the first major piece of code converted to the new
unmarshalling system, and allows me to remove all the sftp_pkt_get*
functions in sftp.c that were previously duplicating standard decode
logic.
This commit is contained in:
Simon Tatham
2018-06-02 09:41:39 +01:00
parent 7d8312e71f
commit 2cb4d89135
2 changed files with 103 additions and 151 deletions

1
sftp.h
View File

@ -2,6 +2,7 @@
* sftp.h: definitions for SFTP and the sftp.c routines.
*/
#include "defs.h"
#include "int64.h"
#define SSH_FXP_INIT 1 /* 0x1 */