Update of /cvsroot/anet/ANet/ANet_Daemon/Common
In directory usw-pr-cvs1:/tmp/cvs-serv29901/Common
Modified Files:
Files.h
Log Message:
Starting File Wrappers...
Index: Files.h
===================================================================
RCS file: /cvsroot/anet/ANet/ANet_Daemon/Common/Files.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Files.h 2001/10/14 23:16:35 1.2
--- Files.h 2001/12/04 00:45:04 1.3
***************
*** 2,6 ****
ANet_Daemon/Common/Files.h
Declarations for file management in the ANet deamon.
!
Part of the run-time wrapper of the ANet project.
--- 2,9 ----
ANet_Daemon/Common/Files.h
Declarations for file management in the ANet deamon.
! Those declarations are common to all platforms.
! Platform-specific declarations are in:
! ANet_Daemon/<platform>/FilesSpecific.h
!
Part of the run-time wrapper of the ANet project.
***************
*** 10,13 ****
--- 13,32 ----
#ifndef ANET_FILES
#define ANET_FILES
+
+ #include "Memory.h"
+ #include "FilesSpecific.h"
+
+ ANetFile ANetInitFile();
+ UInt32 ANetGetSetFilePath(ANetFile *f, ANetMemoryTag path, UInt8 set);
+ UInt32 ANetGetSetFileAsync(ANetFile *f, UInt8 *async, UInt8 set);
+ UInt8 ANetIsFileBusy(ANetFile *f);
+ UInt32 ANetGetFileSize(ANetFile *f, UInt32 *size);
+ UInt32 ANetOpenFile(ANetFile *f);
+ UInt32 ANetCloseFile(ANetFile *f);
+ UInt32 ANetReadFile(ANetFile *f, UInt32 startPos, UInt32 length, ANetMemoryTag buffer, UInt32 *read);
+ UInt32 ANetWriteFile(ANetFile *f, ANetMemoryTag buffer);
+ UInt32 ANetWriteFileAt(ANetFile *f, ANetMemoryTag buffer, UInt32 pos);
+ UInt32 ANetDeleteFile(ANetFile *f);
+ UInt32 ANetCopyFile(ANetFile *source, ANetFile *dest);
#endif
|