root/ompi/mca/io/romio321/romio/adio/ad_pvfs2/ad_pvfs2.h

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

INCLUDED FROM


   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
   2 /* 
   3  *
   4  *   Copyright (C) 1997 University of Chicago. 
   5  *   See COPYRIGHT notice in top-level directory.
   6  */
   7 
   8 #ifndef AD_PVFS2_INCLUDE
   9 #define AD_PVFS2_INCLUDE
  10 
  11 #include "adio.h"
  12 #ifdef HAVE_PVFS2_H
  13 #include "pvfs2.h"
  14 #endif
  15 
  16 #ifdef PVFS2_VERSION_MAJOR
  17 #include "pvfs2-compat.h"
  18 #endif
  19 
  20 void ADIOI_PVFS2_Open(ADIO_File fd, int *error_code);
  21 void ADIOI_PVFS2_Close(ADIO_File fd, int *error_code);
  22 void ADIOI_PVFS2_ReadContig(ADIO_File fd, void *buf, int count, 
  23                       MPI_Datatype datatype, int file_ptr_type,
  24                      ADIO_Offset offset, ADIO_Status *status, int
  25                      *error_code);
  26 void ADIOI_PVFS2_WriteContig(ADIO_File fd, const void *buf, int count,
  27                       MPI_Datatype datatype, int file_ptr_type,
  28                       ADIO_Offset offset, ADIO_Status *status, int
  29                       *error_code);   
  30 void ADIOI_PVFS2_Fcntl(ADIO_File fd, int flag, ADIO_Fcntl_t *fcntl_struct, int
  31                 *error_code); 
  32 void ADIOI_PVFS2_WriteStrided(ADIO_File fd, const void *buf, int count,
  33                        MPI_Datatype datatype, int file_ptr_type,
  34                        ADIO_Offset offset, ADIO_Status *status, int
  35                        *error_code);
  36 void ADIOI_PVFS2_ReadStrided(ADIO_File fd, void *buf, int count,
  37                        MPI_Datatype datatype, int file_ptr_type,
  38                        ADIO_Offset offset, ADIO_Status *status, int
  39                        *error_code);
  40 void ADIOI_PVFS2_Flush(ADIO_File fd, int *error_code);
  41 void ADIOI_PVFS2_Delete(const char *filename, int *error_code);
  42 void ADIOI_PVFS2_Resize(ADIO_File fd, ADIO_Offset size, int *error_code);
  43 void ADIOI_PVFS2_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code);
  44 int ADIOI_PVFS2_Feature(ADIO_File fd, int flag);
  45 
  46 void ADIOI_PVFS2_IReadContig(ADIO_File fd, void *buf, int count, 
  47                             MPI_Datatype datatype, int file_ptr_type,
  48                             ADIO_Offset offset, MPI_Request *request,
  49                             int *error_code);
  50 void ADIOI_PVFS2_IWriteContig(ADIO_File fd, const void *buf, int count,
  51                             MPI_Datatype datatype, int file_ptr_type,
  52                             ADIO_Offset offset, MPI_Request *request,
  53                             int *error_code);
  54 void ADIOI_PVFS2_AIO_contig(ADIO_File fd, void *buf, int count, 
  55                             MPI_Datatype datatype, int file_ptr_type,
  56                             ADIO_Offset offset, MPI_Request *request,
  57                             int flag, int *error_code);
  58 void ADIOI_PVFS2_OldWriteStrided(ADIO_File fd, const void *buf, int count,
  59                        MPI_Datatype datatype, int file_ptr_type,
  60                        ADIO_Offset offset, ADIO_Status *status, int
  61                        *error_code);
  62 void ADIOI_PVFS2_OldReadStrided(ADIO_File fd, void *buf, int count,
  63                        MPI_Datatype datatype, int file_ptr_type,
  64                        ADIO_Offset offset, ADIO_Status *status, int
  65                        *error_code);
  66 
  67 int ADIOI_PVFS2_WriteStridedListIO(ADIO_File fd, const void *buf, int count,
  68                                    MPI_Datatype datatype, int file_ptr_type,
  69                                    ADIO_Offset offset, ADIO_Status *status,
  70                                    int *error_code);
  71 int ADIOI_PVFS2_WriteStridedDtypeIO(ADIO_File fd, const void *buf, int count,
  72                                     MPI_Datatype datatype, int file_ptr_type,
  73                                     ADIO_Offset offset, ADIO_Status *status,
  74                                     int *error_code);
  75 
  76 #endif

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