1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ 2 /* 3 * 4 * (C) 2008 by Argonne National Laboratory. 5 * See COPYRIGHT in top-level directory. 6 */ 7 #include "adio.h" 8 #include "ad_zoidfs.h" 9 10 int ADIOI_ZOIDFS_Feature(ADIO_File fd, int flag) 11 { 12 switch(flag) { 13 case ADIO_SCALABLE_OPEN: 14 return 1; 15 case ADIO_SHARED_FP: 16 case ADIO_LOCKS: 17 case ADIO_SEQUENTIAL: 18 case ADIO_DATA_SIEVING_WRITES: 19 default: 20 return 0; 21 } 22 }