Changeset 2960
- Timestamp:
- Jan 11, 2005, 12:10:53 PM (22 years ago)
- Location:
- trunk/Nebulous/nebclient
- Files:
-
- 2 edited
-
idataclient.c (modified) (3 diffs)
-
idataclient.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/nebclient/idataclient.c
r2959 r2960 4 4 * Copyright (C) 2005 Joshua Hoblitt 5 5 * 6 * $Id: idataclient.c,v 1. 5 2005-01-11 21:57:31jhoblitt Exp $6 * $Id: idataclient.c,v 1.6 2005-01-11 22:10:53 jhoblitt Exp $ 7 7 */ 8 8 … … 222 222 } 223 223 224 int idataCopyFile(char *source, char *dest)224 off_t idataCopyFile(char *source, char *dest) 225 225 { 226 226 int sourceFH; 227 227 int destFH; 228 size_tbytesCopied;228 off_t bytesCopied; 229 229 230 230 sourceFH = open(source, O_RDONLY); … … 262 262 } 263 263 264 int idataCopyFilehandle(int sourceFH, int destFH)265 { 266 size_tbytesTotal;267 size_tbytesRemaining;268 size_twriteSize;264 off_t idataCopyFilehandle(int sourceFH, int destFH) 265 { 266 off_t bytesTotal; 267 off_t bytesRemaining; 268 off_t writeSize; 269 269 char writeBuf[64 * 1024]; 270 270 struct stat sourceStat; -
trunk/Nebulous/nebclient/idataclient.h
r2954 r2960 4 4 * Copyright (C) 2005 Joshua Hoblitt 5 5 * 6 * $Id: idataclient.h,v 1. 3 2005-01-11 04:36:40jhoblitt Exp $6 * $Id: idataclient.h,v 1.4 2005-01-11 22:10:53 jhoblitt Exp $ 7 7 */ 8 8 … … 50 50 void idataFree(void *ptr); 51 51 52 int idataCopyFile(char *source, char *dest);52 off_t idataCopyFile(char *source, char *dest); 53 53 54 int idataCopyFilehandle(int sourceFH, int destFH);54 off_t idataCopyFilehandle(int sourceFH, int destFH);
Note:
See TracChangeset
for help on using the changeset viewer.
