comparison lib/protocols.c @ 261:dbf13a10be13

2003-8-20 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/protocols.c - largefile fixes * configure.in debian/changelog - updated version * cvsclean - clean up after ourselves a little more * ChangeLog-old README TODO docs/website/index.html.in - updated
author masneyb
date Thu, 21 Aug 2003 20:24:08 +0000
parents 71d0098c3735
children 5810b0f97eee
comparison
equal deleted inserted replaced
260:71d0098c3735 261:dbf13a10be13
199 return (GFTP_EFATAL); 199 return (GFTP_EFATAL);
200 return (request->put_file (request, filename, fd, startsize, totalsize)); 200 return (request->put_file (request, filename, fd, startsize, totalsize));
201 } 201 }
202 202
203 203
204 long 204 off_t
205 gftp_transfer_file (gftp_request * fromreq, const char *fromfile, 205 gftp_transfer_file (gftp_request * fromreq, const char *fromfile,
206 int fromfd, off_t fromsize, 206 int fromfd, off_t fromsize,
207 gftp_request * toreq, const char *tofile, 207 gftp_request * toreq, const char *tofile,
208 int tofd, off_t tosize) 208 int tofd, off_t tosize)
209 { 209 {
210 long size; 210 off_t size;
211 int ret; 211 int ret;
212 212
213 g_return_val_if_fail (fromreq != NULL, GFTP_EFATAL); 213 g_return_val_if_fail (fromreq != NULL, GFTP_EFATAL);
214 g_return_val_if_fail (fromfile != NULL, GFTP_EFATAL); 214 g_return_val_if_fail (fromfile != NULL, GFTP_EFATAL);
215 g_return_val_if_fail (toreq != NULL, GFTP_EFATAL); 215 g_return_val_if_fail (toreq != NULL, GFTP_EFATAL);