2004-07-01 15:33:17 +00:00
|
|
|
/*
|
2005-11-05 19:57:48 +00:00
|
|
|
* 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.
|
2006-02-07 03:32:36 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2004-11-28 20:09:25 +00:00
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
* $COPYRIGHT$
|
2006-02-07 03:32:36 +00:00
|
|
|
*
|
2004-11-22 01:38:40 +00:00
|
|
|
* Additional copyrights may follow
|
2006-02-07 03:32:36 +00:00
|
|
|
*
|
2004-07-01 15:33:17 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
/** @file:
|
|
|
|
*/
|
|
|
|
|
2004-07-01 19:21:56 +00:00
|
|
|
#ifndef MCA_NS_BASE_H
|
2004-07-01 15:33:17 +00:00
|
|
|
#define MCA_NS_BASE_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* includes
|
|
|
|
*/
|
2005-03-14 20:57:21 +00:00
|
|
|
#include "orte_config.h"
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "orte/orte_constants.h"
|
2005-03-14 20:57:21 +00:00
|
|
|
|
2005-07-03 16:22:16 +00:00
|
|
|
#include "opal/class/opal_list.h"
|
2006-02-07 03:32:36 +00:00
|
|
|
#include "opal/mca/mca.h"
|
2004-07-01 15:33:17 +00:00
|
|
|
|
2006-02-07 03:32:36 +00:00
|
|
|
#include "orte/dss/dss_types.h"
|
|
|
|
|
|
|
|
#include "orte/mca/ns/ns.h"
|
2004-09-30 21:34:29 +00:00
|
|
|
|
|
|
|
|
2004-07-01 15:33:17 +00:00
|
|
|
/*
|
|
|
|
* Global functions for MCA overall collective open and close
|
|
|
|
*/
|
2004-07-11 04:34:47 +00:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2004-10-20 18:18:07 +00:00
|
|
|
|
2004-07-13 11:56:26 +00:00
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
/*
|
|
|
|
* function definitions
|
|
|
|
*/
|
2006-08-20 15:54:04 +00:00
|
|
|
ORTE_DECLSPEC int orte_ns_base_open(void);
|
|
|
|
ORTE_DECLSPEC int orte_ns_base_select(void);
|
|
|
|
ORTE_DECLSPEC int orte_ns_base_close(void);
|
2004-08-13 15:09:24 +00:00
|
|
|
|
2004-07-01 15:33:17 +00:00
|
|
|
/*
|
|
|
|
* globals that might be needed
|
|
|
|
*/
|
|
|
|
|
2006-08-20 15:54:04 +00:00
|
|
|
ORTE_DECLSPEC extern int mca_ns_base_output;
|
|
|
|
ORTE_DECLSPEC extern bool mca_ns_base_selected;
|
|
|
|
ORTE_DECLSPEC extern opal_list_t mca_ns_base_components_available;
|
|
|
|
ORTE_DECLSPEC extern mca_ns_base_component_t mca_ns_base_selected_component;
|
2004-07-01 15:33:17 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* external API functions will be documented in the mca/ns/ns.h file
|
|
|
|
*/
|
|
|
|
|
2004-10-20 22:31:03 +00:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
2004-07-01 15:33:17 +00:00
|
|
|
#endif
|