osdep.h 869 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. Copyright (c) 1990-1999 Info-ZIP. All rights reserved.
  3. See the accompanying file LICENSE, version 1999-Oct-05 or later
  4. (the contents of which are also included in zip.h) for terms of use.
  5. If, for some reason, both of these files are missing, the Info-ZIP license
  6. also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html
  7. */
  8. #ifndef _QDOS_OPDEP
  9. #define _QDOS_OPDEP
  10. #include <stdlib.h>
  11. #include <sys/stat.h>
  12. #include <fcntl.h>
  13. #include <string.h>
  14. #include <ctype.h>
  15. char * ql2Unix(char *);
  16. char * Unix2ql(char *, char **);
  17. int wild (char *);
  18. char *LastDir(char *);
  19. void QDOSexit(void);
  20. short devlen(char *);
  21. /*
  22. * XXX NO_RENAME instead of the following define ?
  23. */
  24. #define link rename
  25. #define USE_CASE_MAP
  26. #define USE_EF_UT_TIME
  27. #define PROCNAME(n) (action == ADD || action == UPDATE ? wild(n) : \
  28. procname(n, 1))
  29. #endif