home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / NETCLB35.ZIP / NETCLB35.EXE / INCLUDE / NWFILE.H < prev    next >
C/C++ Source or Header  |  1996-01-03  |  2KB  |  48 lines

  1. #ifndef NWFILE_H
  2. #define NWFILE_H
  3.  
  4. /****************************/
  5. /* File Services prototypes */
  6. /****************************/
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. int   EraseFiles( byte searchAttributes,byte directoryHandle,
  12.                  char *filePath);
  13. int   FileServerFileCopy(int sourceFileHandle,
  14.                  int destinationFileHandle,long sourceFileOffset,
  15.                  long destinationFileOffset,long numberOfBytesToCopy,
  16.                  long *numberOfBytesCopied);
  17. int   PurgeAllErasedFiles(void);
  18. int   PurgeErasedFiles(void);
  19. int   ScanFileInformation(byte directoryHandle,
  20.                  char *filePath,
  21.                  byte searchAttributes,int *sequenceNumber,
  22.                  char *fileName,byte *fileAttributes,
  23.                  byte *extendedFileAttributes,
  24.                  long *fileSize,
  25.                  nw_date *creationDate,
  26.                  nw_date *lastAccessDate,
  27.                  nw_date *lastUpdateDate,
  28.                  nw_time *lastUpdateTime,
  29.                  nw_date *lastArchiveDate,
  30.                  nw_time *lastArchieTime,
  31.                  long *fileOwnerId);
  32. int   SetFileInformation(byte directoryHandle,
  33.                  char *filePath,byte searchAttributes,
  34.                  byte *fileAttributes,
  35.                  byte *extendedFileAttributes,
  36.                  nw_date *creationDate,
  37.                  nw_date *lastAccessDate,
  38.                  nw_date *lastUpdateDate,
  39.                  nw_time *lastUpdateTime,
  40.                  nw_date *lastArchiveDate,
  41.                  nw_time *lastArchiveTime,
  42.                  long *fileOwnerId);
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46.  
  47. #endif
  48.