?login_element?

Subversion Repositories NedoOS

Rev

Rev 49 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download

  1. FUNC PBYTE nfopen FORWARD(PCHAR filename, PCHAR mode);
  2. /*FUNC INT fclose FORWARD(PBYTE file);*/
  3. /*FUNC INT fputs FORWARD(PCHAR s, PBYTE file);*/
  4. /*FUNC INT fwrite FORWARD(PBYTE buf, UINT size, UINT n, PBYTE file);*/
  5. /*FUNC INT fread FORWARD(PBYTE buf, UINT size, UINT n, PBYTE file);*/
  6.  
  7. EXTERN PBYTE _fin;
  8. EXTERN PBYTE _fout;
  9. EXTERN BOOL _waseof;
  10.  
  11. PROC writefout FORWARD(BYTE c);
  12. PROC writebyte FORWARD(PBYTE file, BYTE c);
  13. //PROC writeuint FORWARD(PBYTE file, UINT i);
  14. //PROC writelong FORWARD(PBYTE file, LONG l);
  15. FUNC BYTE readf FORWARD(PBYTE file);
  16. FUNC BYTE readfin FORWARD();
  17. FUNC UINT readfinuint FORWARD();
  18. FUNC LONG readfinlong FORWARD();
  19. PROC writearray FORWARD(PBYTE parray, UINT size, PCHAR filename);
  20. FUNC PBYTE openwrite FORWARD(PCHAR s);
  21. //PROC closewrite FORWARD(PBYTE file);
  22.  
  23. FUNC PBYTE loadfile FORWARD(PCHAR filename, PBYTE addr);
  24.  
  25. FUNC UINT readsectors FORWARD(PBYTE buf, UINT trsec, BYTE count);
  26. FUNC UINT writesectors FORWARD(PBYTE buf, UINT trsec, BYTE count);
  27.  
  28. FUNC PCHAR findlastslash FORWARD(PCHAR s);
  29. //FUNC BOOL comparedesc FORWARD(PCHAR filename, PBYTE desc);
  30.  
  31. //do define:
  32. //FCB1 ;aligned ;len=0x0200*files
  33. //DOSBUF ;aligned ;len=0x100
  34.