root/opal/mca/pmix/pmix4x/pmix/src/mca/plog/stdfd/plog_stdfd_component.c

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

DEFINITIONS

This source file includes following definitions.
  1. component_query

   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
   2 /*
   3  * Copyright (c) 2018      Intel, Inc.  All rights reserved.
   4  * $COPYRIGHT$
   5  *
   6  * Additional copyrights may follow
   7  *
   8  * $HEADER$
   9 */
  10 
  11 /*
  12  * includes
  13  */
  14 #include "pmix_config.h"
  15 #include "pmix_common.h"
  16 
  17 #include "plog_stdfd.h"
  18 
  19 
  20 static pmix_status_t component_query(pmix_mca_base_module_t **module,
  21                                      int *priority);
  22 
  23 /*
  24  * Struct of function pointers that need to be initialized
  25  */
  26 pmix_plog_base_component_t mca_plog_stdfd_component = {
  27     .base = {
  28         PMIX_PLOG_BASE_VERSION_1_0_0,
  29 
  30         .pmix_mca_component_name = "stdfd",
  31         PMIX_MCA_BASE_MAKE_VERSION(component, PMIX_MAJOR_VERSION, PMIX_MINOR_VERSION,
  32                               PMIX_RELEASE_VERSION),
  33         .pmix_mca_query_component = component_query,
  34     },
  35     .data = {
  36         /* The component is checkpoint ready */
  37         PMIX_MCA_BASE_METADATA_PARAM_CHECKPOINT
  38     },
  39 };
  40 
  41 static pmix_status_t component_query(pmix_mca_base_module_t **module,
  42                                      int *priority)
  43 {
  44     *priority = 5;
  45     *module = (pmix_mca_base_module_t *)&pmix_plog_stdfd_module;
  46     return PMIX_SUCCESS;
  47 }

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