1 /*
2  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  * Copyright (C) 2007 - INRIA - Allan CORNET
4  *
5  * Copyright (C) 2012 - 2016 - Scilab Enterprises
6  *
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.
13  *
14  */
15 
16 /*--------------------------------------------------------------------------*/
17 #ifndef __URIFILETOFILENAME_H__
18 #define __URIFILETOFILENAME_H__
19 #include "dynlib_fileio.h"
20 #include "BOOL.h"
21 
22 /**
23 * convert URI File (file://path/filename.ext) to standard filename
24 * @param[in] uri : a string URI file
25 * @return a filename
26 */
27 FILEIO_IMPEXP char *URIFileToFilename(char *uri);
28 
29 /**
30 * check if it is a URIFile
31 * @param [in] uri : a string URI file
32 * @return TRUE or FALSE;
33 */
34 FILEIO_IMPEXP BOOL isURIFile(char *uri);
35 
36 #endif /* __URIFILETOFILENAME_H__ */
37 /*--------------------------------------------------------------------------*/
38