1
1
openmpi/src/file/file.h

41 строка
750 B
C
Исходник Обычный вид История

/*
* $HEADER$
*/
#ifndef LAM_FILE_H
#define LAM_FILE_H
#include "mpi.h"
#include "errhandler/errhandler.h"
#include "mca/io/io.h"
typedef enum {
LAM_IO_1_0_0,
LAM_IO_2_0_0
} lam_io_version_t;
struct lam_file_t {
char f_name[MPI_MAX_OBJECT_NAME];
lam_io_version_t lam_io_version;
/* Hooks for io modules to hang things */
union {
mca_io_1_0_0_t f_io;
} mca_io_functions;
/* index in Fortran <-> C translation array */
int f_f_to_c_index;
/* Error handling. This field does not have the "f_" prefix so that
the LAM_ERRHDL_* macros can find it, regardless of whether it's a
comm, window, or file. */
lam_errhandler_t *error_handler;
};
typedef struct lam_file_t lam_file_t;
#endif /* LAM_FILE_H */