/* * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab * Copyright (C) 2009 - DIGITEO - Allan CORNET * * This file must be used under the terms of the CeCILL. * This source file is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt * */ /*--------------------------------------------------------------------------*/ #ifndef __COPYFILE_H__ #define __COPYFILE_H__ #include #include "dynlib_fileio.h" /** * copy a file * @param[in] destination filename * @param[in] source filename * @return error number */ FILEIO_IMPEXP int CopyFileFunction(wchar_t *DestinationFilename, wchar_t *SourceFilename); /** * copy a directory * @param[in] destination directory * @param[in] source directory * @return error number */ FILEIO_IMPEXP int CopyDirectoryFunction(wchar_t *DestinationDirectory, wchar_t *SourceDirectory); #endif /* __COPYFILE_H__ */ /*--------------------------------------------------------------------------*/