root/ompi/mca/io/romio321/romio/adio/ad_pvfs/ad_pvfs.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_PVFS_INCLUDE
   9 #define AD_PVFS_INCLUDE
  10 
  11 #ifndef ROMIOCONF_H_INCLUDED
  12 #include "romioconf.h"
  13 #define ROMIOCONF_H_INCLUDED
  14 #endif
  15 #ifdef ROMIO_PVFS_NEEDS_INT64_DEFINITION
  16 typedef long long int int64_t;
  17 #endif
  18 
  19 #include <unistd.h>
  20 #include <sys/types.h>
  21 #include <sys/uio.h>
  22 #include <fcntl.h>
  23 #ifdef HAVE_PVFS_H
  24 #include <pvfs.h>
  25 #endif
  26 #include "adio.h"
  27 
  28 void ADIOI_PVFS_Open(ADIO_File fd, int *error_code);
  29 void ADIOI_PVFS_Close(ADIO_File fd, int *error_code);
  30 void ADIOI_PVFS_ReadContig(ADIO_File fd, void *buf, int count, 
  31                       MPI_Datatype datatype, int file_ptr_type,
  32                      ADIO_Offset offset, ADIO_Status *status, int
  33                      *error_code);
  34 void ADIOI_PVFS_WriteContig(ADIO_File fd, void *buf, int count, 
  35                       MPI_Datatype datatype, int file_ptr_type,
  36                       ADIO_Offset offset, ADIO_Status *status, int
  37                       *error_code);   
  38 void ADIOI_PVFS_Fcntl(ADIO_File fd, int flag, ADIO_Fcntl_t *fcntl_struct, int
  39                 *error_code); 
  40 void ADIOI_PVFS_WriteStrided(ADIO_File fd, void *buf, int count,
  41                        MPI_Datatype datatype, int file_ptr_type,
  42                        ADIO_Offset offset, ADIO_Status *status, int
  43                        *error_code);
  44 void ADIOI_PVFS_ReadStrided(ADIO_File fd, void *buf, int count,
  45                        MPI_Datatype datatype, int file_ptr_type,
  46                        ADIO_Offset offset, ADIO_Status *status, int
  47                        *error_code);
  48 void ADIOI_PVFS_Flush(ADIO_File fd, int *error_code);
  49 void ADIOI_PVFS_Delete(char *filename, int *error_code);
  50 void ADIOI_PVFS_Resize(ADIO_File fd, ADIO_Offset size, int *error_code);
  51 void ADIOI_PVFS_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code);
  52 
  53 
  54 #endif

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