home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d03xx / d0365.lha / EasyBackup / backup.i < prev    next >
Text File  |  1990-08-12  |  2KB  |  57 lines

  1. /* Prototypes for functions defined in backup.c */
  2. void *MakeDB(int len);
  3. void FreeDB(struct IORequest *req);
  4. short InitDevice(char *name,
  5.                  int unit,
  6.                  struct IORequest **req,
  7.                  unsigned int fl,
  8.                  unsigned int len);
  9. void ExitDevice(struct IORequest *req);
  10. void DeviceCommand(struct IORequest *db,
  11.                    unsigned short com);
  12. char *TrackDiskError(int fn);
  13. void WaitDisk(struct IOExtTD *db);
  14. void ReadTrack(struct IOExtTD *db,
  15.                char *tbuf,
  16.                char *lbuf,
  17.                int nr);
  18. void CloseAll(int err);
  19. void UserRequest(void);
  20. int DoNothing(void);
  21. void OpenAll(int devunit);
  22. void ConcatPath(char *buffer,
  23.                 char *p1,
  24.                 char *p2);
  25. short FileAbfrage(void);
  26. struct IOAudio *MakeIOA(int rate,
  27.                         int vol,
  28.                         int repeat,
  29.                         unsigned char *buf,
  30.                         int len);
  31. void Beep(int freq,
  32.           int dauer,
  33.           int vol);
  34. void PrintTrack(int nr);
  35. void PrintDisk(int nr);
  36. void NewDisk(void);
  37. void FormatTrack(struct IOExtTD *db,
  38.                  int nr,
  39.                  char *buf);
  40. void RawPutByte(char b);
  41. void EncodeByte(char b);
  42. void RawWrite(char *buf,
  43.               int len);
  44. int ByteCount(unsigned char *begin,
  45.               unsigned char *max);
  46. void EndBackup(void);
  47. short BackupFile(char *path,
  48.                  struct FileInfoBlock *fib);
  49. short BackupDir(char *path,
  50.                 struct FileInfoBlock *fib);
  51. void BackupEndDir(void);
  52. short BackupTree(char *s);
  53. short StrToDs(char *s,
  54.               struct DateStamp *ds);
  55. void main(int argc,
  56.           char **argv);
  57.