00001 /* 00002 * *************************************************************************** 00003 * MALOC = < Minimal Abstraction Layer for Object-oriented C > 00004 * Copyright (C) 1994--2008 Michael Holst 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 * 00020 * rcsid="$Id: vcom_p.h,v 1.8 2008/03/12 05:13:58 fetk Exp $" 00021 * *************************************************************************** 00022 */ 00023 00024 /* 00025 * *************************************************************************** 00026 * File: vcom_p.h 00027 * 00028 * Purpose: PRIVATE header. 00029 * 00030 * Author: Michael Holst 00031 * *************************************************************************** 00032 */ 00033 00034 #ifndef _VCOM_P_H_ 00035 #define _VCOM_P_H_ 00036 00037 #include <maloc/vcom.h> 00038 #include "maloccf.h" 00039 00040 #if defined(HAVE_MPI_H) 00041 # include <mpi.h> 00042 #endif 00043 00044 typedef struct Vcom_core { 00045 #if defined(HAVE_MPI_H) 00046 MPI_Status mpi_status; /* MPI_Status object (4-int struct) */ 00047 MPI_Request mpi_request; /* MPI_Request object (union of structs) */ 00048 MPI_Comm mpi_comm; /* MPI_Comm object (int) */ 00049 #else 00050 int mpi_status; 00051 int mpi_request; 00052 int mpi_comm; 00053 #endif 00054 } Vcom_core; 00055 00056 #endif /* _VCOM_P_H_ */ 00057