/*
 * Copyright (c) 2004-2005 The Trustees of Indiana University.
 *                         All rights reserved.
 * Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
 *                         All rights reserved.
 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 
 *                         University of Stuttgart.  All rights reserved.
 * Copyright (c) 2004-2005 The Regents of the University of California.
 *                         All rights reserved.
 * $COPYRIGHT$
 * 
 * Additional copyrights may follow
 * 
 * $HEADER$
 */
/**
 * @file
 */
#ifndef MCA_PTL_MX_PEER_H
#define MCA_PTL_MX_PEER_H

#include "ompi_config.h"
#include <myriexpress.h>

/**
 *  An abstraction that represents a a peer process.
*/
struct mca_ptl_base_peer_t {
    ompi_list_item_t peer_item;
    mx_endpoint_addr_t peer_addr;
    struct mca_ptl_mx_module_t* peer_ptl;
    struct mca_ptl_mx_proc_t* peer_proc;
    bool peer_nbo; 
};
typedef struct mca_ptl_base_peer_t mca_ptl_base_peer_t;
typedef struct mca_ptl_base_peer_t mca_ptl_mx_peer_t;

OBJ_CLASS_DECLARATION(mca_ptl_mx_peer_t);


#endif