root/opal/mca/btl/template/btl_template_endpoint.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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$
  13  *
  14  * Additional copyrights may follow
  15  *
  16  * $HEADER$
  17  */
  18 
  19 #ifndef MCA_BTL_TEMPLATE_ENDPOINT_H
  20 #define MCA_BTL_TEMPLATE_ENDPOINT_H
  21 
  22 #include "opal/class/opal_list.h"
  23 #include "opal/mca/event/event.h"
  24 #include "btl_template_frag.h"
  25 #include "btl_template.h"
  26 BEGIN_C_DECLS
  27 
  28 /**
  29  * An abstraction that represents a connection to a endpoint process.
  30  * An instance of mca_btl_base_endpoint_t is associated w/ each process
  31  * and BTL pair at startup. However, connections to the endpoint
  32  * are established dynamically on an as-needed basis:
  33  */
  34 
  35 struct mca_btl_base_endpoint_t {
  36     opal_list_item_t            super;
  37 
  38     struct mca_btl_template_module_t* endpoint_btl;
  39     /**< BTL instance that created this connection */
  40 
  41     struct mca_btl_template_proc_t*   endpoint_proc;
  42     /**< proc structure corresponding to endpoint */
  43 };
  44 
  45 typedef struct mca_btl_base_endpoint_t mca_btl_base_endpoint_t;
  46 typedef mca_btl_base_endpoint_t  mca_btl_template_endpoint_t;
  47 OBJ_CLASS_DECLARATION(mca_btl_template_endpoint_t);
  48 
  49 END_C_DECLS
  50 #endif

/* [<][>][^][v][top][bottom][index][help] */