2009-09-22 00:58:29 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
/** @file:
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ORTE_MCA_RMCAST_BASE_H
|
|
|
|
#define ORTE_MCA_RMCAST_BASE_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* includes
|
|
|
|
*/
|
|
|
|
#include "orte_config.h"
|
|
|
|
|
2009-10-10 01:19:56 +00:00
|
|
|
#ifdef HAVE_NETINET_IN_H
|
|
|
|
#include <netinet/in.h>
|
|
|
|
#endif
|
|
|
|
|
2009-10-14 17:43:40 +00:00
|
|
|
#include "opal/event/event.h"
|
|
|
|
|
2009-09-22 00:58:29 +00:00
|
|
|
#include "orte/mca/rmcast/rmcast.h"
|
|
|
|
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
|
|
|
|
ORTE_DECLSPEC int orte_rmcast_base_open(void);
|
|
|
|
|
|
|
|
#if !ORTE_DISABLE_FULL_SUPPORT
|
|
|
|
|
2009-10-23 02:38:51 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* globals that might be needed
|
|
|
|
*/
|
|
|
|
typedef struct {
|
|
|
|
int rmcast_output;
|
|
|
|
opal_list_t rmcast_opened;
|
|
|
|
uint32_t xmit_network;
|
|
|
|
char *my_group_name;
|
|
|
|
uint8_t my_group_number;
|
|
|
|
uint32_t interface;
|
|
|
|
uint16_t ports[256];
|
|
|
|
} orte_rmcast_base_t;
|
|
|
|
|
|
|
|
ORTE_DECLSPEC extern orte_rmcast_base_t orte_rmcast_base;
|
|
|
|
|
|
|
|
|
2009-09-22 00:58:29 +00:00
|
|
|
/*
|
|
|
|
* function definitions
|
|
|
|
*/
|
|
|
|
ORTE_DECLSPEC int orte_rmcast_base_select(void);
|
|
|
|
ORTE_DECLSPEC int orte_rmcast_base_close(void);
|
|
|
|
|
|
|
|
#endif /* ORTE_DISABLE_FULL_SUPPORT */
|
|
|
|
|
|
|
|
END_C_DECLS
|
|
|
|
|
|
|
|
#endif
|