root/opal/mca/reachable/base/reachable_base_frame.c

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

DEFINITIONS

This source file includes following definitions.
  1. opal_reachable_base_frame_register
  2. opal_reachable_base_frame_close
  3. opal_reachable_base_frame_open

   1 /*
   2  * Copyright (c) 2014      Intel, Inc. All rights reserved.
   3  * Copyright (c) 2015      Research Organization for Information Science
   4  *                         and Technology (RIST). All rights reserved.
   5  * $COPYRIGHT$
   6  *
   7  * Additional copyrights may follow
   8  *
   9  * $HEADER$
  10  */
  11 
  12 
  13 #include "opal_config.h"
  14 #include "opal/constants.h"
  15 
  16 #include "opal/mca/mca.h"
  17 #include "opal/util/output.h"
  18 #include "opal/mca/base/base.h"
  19 
  20 #include "opal/mca/reachable/base/base.h"
  21 
  22 
  23 /*
  24  * The following file was created by configure.  It contains extern
  25  * components and the definition of an array of pointers to each
  26  * module's public mca_base_module_t struct.
  27  */
  28 
  29 #include "opal/mca/reachable/base/static-components.h"
  30 
  31 opal_reachable_base_module_t opal_reachable = {0};
  32 
  33 static int opal_reachable_base_frame_register(mca_base_register_flag_t flags)
  34 {
  35     return OPAL_SUCCESS;
  36 }
  37 
  38 static int opal_reachable_base_frame_close(void)
  39 {
  40     return mca_base_framework_components_close(&opal_reachable_base_framework, NULL);
  41 }
  42 
  43 static int opal_reachable_base_frame_open(mca_base_open_flag_t flags)
  44 {
  45     /* Open up all available components */
  46     return mca_base_framework_components_open(&opal_reachable_base_framework, flags);
  47 }
  48 
  49 MCA_BASE_FRAMEWORK_DECLARE(opal, reachable, "OPAL Reachability Framework",
  50                            opal_reachable_base_frame_register,
  51                            opal_reachable_base_frame_open,
  52                            opal_reachable_base_frame_close,
  53                            mca_reachable_base_static_components, 0);

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