root/opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_list.c

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

DEFINITIONS

This source file includes following definitions.
  1. cl_constructor
  2. cpl_constructor

   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-2005 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 (c) 2016      Intel, Inc. All rights reserved
  13  * $COPYRIGHT$
  14  *
  15  * Additional copyrights may follow
  16  *
  17  * $HEADER$
  18  */
  19 
  20 #include <src/include/pmix_config.h>
  21 
  22 #include "src/class/pmix_list.h"
  23 #include "src/mca/base/base.h"
  24 
  25 
  26 /*
  27  * Local functions
  28  */
  29 static void cl_constructor(pmix_object_t *obj);
  30 static void cpl_constructor(pmix_object_t *obj);
  31 
  32 
  33 /*
  34  * Class instance of the pmix_mca_base_component_list_item_t class
  35  */
  36 PMIX_CLASS_INSTANCE(pmix_mca_base_component_list_item_t,
  37                    pmix_list_item_t, cl_constructor, NULL);
  38 
  39 
  40 /*
  41  * Class instance of the pmix_mca_base_component_priority_list_item_t class
  42  */
  43 PMIX_CLASS_INSTANCE(pmix_mca_base_component_priority_list_item_t,
  44                    pmix_mca_base_component_list_item_t, cpl_constructor, NULL);
  45 
  46 
  47 /*
  48  * Just do basic sentinel intialization
  49  */
  50 static void cl_constructor(pmix_object_t *obj)
  51 {
  52   pmix_mca_base_component_list_item_t *cli = (pmix_mca_base_component_list_item_t *) obj;
  53   cli->cli_component = NULL;
  54 }
  55 
  56 
  57 /*
  58  * Just do basic sentinel intialization
  59  */
  60 static void cpl_constructor(pmix_object_t *obj)
  61 {
  62   pmix_mca_base_component_priority_list_item_t *cpli =
  63     (pmix_mca_base_component_priority_list_item_t *) obj;
  64   cpli->cpli_priority = -1;
  65 }

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