Mercurial > gftp.yaz
diff lib/gftp.h @ 14:83090328581e
* More largefile support. Hopefully all that is left is the configure stuff
* Sanity checking on the fdopen() calls. Also make sure that all of them have a + in their open mode. Doesn't affect UNIX, but it does affect Windows
* HTTP fixes when running under Solaris. Read from request->sockfd and write to request->sockfd_write (Solaris doesn't like it when you read/write to the same FILE structure)
* Display major/minor properly for a device when connected with the local protocol
author | masneyb |
---|---|
date | Wed, 04 Sep 2002 11:45:56 +0000 |
parents | 8b1883341c6f |
children | ddb983d8574b |
line wrap: on
line diff
--- a/lib/gftp.h Fri Aug 30 19:46:27 2002 +0000 +++ b/lib/gftp.h Wed Sep 04 11:45:56 2002 +0000 @@ -123,8 +123,8 @@ *destfile; /* Full pathname to the destination for the file transfer */ time_t datetime; /* File date and time */ - unsigned long size, /* Size of the file */ - startsize; /* Size to start the transfer at */ + off_t size, /* Size of the file */ + startsize; /* Size to start the transfer at */ unsigned int isdir : 1, /* File type */ isexe : 1, islink : 1, @@ -293,9 +293,7 @@ show : 1, stalled : 1, next_file : 1, - skip_file : 1, - current_file_number, - current_file_retries; + skip_file : 1; struct timeval starttime, lasttime; @@ -306,8 +304,10 @@ * curfle, * updfle; - long numfiles, - numdirs; + unsigned long numfiles, + numdirs, + current_file_number, + current_file_retries; off_t curtrans, /* Current transfered bytes for this file */ curresumed, /* Resumed bytes for this file */ @@ -481,7 +481,7 @@ void print_bookmarks ( gftp_bookmarks * bookmarks ); /* misc.c */ -char *insert_commas ( unsigned long number, +char *insert_commas ( off_t number, char *dest_str, size_t dest_len );