root/ompi/mca/io/romio321/romio/adio/common/ad_features.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. ADIOI_GEN_Feature

   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 
   9 int ADIOI_GEN_Feature(ADIO_File fd, int flag)
  10 {
  11         switch(flag) {
  12                 case ADIO_LOCKS:
  13                 case ADIO_SHARED_FP:
  14                 case ADIO_ATOMIC_MODE:
  15                 case ADIO_DATA_SIEVING_WRITES:
  16                 case ADIO_UNLINK_AFTER_CLOSE:
  17                 case ADIO_TWO_PHASE:
  18                 case ADIO_SCALABLE_RESIZE:
  19                         return 1;
  20                         break;
  21                 case ADIO_SCALABLE_OPEN:
  22                 default:
  23                         return 0;
  24                         break;
  25         }
  26 }

/* [<][>][^][v][top][bottom][index][help] */