orcm/mca/sensor/base/sensor_base_frame.c
/**
 * Function for finding and opening either all MCA components, or the one
 * that was specifically requested via a MCA parameter.
 */
Function for finding and opening either all MCA components, or the one
that was specifically requested via a MCA parameter.
Function for finding and opening either all MCA components or the one that was specifically requested via a MCA parameter .
static int orcm_sensor_base_open(mca_base_open_flag_t flags)
{
    int rc;
    orcm_sensor_base.dbhandle = -1;
    orcm_sensor_base.dbhandle_requested = false;
    orcm_sensor_base.ev_active = false;
    OBJ_CONSTRUCT(&orcm_sensor_base.modules, opal_pointer_array_t);
    opal_pointer_array_init(&orcm_sensor_base.modules, 3, INT_MAX, 1);
    if (OPAL_SUCCESS != (rc = mca_base_framework_components_open(&orcm_sensor_base_framework, flags))) {
        return rc;
    }
    return OPAL_SUCCESS;
}
static int orcm_sensor_base_open ( mca_base_open_flag_t flags ) { int rc ; orcm_sensor_base . dbhandle = -1 ; orcm_sensor_base . dbhandle_requested = false ; orcm_sensor_base . ev_active = false ; OBJ_CONSTRUCT ( & orcm_sensor_base . modules , opal_pointer_array_t ) ; opal_pointer_array_init ( & orcm_sensor_base . modules , 3 , INT_MAX , 1 ) ; if ( OPAL_SUCCESS != ( rc = mca_base_framework_components_open ( & orcm_sensor_base_framework , flags ) ) ) { return rc ; } return OPAL_SUCCESS ; }
Function for finding and opening either all MCA components, or the one
 that was specifically requested via a MCA parameter.
Function for finding and opening either all MCA components or the one that was specifically requested via a MCA parameter .
/* initialize globals */ /* construct the array of modules */ /* Open up all available components */