Debian Codegraph @

debian/external_deps/fetk/maloc/src/psh/vcom_p.h

raw
1 /*
2 * ***************************************************************************
3 * MALOC = < Minimal Abstraction Layer for Object-oriented C >
4 * Copyright (C) 1994-- Michael Holst
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 * rcsid="$Id: vcom_p.h,v 1.9 2010/08/12 05:40:21 fetk Exp $"
21 * ***************************************************************************
22 */
23
24 /*
25 * ***************************************************************************
26 * File: vcom_p.h
27 *
28 * Purpose: PRIVATE header.
29 *
30 * Author: Michael Holst
31 * ***************************************************************************
32 */
33
34 #ifndef _VCOM_P_H_
35 #define _VCOM_P_H_
36
37 #include <maloc/vcom.h>
38 #include "maloccf.h"
39
40 #if defined(HAVE_MPI_H)
41 # include <mpi.h>
42 #endif
43
44 typedef struct Vcom_core {
45 #if defined(HAVE_MPI_H)
46 MPI_Status mpi_status; /* MPI_Status object (4-int struct) */
47 MPI_Request mpi_request; /* MPI_Request object (union of structs) */
48 MPI_Comm mpi_comm; /* MPI_Comm object (int) */
49 #else
50 int mpi_status;
51 int mpi_request;
52 int mpi_comm;
53 #endif
54 } Vcom_core;
55
56 #endif /* _VCOM_P_H_ */
57