2006-09-14 21:29:51 +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.
|
|
|
|
* 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_PRIVATE_H
|
|
|
|
#define ORTE_RDS_PRIVATE_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* includes
|
|
|
|
*/
|
|
|
|
#include "orte_config.h"
|
|
|
|
#include "orte/orte_constants.h"
|
|
|
|
|
|
|
|
#include "orte/dss/dss_types.h"
|
|
|
|
#include "orte/mca/ns/ns_types.h"
|
|
|
|
#include "orte/mca/rml/rml_types.h"
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define the RDS command flag */
|
|
|
|
typedef uint8_t orte_rds_cmd_flag_t;
|
|
|
|
#define ORTE_RDS_CMD ORTE_UINT8
|
|
|
|
|
|
|
|
/* define some commands */
|
|
|
|
#define ORTE_RDS_QUERY_CMD 0x01
|
|
|
|
|
|
|
|
/*
|
|
|
|
* API function definitions
|
|
|
|
*/
|
2006-12-06 15:59:34 +00:00
|
|
|
ORTE_DECLSPEC int orte_rds_base_query(orte_jobid_t job);
|
2006-09-14 21:29:51 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* oob interface
|
|
|
|
*/
|
|
|
|
int orte_rds_base_comm_start(void);
|
2006-10-02 00:46:31 +00:00
|
|
|
int orte_rds_base_comm_stop(void);
|
2006-09-14 21:29:51 +00:00
|
|
|
|
|
|
|
void orte_rds_base_recv(int status, orte_process_name_t* sender,
|
|
|
|
orte_buffer_t* buffer, orte_rml_tag_t tag, void* cbdata);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* utility functions for use within the RDS
|
|
|
|
*/
|
2006-10-05 05:22:22 +00:00
|
|
|
ORTE_DECLSPEC int orte_rds_base_store_resource(opal_list_t *resource_list);
|
2006-09-14 21:29:51 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* the "null" component functions
|
|
|
|
*/
|
2006-12-06 15:59:34 +00:00
|
|
|
int orte_rds_base_no_op_query(orte_jobid_t job);
|
2006-09-14 21:29:51 +00:00
|
|
|
int orte_rds_base_no_op_store_resource(opal_list_t *resource_list);
|
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|