2005-07-28 03:07:14 +04:00
|
|
|
/*
|
2005-11-05 22:57:48 +03: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.
|
2005-07-28 03:07:14 +04:00
|
|
|
* 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 MCA_RML_CNOS_H
|
|
|
|
#define MCA_RML_CNOS_H
|
|
|
|
|
2006-02-12 04:33:29 +03:00
|
|
|
#include "orte/mca/rml/rml.h"
|
2005-07-28 03:07:14 +04:00
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
2006-08-20 19:54:04 +04:00
|
|
|
ORTE_DECLSPEC extern orte_rml_component_t mca_rml_cnos_component;
|
2005-07-28 03:07:14 +04:00
|
|
|
|
|
|
|
int orte_rml_cnos_open(void);
|
|
|
|
int orte_rml_cnos_close(void);
|
|
|
|
orte_rml_module_t * orte_rml_cnos_init(int *priority);
|
|
|
|
|
2007-07-20 05:34:02 +04:00
|
|
|
int orte_rml_cnos_module_enable_comm(void);
|
2005-07-28 03:07:14 +04:00
|
|
|
int orte_rml_cnos_module_fini(void);
|
|
|
|
|
2007-07-20 05:34:02 +04:00
|
|
|
char *orte_rml_cnos_get_contact_info(void);
|
|
|
|
int orte_rml_cnos_set_contact_info(const char *);
|
|
|
|
|
|
|
|
int orte_rml_cnos_get_new_name(orte_process_name_t *name);
|
2005-07-28 03:07:14 +04:00
|
|
|
int orte_rml_cnos_ping(const char *uri, const struct timeval *tv);
|
|
|
|
|
|
|
|
int orte_rml_cnos_send(orte_process_name_t * peer,
|
|
|
|
struct iovec *msg,
|
|
|
|
int count, int tag, int flags);
|
|
|
|
|
|
|
|
int orte_rml_cnos_send_buffer(orte_process_name_t * peer,
|
|
|
|
orte_buffer_t * buffer,
|
|
|
|
orte_rml_tag_t tag, int flags);
|
|
|
|
|
|
|
|
int orte_rml_cnos_send_nb(orte_process_name_t * peer,
|
|
|
|
struct iovec *msg,
|
|
|
|
int count,
|
|
|
|
orte_rml_tag_t tag,
|
|
|
|
int flags,
|
|
|
|
orte_rml_callback_fn_t cbfunc, void *cbdata);
|
|
|
|
|
|
|
|
int orte_rml_cnos_send_buffer_nb(orte_process_name_t * peer,
|
|
|
|
orte_buffer_t * buffer,
|
|
|
|
orte_rml_tag_t tag,
|
|
|
|
int flags,
|
|
|
|
orte_rml_buffer_callback_fn_t cbfunc,
|
|
|
|
void *cbdata);
|
|
|
|
|
|
|
|
int orte_rml_cnos_recv(orte_process_name_t * peer,
|
|
|
|
struct iovec *msg,
|
|
|
|
int count, orte_rml_tag_t tag, int flags);
|
|
|
|
|
|
|
|
int orte_rml_cnos_recv_buffer(orte_process_name_t * peer,
|
2007-07-20 05:34:02 +04:00
|
|
|
orte_buffer_t * buf, orte_rml_tag_t tag, int flags);
|
2005-07-28 03:07:14 +04:00
|
|
|
|
|
|
|
int orte_rml_cnos_recv_nb(orte_process_name_t * peer,
|
|
|
|
struct iovec *msg,
|
|
|
|
int count,
|
|
|
|
orte_rml_tag_t tag,
|
|
|
|
int flags,
|
|
|
|
orte_rml_callback_fn_t cbfunc, void *cbdata);
|
|
|
|
|
|
|
|
int orte_rml_cnos_recv_buffer_nb(orte_process_name_t * peer,
|
|
|
|
orte_rml_tag_t tag,
|
|
|
|
int flags,
|
|
|
|
orte_rml_buffer_callback_fn_t cbfunc,
|
|
|
|
void *cbdata);
|
|
|
|
|
|
|
|
int orte_rml_cnos_recv_cancel(orte_process_name_t * peer,
|
|
|
|
orte_rml_tag_t tag);
|
|
|
|
|
2007-06-14 22:49:41 +04:00
|
|
|
int orte_rml_cnos_add_exception_handler(orte_rml_exception_callback_t cbfunc);
|
|
|
|
|
|
|
|
int orte_rml_cnos_del_exception_handler(orte_rml_exception_callback_t cbfunc);
|
|
|
|
|
2005-07-28 03:07:14 +04:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|