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 23 #ifndef __FILETOOLS_H__ 24 #define __FILETOOLS_H__ 25 26 #include "unicode/utypes.h" 27 28 U_CAPI UBool U_EXPORT2 29 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE); 30 31 U_CAPI void U_EXPORT2 32 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar); 33 34 #endif 35