OpenMPI  0.1.1
errhandler_predefined.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-2005 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$
13  *
14  * Additional copyrights may follow
15  *
16  * $HEADER$
17  */
18 
19 #ifndef OMPI_ERRHANDLER_PREDEFINED_H
20 #define OMPI_ERRHANDLER_PREDEFINED_H
21 
22 #include "ompi_config.h"
23 
24 struct ompi_communicator_t;
25 struct ompi_file_t;
26 struct ompi_win_t;
27 
28 /**
29  * Handler function for MPI_ERRORS_ARE_FATAL
30  */
31 OMPI_DECLSPEC void ompi_mpi_errors_are_fatal_comm_handler(struct ompi_communicator_t **comm,
32  int *error_code, ...);
33 OMPI_DECLSPEC void ompi_mpi_errors_are_fatal_file_handler(struct ompi_file_t **file,
34  int *error_code, ...);
35 OMPI_DECLSPEC void ompi_mpi_errors_are_fatal_win_handler(struct ompi_win_t **win,
36  int *error_code, ...);
37 
38 /**
39  * Handler function for MPI_ERRORS_RETURN
40  */
41 OMPI_DECLSPEC void ompi_mpi_errors_return_comm_handler(struct ompi_communicator_t **comm,
42  int *error_code, ...);
43 OMPI_DECLSPEC void ompi_mpi_errors_return_file_handler(struct ompi_file_t **file,
44  int *error_code, ...);
45 OMPI_DECLSPEC void ompi_mpi_errors_return_win_handler(struct ompi_win_t **win,
46  int *error_code, ...);
47 
48 
49 #endif /* OMPI_ERRHANDLER_PREDEFINED_H */
Definition: win.h:53
Back-end structure for MPI_File.
Definition: file.h:42
Definition: communicator.h:118