1
1
Brian Barrett 761402f95f * rename ompi_list to opal_list
This commit was SVN r6322.
2005-07-03 16:22:16 +00:00

86 строки
1.9 KiB
C

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
/** @file:
*/
#ifndef ORTE_RDS_BASE_H
#define ORTE_RDS_BASE_H
/*
* includes
*/
#include "orte_config.h"
#include "include/orte_constants.h"
#include "opal/class/opal_list.h"
#include "mca/mca.h"
#include "mca/rds/rds.h"
/*
* Global functions for MCA overall collective open and close
*/
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
/*
* Internal definitions
*/
struct orte_rds_base_selected_t {
opal_list_item_t super;
orte_rds_base_component_t *component;
orte_rds_base_module_t* module;
};
typedef struct orte_rds_base_selected_t orte_rds_base_selected_t;
OMPI_DECLSPEC OBJ_CLASS_DECLARATION(orte_rds_base_selected_t);
/*
* API function definitions
*/
OMPI_DECLSPEC int orte_rds_base_open(void);
OMPI_DECLSPEC int orte_rds_base_select(void);
OMPI_DECLSPEC int orte_rds_base_finalize(void);
OMPI_DECLSPEC int orte_rds_base_close(void);
OMPI_DECLSPEC int orte_rds_base_query(void);
/*
* globals that might be needed
*/
typedef struct orte_rds_base_t {
int rds_output;
opal_list_t rds_components;
opal_list_t rds_selected;
} orte_rds_base_t;
OMPI_DECLSPEC extern orte_rds_base_t orte_rds_base;
/*
* external API functions will be documented in the mca/ns/ns.h file
*/
/*
* utility functions for use within the RDS
*/
int orte_rds_base_store_resource(opal_list_t *resource_list);
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
#endif