
00001 /* -*- Mode: C; c-basic-offset:4 ; -*- */ 00002 /* 00003 * $Id$ 00004 * 00005 * Copyright (C) 2002 University of Chicago. 00006 * See COPYRIGHT notice in top-level directory. 00007 */ 00008 00009 #include "adio.h" 00010 00011 /* we special-case TESTFS because all it does is wrap logging info around GEN */ 00012 int ADIOI_Uses_generic_read(ADIO_File fd) 00013 { 00014 ADIOI_Fns *fns = fd->fns; 00015 if (fns->ADIOI_xxx_ReadStridedColl == ADIOI_GEN_ReadStridedColl || 00016 fd->file_system == ADIO_TESTFS ) 00017 { 00018 return 1; 00019 } 00020 return 0; 00021 } 00022 00023 int ADIOI_Uses_generic_write(ADIO_File fd) 00024 { 00025 ADIOI_Fns *fns = fd->fns; 00026 if (fns->ADIOI_xxx_WriteStridedColl == ADIOI_GEN_WriteStridedColl || 00027 fd->file_system == ADIO_TESTFS ) 00028 { 00029 return 1; 00030 } 00031 return 0; 00032 }
1.5.5