search for: ssh2_fxe_extattr_blocks

Displaying 1 result from an estimated 1 matches for "ssh2_fxe_extattr_blocks".

2009 Feb 12
2
[patch 1/3] add protocol extension to ATTR message
...2_FXE_EXTATTR_NLINK; + a->nlink = st->st_nlink; + if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) { + a->ext_flags |= SSH2_FXE_EXTATTR_RDEV; + a->rdev = st->st_rdev; + } + a->ext_flags |= SSH2_FXE_EXTATTR_BLKSIZE; + a->blksize = st->st_blksize; + a->ext_flags |= SSH2_FXE_EXTATTR_BLOCKS; + a->blocks = st->st_blocks; } /* Convert from filexfer attribs to struct stat */ @@ -87,10 +123,62 @@ attrib_to_stat(const Attrib *a, struct s } if (a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS) st->st_mode = a->perm; - if (a->flags & SSH2_FILEXFER_ATTR_ACMODTIME...