root/ompi/mca/io/romio321/romio/adio/ad_xfs/ad_xfs.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_XFS_INCLUDE
   9 #define AD_XFS_INCLUDE
  10 
  11 #include <unistd.h>
  12 #include <sys/types.h>
  13 #include <fcntl.h>
  14 #include "adio.h"
  15 
  16 #if defined(MPISGI)
  17 #include "xfs/xfs_fs.h"
  18 #ifndef  __USE_LARGEFILE64
  19 #define  __USE_LARGEFILE64
  20 #endif
  21 typedef struct aiocb64 aiocb64_t;
  22 #endif
  23 
  24 void ADIOI_XFS_Open(ADIO_File fd, int *error_code);
  25 void ADIOI_XFS_Close(ADIO_File fd, int *error_code);
  26 void ADIOI_XFS_ReadContig(ADIO_File fd, 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_XFS_WriteContig(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_XFS_Fcntl(ADIO_File fd, int flag, ADIO_Fcntl_t *fcntl_struct, int
  35                 *error_code);
  36 void ADIOI_XFS_Resize(ADIO_File fd, ADIO_Offset size, int *error_code);
  37 void ADIOI_XFS_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code);
  38 
  39 #endif

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