root/orte/mca/routed/routed_types.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2008-2013 Los Alamos National Security, LLC.
   3  *                         All rights reserved.
   4  * Copyright (c) 2004-2008 The Trustees of Indiana University.
   5  *                         All rights reserved.
   6  * $COPYRIGHT$
   7  *
   8  * Additional copyrights may follow
   9  *
  10  * $HEADER$
  11  */
  12 
  13 /**
  14  * @file
  15  *
  16  * Type definitions to support routed framework
  17  */
  18 
  19 
  20 #ifndef ORTE_MCA_ROUTED_TYPES_H_
  21 #define ORTE_MCA_ROUTED_TYPES_H_
  22 
  23 #include "orte_config.h"
  24 #include "orte/types.h"
  25 
  26 #include "opal/class/opal_bitmap.h"
  27 #include "opal/class/opal_list.h"
  28 
  29 BEGIN_C_DECLS
  30 
  31 /* struct for tracking routing trees */
  32 typedef struct {
  33     opal_list_item_t super;
  34     orte_vpid_t vpid;
  35     opal_bitmap_t relatives;
  36 } orte_routed_tree_t;
  37 ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_routed_tree_t);
  38 
  39 /* struct for tracking external routes */
  40 typedef struct {
  41     opal_object_t super;
  42     uint16_t job_family;
  43     orte_process_name_t route;
  44     char *hnp_uri;
  45 } orte_routed_jobfam_t;
  46 ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_routed_jobfam_t);
  47 
  48 END_C_DECLS
  49 
  50 #endif

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