search for: send_statf

Displaying 2 results from an estimated 2 matches for "send_statf".

Did you mean: send_state
2006 Aug 19
0
[PATCH] add statfs extension to sftp-server
...00 @@ -19,6 +19,7 @@ #include <sys/stat.h> #include <sys/time.h> #include <sys/param.h> +#include <sys/mount.h> #include <dirent.h> #include <errno.h> @@ -462,6 +463,24 @@ send_attrib(u_int32_t id, const Attrib * buffer_free(&msg); } +static void +send_statfs(u_int32_t id, struct statfs *st) +{ + Buffer msg; + + buffer_init(&msg); + buffer_put_char(&msg, SSH2_FXP_EXTENDED_REPLY); + buffer_put_int(&msg, id); + buffer_put_int(&msg, st->f_bsize); + buffer_put_int64(&msg, st->f_blocks); + buffer_put_int64(&msg, st->f_bfree)...
2007 Dec 07
2
[PATCH] add statfs extension to sftp-server
...00 @@ -19,6 +19,7 @@ #include <sys/stat.h> #include <sys/time.h> #include <sys/param.h> +#include <sys/mount.h> #include <dirent.h> #include <errno.h> @@ -462,6 +463,24 @@ send_attrib(u_int32_t id, const Attrib * buffer_free(&msg); } +static void +send_statfs(u_int32_t id, struct statfs *st) +{ + Buffer msg; + + buffer_init(&msg); + buffer_put_char(&msg, SSH2_FXP_EXTENDED_REPLY); + buffer_put_int(&msg, id); + buffer_put_int(&msg, st->f_bsize); + buffer_put_int64(&msg, st->f_blocks); + buffer_put_int64(&msg, st->f_bfree)...