|
C/C++ Reference
|
00001 /* 00002 * ____ _________ __ _ 00003 * / __ \___ ____ _/ /_ __(_)___ ___ ___ / / ____ ____ _(_)____ 00004 * / /_/ / _ \/ __ `/ / / / / / __ `__ \/ _ \/ / / __ \/ __ `/ / ___/ 00005 * / _, _/ __/ /_/ / / / / / / / / / / / __/ /___/ /_/ / /_/ / / /__ 00006 * /_/ |_|\___/\__,_/_/ /_/ /_/_/ /_/ /_/\___/_____/\____/\__, /_/\___/ 00007 * /____/ 00008 * 00009 * Barracuda Embedded Web-Server 00010 * 00011 **************************************************************************** 00012 * HEADER 00013 * 00014 * $Id: BaFile.h 2648 2012-04-26 20:27:21Z wini $ 00015 * 00016 * COPYRIGHT: Real Time Logic, 2006 00017 * 00018 * This software is copyrighted by and is the sole property of Real 00019 * Time Logic LLC. All rights, title, ownership, or other interests in 00020 * the software remain the property of Real Time Logic LLC. This 00021 * software may only be used in accordance with the terms and 00022 * conditions stipulated in the corresponding license agreement under 00023 * which the software has been supplied. Any unauthorized use, 00024 * duplication, transmission, distribution, or disclosure of this 00025 * software is expressly forbidden. 00026 * 00027 * This Copyright notice may not be removed or modified without prior 00028 * written consent of Real Time Logic LLC. 00029 * 00030 * Real Time Logic LLC. reserves the right to modify this software 00031 * without notice. 00032 * 00033 * http://www.realtimelogic.com 00034 **************************************************************************** 00035 * 00036 * 00037 */ 00038 #ifndef __BaFile_h 00039 #define __BaFile_h 00040 00054 #include <IoIntf.h> 00055 00056 #ifdef __cplusplus 00057 extern "C" { 00058 #endif 00059 00062 BA_API DirIntfPtr baOpenDir(const char* dirname, int* status, const char** ecode); 00063 00066 BA_API int baCloseDir(DirIntfPtr* dirIntf); 00067 00070 BA_API int baStat(const char* name, IoStat* st); 00071 00072 00075 BA_API ResIntfPtr baOpenRes(const char* name,U32 mode,int* status,const char** ecode); 00076 00079 BA_API int baCloseRes(ResIntfPtr* fp); 00080 00081 00084 BA_API int baMkDir(const char* dname, const char** ecode); 00085 00088 BA_API int baRmdDir(const char* dname, const char** ecode); 00089 00090 00093 BA_API int baRemove(const char* fname, const char** ecode); 00094 00095 00096 /* Rename file or directory. 00097 */ 00098 BA_API int baRename(const char* from, const char* to, const char** ecode); 00099 00100 #ifdef __cplusplus 00101 } 00102 #endif 00103 /* end of BaFile */ 00105 00106 #endif