OpenMPI  0.1.1
sharedfp_dummy.h
1 /*
2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2006 The University of Tennessee and The University
6  * of Tennessee Research Foundation. All rights
7  * reserved.
8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9  * University of Stuttgart. All rights reserved.
10  * Copyright (c) 2004-2005 The Regents of the University of California.
11  * All rights reserved.
12  * Copyright (c) 2008-2011 University of Houston. All rights reserved.
13  * $COPYRIGHT$
14  *
15  * Additional copyrights may follow
16  *
17  * $HEADER$
18  */
19 
20 #ifndef MCA_SHAREDFP_DUMMY_H
21 #define MCA_SHAREDFP_DUMMY_H
22 
23 #include "ompi_config.h"
24 #include "opal/mca/mca.h"
25 #include "ompi/mca/sharedfp/sharedfp.h"
26 #include "ompi/mca/io/ompio/io_ompio.h"
27 
28 
29 BEGIN_C_DECLS
30 
31 int mca_sharedfp_dummy_component_init_query(bool enable_progress_threads,
32  bool enable_mpi_threads);
34 mca_sharedfp_dummy_component_file_query (int *priority);
35 int mca_sharedfp_dummy_component_file_unquery (mca_io_ompio_file_t *file);
36 
37 int mca_sharedfp_dummy_module_init (mca_io_ompio_file_t *file);
38 int mca_sharedfp_dummy_module_finalize (mca_io_ompio_file_t *file);
39 
40 OMPI_MODULE_DECLSPEC extern mca_sharedfp_base_component_2_0_0_t mca_sharedfp_dummy_component;
41 /*
42  * ******************************************************************
43  * ********* functions which are implemented in this module *********
44  * ******************************************************************
45  */
46 
47 int mca_sharedfp_dummy_update (mca_io_ompio_file_t *fh,
48  int num_bytes,
49  OMPI_MPI_OFFSET_TYPE current_position);
50 int mca_sharedfp_dummy_seek (mca_io_ompio_file_t *fh,
51  OMPI_MPI_OFFSET_TYPE position);
52 
53 /*
54  * ******************************************************************
55  * ************ functions implemented in this module end ************
56  * ******************************************************************
57  */
58 
59 END_C_DECLS
60 
61 #endif /* MCA_SHAREDFP_DUMMY_H */
Definition: sharedfp.h:84
Top-level interface for all MCA components.
Back-end structure for MPI_File.
Definition: io_ompio.h:121
Definition: sharedfp.h:120