filetools.h 979 B

12345678910111213141516171819202122232425262728293031323334
  1. // © 2016 and later: Unicode, Inc. and others.
  2. // License & terms of use: http://www.unicode.org/copyright.html
  3. /*
  4. *******************************************************************************
  5. *
  6. * Copyright (C) 2009, International Business Machines
  7. * Corporation and others. All Rights Reserved.
  8. *
  9. *******************************************************************************
  10. * file name: filetools.h
  11. * encoding: UTF-8
  12. * tab size: 8 (not used)
  13. * indentation:4
  14. *
  15. * created on: 2009jan09
  16. * created by: Michael Ow
  17. *
  18. * Contains various functions to handle files.
  19. * Not suitable for production use. Not supported.
  20. * Not conformant. Not efficient.
  21. */
  22. #ifndef __FILETOOLS_H__
  23. #define __FILETOOLS_H__
  24. #include "unicode/utypes.h"
  25. U_CAPI UBool U_EXPORT2
  26. isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE);
  27. U_CAPI void U_EXPORT2
  28. swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
  29. #endif