home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / VFNAME.H < prev    next >
Text File  |  1997-07-05  |  1KB  |  44 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /*
  4. **  Configuration header file for VFNAME.C
  5. */
  6.  
  7. /*
  8. **  Rules for MS/PC-DOS
  9. */
  10.  
  11. #define FNAME_MAX       12
  12. #define FNAME_SIZE_MAX  8
  13. #define FNAME_SIZE_MIN  1
  14. #define FEXT_SIZE_MAX   3
  15. #define FEXT_SIZE_MIN   0
  16. #define MULTIPLE_EXTS   False_
  17. #define PATH_SEP_CHARS  "\\/"
  18. #define INVALID_CHARS   " ,;:|<>\"+=[]"
  19. #define WILDCARD_CHARS  "*?"
  20. #define DEVICE_LIST_3   {"AUX","CON","PRN","NUL",\
  21.                         "aux","con","prn","nul",NULL}
  22. #define DEVICE_LIST_4   {"LPT1","LPT2","LPT3","COM1","COM2","COM3","COM4",\
  23.                         "lpt1","lpt2","lpt3","com1","com2","com3","com4",NULL}
  24. #define DEVICE_LIST_6   {"CLOCK$","clock$",NULL}
  25.  
  26. #if 0
  27.  /*
  28.  **  Rules for Posix
  29.  */
  30.  
  31.  #define FNAME_MAX      _PC_NAME_MAX
  32.  #define FNAME_SIZE_MAX _PC_NAME_MAX
  33.  #define FNAME_SIZE_MIN 0
  34.  #define FEXT_SIZE_MAX  _PC_NAME_MAX
  35.  #define FEXT_SIZE_MIN  0
  36.  #define MULTIPLE_EXTS  True_
  37.  #define PATH_SEP_CHARS "/"
  38.  #define INVALID_CHARS  " ,;:|<>\"\'+=(){}!@#%&!~`"
  39.  #define WILDCARD_CHARS "*?[]^$"
  40.  #define DEVICE_LIST_3  {"nul",NULL}
  41.  #define DEVICE_LIST_4  {"",NULL}
  42.  #define DEVICE_LIST_6  {"",NULL}
  43. #endif
  44.