root/ompi/mca/op/base/op_base_frame.c

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

DEFINITIONS

This source file includes following definitions.
  1. module_constructor
  2. module_constructor_1_0_0

   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) 2008-2009 Cisco Systems, Inc.  All rights reserved.
  13  * $COPYRIGHT$
  14  *
  15  * Additional copyrights may follow
  16  *
  17  * $HEADER$
  18  */
  19 
  20 
  21 #include "ompi_config.h"
  22 
  23 #include <string.h>
  24 
  25 #include "opal/util/output.h"
  26 #include "ompi/mca/mca.h"
  27 #include "opal/mca/base/base.h"
  28 
  29 #include "ompi/constants.h"
  30 #include "ompi/mca/op/op.h"
  31 #include "ompi/mca/op/base/base.h"
  32 
  33 
  34 /*
  35  * The following file was created by configure.  It contains extern
  36  * statements and the definition of an array of pointers to each
  37  * component's public mca_base_component_t struct.
  38  */
  39 #include "ompi/mca/op/base/static-components.h"
  40 
  41 static void module_constructor(ompi_op_base_module_t *m)
  42 {
  43     m->opm_enable = NULL;
  44     m->opm_op = NULL;
  45     memset(&(m->opm_fns), 0, sizeof(m->opm_fns));
  46     memset(&(m->opm_3buff_fns), 0, sizeof(m->opm_3buff_fns));
  47 }
  48 
  49 static void module_constructor_1_0_0(ompi_op_base_module_1_0_0_t *m)
  50 {
  51     m->opm_enable = NULL;
  52     m->opm_op = NULL;
  53     memset(&(m->opm_fns), 0, sizeof(m->opm_fns));
  54     memset(&(m->opm_3buff_fns), 0, sizeof(m->opm_3buff_fns));
  55 }
  56 
  57 OBJ_CLASS_INSTANCE(ompi_op_base_module_t, opal_object_t,
  58                    module_constructor, NULL);
  59 OBJ_CLASS_INSTANCE(ompi_op_base_module_1_0_0_t, opal_object_t,
  60                    module_constructor_1_0_0, NULL);
  61 
  62 MCA_BASE_FRAMEWORK_DECLARE(ompi, op, NULL, NULL, NULL, NULL,
  63                            mca_op_base_static_components, 0);

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