Blender V2.61 - r43446
|
00001 /* 00002 * ***** BEGIN GPL LICENSE BLOCK ***** 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public License 00006 * as published by the Free Software Foundation; either version 2 00007 * of the License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software Foundation, 00016 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 * 00018 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. 00019 * All rights reserved. 00020 * 00021 * The Original Code is: all of this file. 00022 * 00023 * Contributor(s): none yet. 00024 * 00025 * ***** END GPL LICENSE BLOCK ***** 00026 */ 00027 00028 #ifndef BLI_FILEOPS_TYPES_H 00029 #define BLI_FILEOPS_TYPES_H 00030 00036 #include <sys/stat.h> 00037 00038 #if defined(WIN32) && !defined(FREE_WINDOWS) 00039 typedef unsigned int mode_t; 00040 #endif 00041 00042 struct ImBuf; 00043 00044 struct direntry{ 00045 char *string; 00046 mode_t type; 00047 char *relname; 00048 char *path; 00049 #if (defined(WIN32) || defined(WIN64)) && (_MSC_VER>=1500) 00050 struct _stat64 s; 00051 #elif defined(__MINGW32__) 00052 struct _stati64 s; 00053 #else 00054 struct stat s; 00055 #endif 00056 unsigned int flags; 00057 char size[16]; 00058 char mode1[4]; 00059 char mode2[4]; 00060 char mode3[4]; 00061 char owner[16]; 00062 char time[8]; 00063 char date[16]; 00064 char extra[16]; 00065 void *poin; 00066 int nr; 00067 struct ImBuf *image; 00068 unsigned int selflag; /* selection flag */ 00069 }; 00070 00071 struct dirlink 00072 { 00073 struct dirlink *next,*prev; 00074 char *name; 00075 }; 00076 00077 #endif /* BLI_FILEOPS_TYPES_H */ 00078