1 #ifndef TECPLOT_SYSTEM_H 2 #define TECPLOT_SYSTEM_H 3 4 /* 5 ***************************************************************** 6 ***************************************************************** 7 ******* ******** 8 ****** Copyright (C) 1988-2010 Tecplot, Inc. ******* 9 ******* ******** 10 ***************************************************************** 11 ***************************************************************** 12 */ 13 #if defined EXTERN 14 #undef EXTERN 15 #endif 16 #if defined SYSTEMMODULE 17 #define EXTERN 18 #else 19 #define EXTERN extern 20 #endif 21 22 /* 23 * Windows has trouble with large chunks across SAMBA mounted file systems (not sure 24 * where the limit is). 25 */ 26 #define MAX_BYTES_PER_CHUNK 131072L // ...== 2^17 27 28 #if defined TECPLOTKERNEL 29 /* CORE SOURCE CODE REMOVED */ 30 #endif 31 #if defined TECPLOTKERNEL 32 /* CORE SOURCE CODE REMOVED */ 33 #endif 34 EXTERN int OpenFileListGetCount(void); 35 EXTERN char *GetLongFileName(const char *FileName); 36 EXTERN Boolean_t VerifyToOverwriteFile(const char *FName); 37 EXTERN Boolean_t IsValidDirectory(const char *FName); 38 EXTERN Boolean_t FileExists(const char *F, 39 Boolean_t ShowErr); 40 EXTERN void ErrFName(const char *FName); 41 EXTERN Boolean_t IsValidFileName(const char *FileName, 42 Boolean_t IsReading, 43 Boolean_t ShowError); 44 EXTERN Boolean_t ResizeFile(FILE *File, 45 Int64_t Length); 46 EXTERN Boolean_t Close_File(FILE **F, 47 Boolean_t ShowErr); 48 EXTERN Boolean_t Open_File(FILE **F, 49 const char *FName, 50 Boolean_t IsReading, 51 Boolean_t IsAppending, 52 Boolean_t ForceOpen, 53 Boolean_t ShowErr, 54 Boolean_t IsAscii); 55 56 #endif 57