Lines Matching defs:upload
45 struct upload { struct
46 enum uploadst state; argument
47 char *buf; /* if not NULL, pending upload */ argument
48 size_t bufsz; /* size of buf */
49 size_t bufmax; /* maximum size of buf */
50 size_t bufpos; /* position in buf */
51 size_t idx; /* current transfer index */
52 mode_t oumask; /* umask for creating files */
53 char *root; /* destination directory path */
54 int rootfd; /* destination directory */
55 size_t csumlen; /* checksum length */
56 int fdout; /* write descriptor to sender */
57 const struct flist *fl; /* file list */
58 size_t flsz; /* size of file list */
59 int *newdir; /* non-zero if mkdir'd */