2007-07-20 01:34:02 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2007 Los Alamos National Security, LLC.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MCA_ROUTED_BASE_H
|
|
|
|
#define MCA_ROUTED_BASE_H
|
|
|
|
|
|
|
|
#include "orte_config.h"
|
|
|
|
|
|
|
|
#include "opal/mca/mca.h"
|
2008-10-31 21:10:00 +00:00
|
|
|
|
2009-03-13 02:10:32 +00:00
|
|
|
#include "opal/dss/dss_types.h"
|
|
|
|
|
|
|
|
#include "orte/mca/rml/rml_types.h"
|
2007-07-20 01:34:02 +00:00
|
|
|
#include "orte/mca/routed/routed.h"
|
|
|
|
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
|
2008-06-18 03:15:56 +00:00
|
|
|
ORTE_DECLSPEC int orte_routed_base_open(void);
|
|
|
|
|
|
|
|
#if !ORTE_DISABLE_FULL_SUPPORT
|
|
|
|
|
2007-07-20 01:34:02 +00:00
|
|
|
/*
|
|
|
|
* Global functions for the ROUTED
|
|
|
|
*/
|
|
|
|
|
|
|
|
ORTE_DECLSPEC int orte_routed_base_select(void);
|
|
|
|
ORTE_DECLSPEC int orte_routed_base_close(void);
|
|
|
|
|
|
|
|
ORTE_DECLSPEC extern int orte_routed_base_output;
|
|
|
|
ORTE_DECLSPEC extern opal_list_t orte_routed_base_components;
|
|
|
|
|
2008-04-30 19:49:53 +00:00
|
|
|
ORTE_DECLSPEC extern int orte_routed_base_register_sync(bool setup);
|
2008-02-28 01:57:57 +00:00
|
|
|
|
2008-02-28 19:58:32 +00:00
|
|
|
ORTE_DECLSPEC int orte_routed_base_comm_start(void);
|
|
|
|
ORTE_DECLSPEC int orte_routed_base_comm_stop(void);
|
|
|
|
ORTE_DECLSPEC extern void orte_routed_base_process_msg(int fd, short event, void *data);
|
|
|
|
ORTE_DECLSPEC extern void orte_routed_base_recv(int status, orte_process_name_t* sender,
|
|
|
|
opal_buffer_t* buffer, orte_rml_tag_t tag,
|
|
|
|
void* cbdata);
|
|
|
|
|
2008-06-18 03:15:56 +00:00
|
|
|
#endif /* ORTE_DISABLE_FULL_SUPPORT */
|
2008-02-28 19:58:32 +00:00
|
|
|
|
2007-07-20 01:34:02 +00:00
|
|
|
END_C_DECLS
|
|
|
|
|
|
|
|
#endif /* MCA_ROUTED_BASE_H */
|