1
1
Jeff Squyres 42ec26e640 Update the copyright notices for IU and UTK.
This commit was SVN r7999.
2005-11-05 19:57:48 +00:00

88 строки
2.1 KiB
C

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Research Foundation. 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