diff options
Diffstat (limited to 'qarsh_packet.h')
-rw-r--r-- | qarsh_packet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qarsh_packet.h b/qarsh_packet.h index e854bd5..2ed50f4 100644 --- a/qarsh_packet.h +++ b/qarsh_packet.h @@ -80,7 +80,7 @@ struct qp_recvfile_pkt { char *qp_path; mode_t qp_mode; int qp_if_port; - size_t qp_count; + off_t qp_count; }; struct qp_sendfile_pkt { @@ -137,7 +137,7 @@ struct qa_packet *make_qp_runcmd(char *cmdline, int p_in, int p_out, int p_err); struct qa_packet *make_qp_cmdexit(pid_t pid, int status); struct qa_packet *make_qp_setuser(char *user, char *group); struct qa_packet *make_qp_kill(int sig); -struct qa_packet *make_qp_recvfile(const char *path, int if_port, size_t count, mode_t mode); +struct qa_packet *make_qp_recvfile(const char *path, int if_port, off_t count, mode_t mode); struct qa_packet *make_qp_sendfile(const char *path, int of_port); struct qa_packet *make_qp_rstat(const char *path, const struct stat *sb); char *qptostr(struct qa_packet *qp, char **qpstr, int *qpsize); |