// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2022, Sylvain Huet, Ambermind // Minimacy (r) System const SFTP_VERSION = 3;; const SSH_FXP_INIT =1;; const SSH_FXP_VERSION =2;; const SSH_FXP_OPEN =3;; const SSH_FXP_CLOSE =4;; const SSH_FXP_READ =5;; const SSH_FXP_WRITE =6;; const SSH_FXP_LSTAT =7;; const SSH_FXP_FSTAT =8;; const SSH_FXP_SETSTAT =9;; const SSH_FXP_FSETSTAT =10;; const SSH_FXP_OPENDIR =11;; const SSH_FXP_READDIR =12;; const SSH_FXP_REMOVE =13;; const SSH_FXP_MKDIR =14;; const SSH_FXP_RMDIR =15;; const SSH_FXP_REALPATH =16;; const SSH_FXP_STAT =17;; const SSH_FXP_RENAME =18;; const SSH_FXP_READLINK =19;; const SSH_FXP_SYMLINK =20;; const SSH_FXP_STATUS =101;; const SSH_FXP_HANDLE =102;; const SSH_FXP_DATA =103;; const SSH_FXP_NAME =104;; const SSH_FXP_ATTRS =105;; const SSH_FXP_EXTENDED =200;; const SSH_FXP_EXTENDED_REPLY=201;; const SSH_FX_OK =0;; const SSH_FX_EOF =1;; const SSH_FX_NO_SUCH_FILE =2;; const SSH_FX_PERMISSION_DENIED=3;; const SSH_FX_FAILURE =4;; const SSH_FX_BAD_MESSAGE =5;; const SSH_FX_NO_CONNECTION =6;; const SSH_FX_CONNECTION_LOST =7;; const SSH_FX_OP_UNSUPPORTED =8;; const SSH_FXF_READ =0x00000001;; const SSH_FXF_WRITE =0x00000002;; const SSH_FXF_APPEND=0x00000004;; const SSH_FXF_CREAT =0x00000008;; const SSH_FXF_TRUNC =0x00000010;; const SSH_FXF_EXCL =0x00000020;; const SSH_FILEXFER_ATTR_SIZE =0x00000001;; const SSH_FILEXFER_ATTR_UIDGID =0x00000002;; const SSH_FILEXFER_ATTR_PERMISSIONS=0x00000004;; const SSH_FILEXFER_ATTR_ACMODTIME =0x00000008;; const SSH_FILEXFER_ATTR_EXTENDED =0x80000000;;