2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2007 - INRIA - Allan CORNET
5 * Copyright (C) 2012 - 2016 - Scilab Enterprises
7 * This file is hereby licensed under the terms of the GNU GPL v2.0,
8 * pursuant to article 5.3.4 of the CeCILL v.2.1.
9 * This file was originally licensed under the terms of the CeCILL v2.1,
10 * and continues to be available under such terms.
11 * For more information, see the COPYING file which you should have received
12 * along with this program.
15 /*--------------------------------------------------------------------------*/
16 #ifndef __GETLONGPATHNAME_H__
17 #define __GETLONGPATHNAME_H__
20 #include "BOOL.h" /* BOOL */
21 #include "dynlib_fileio.h"
24 * Retrieves the long path form of the specified path
25 * @param[in] short path name
26 * @param[out] TRUE if conversion is ok
27 * @return long path name
28 * on Linux returns same path name
31 FILEIO_IMPEXP char *getlongpathname(const char *shortpathname, BOOL *convertok);
34 * Retrieves the long path form of the specified path (wide string)
35 * @param[in] short path name
36 * @param[out] TRUE if conversion is ok
37 * @return long path name
38 * on Linux returns same path name
41 FILEIO_IMPEXP wchar_t *getlongpathnameW(const wchar_t *wcshortpathname, BOOL *convertok);
44 #endif /* __GETLONGPATHNAME_H__ */
45 /*--------------------------------------------------------------------------*/