home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / diverses / text_cla / fio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-12  |  1.3 KB  |  66 lines

  1. /***********************************************************************
  2. **+
  3. **  Module Name:  fio.h
  4. **
  5. **  Description:  fio defines
  6. **
  7. **  Written by:  John Tal
  8. **
  9. **
  10. **  Modification history:
  11. **
  12. **  Date         Engineer     Mod #          Modification Description
  13. **
  14. **  12-FEB-1992  Tal          v 1.0-000      Initial release
  15. **-
  16. ***********************************************************************/
  17.  
  18. #ifdef FIO_H
  19. #else
  20. #define FIO_H
  21.  
  22. #include <stdio.h>
  23. #include <errno.h>
  24. #include <sys/types.h>
  25. #include <sys/stat.h>
  26. #include <sys/timeb.h>
  27.  
  28.  
  29. #include <memincs.h>
  30.  
  31.  
  32. #define FIO_PERIOD   '.'
  33. #define FIO_SEED_PATH_LEN 64
  34. #define FIO_MAX_EXTENSION 999
  35. #define FIO_EXTENSION_LEN 3
  36.  
  37. #define FIO_OK  0
  38. #define FIO_NO_FILE -1
  39. #define FIO_FILE_OLD -2
  40. #define FIO_NO_CHAR -3
  41.  
  42. #ifndef TRUE
  43. #define TRUE 1
  44. #define FALSE 0
  45. #endif
  46.  
  47.  
  48. #ifdef C_ANSI
  49. SHORT APIENTRY FioGetFile(PCHAR);
  50. SHORT APIENTRY FioRemoveFile(PCHAR);
  51. SHORT APIENTRY FioIncSeedPathName(PCHAR);
  52. SHORT APIENTRY FioFindChar(PCHAR,CHAR);
  53. SHORT APIENTRY FioCheckFileClear(PCHAR);
  54. SHORT APIENTRY FioReplaceExt(PCHAR,PCHAR);
  55. #else
  56. SHORT APIENTRY FioGetFile();
  57. SHORT APIENTRY FioRemoveFile();
  58. SHORT APIENTRY FioIncSeedPathName();
  59. SHORT APIENTRY FioFindChar();
  60. SHORT APIENTRY FioCheckFileClear();
  61. SHORT APIENTRY FioReplaceExt();
  62. #endif
  63.  
  64.  
  65. #endif
  66.