
Update all the orte ess components to remove their associated APIs for retrieving proc data. Update the grpcomm API to reflect transfer of set/get modex info to the db framework. Note that this doesn't recreate the old GPR. This is strictly a local db storage that may (at some point) obtain any missing data from the local daemon as part of an async methodology. The framework allows us to experiment with such methods without perturbing the default one. This commit was SVN r26678.
59 строки
1.3 KiB
C
59 строки
1.3 KiB
C
/*
|
|
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
|
* Copyright (c) 2012 Los Alamos National Security, Inc. All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
/** @file:
|
|
*/
|
|
|
|
#ifndef MCA_DB_BASE_H
|
|
#define MCA_DB_BASE_H
|
|
|
|
#include "orte_config.h"
|
|
#include "orte/types.h"
|
|
|
|
#include "opal/mca/mca.h"
|
|
#include "opal/class/opal_list.h"
|
|
#include "opal/dss/dss.h"
|
|
|
|
#include "orte/mca/db/db.h"
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
/**
|
|
* Open the db framework
|
|
*/
|
|
ORTE_DECLSPEC int orte_db_base_open(void);
|
|
|
|
/**
|
|
* Select a db module
|
|
*/
|
|
ORTE_DECLSPEC int orte_db_base_select(void);
|
|
|
|
/**
|
|
* Close the db framework
|
|
*/
|
|
ORTE_DECLSPEC int orte_db_base_close(void);
|
|
|
|
typedef struct {
|
|
int output;
|
|
opal_list_t available_components;
|
|
} orte_db_base_t;
|
|
ORTE_DECLSPEC extern orte_db_base_t orte_db_base;
|
|
|
|
ORTE_DECLSPEC int orte_db_base_send_modex_string(const char* key,
|
|
const void *buffer,
|
|
size_t size);
|
|
|
|
ORTE_DECLSPEC int orte_db_base_send_modex_key_value(const char* key,
|
|
const void *value,
|
|
opal_data_type_t dtype);
|
|
|
|
END_C_DECLS
|
|
|
|
#endif
|