2005-01-12 20:51:34 +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.
|
2005-01-12 20:51:34 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* 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.
|
2007-06-08 22:59:31 +00:00
|
|
|
* Copyright (c) 2007 Cisco, Inc. All rights resereved.
|
2005-01-12 20:51:34 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
2007-06-08 22:59:31 +00:00
|
|
|
|
2005-01-12 20:51:34 +00:00
|
|
|
#ifndef MCA_IOF_PROXY_SVC_H
|
|
|
|
#define MCA_IOF_PROXY_SVC_H
|
|
|
|
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "orte_config.h"
|
2008-02-28 01:57:57 +00:00
|
|
|
#include "orte/types.h"
|
|
|
|
|
|
|
|
#include "orte/mca/rml/rml_types.h"
|
|
|
|
#include "orte/util/name_fns.h"
|
|
|
|
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "orte/mca/iof/iof.h"
|
2005-01-12 20:51:34 +00:00
|
|
|
|
2008-02-28 01:57:57 +00:00
|
|
|
BEGIN_C_DECLS
|
2005-01-12 20:51:34 +00:00
|
|
|
|
2007-06-08 22:59:31 +00:00
|
|
|
/*
|
|
|
|
* Send requests to the svc component
|
2005-01-12 20:51:34 +00:00
|
|
|
*/
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
int orte_iof_proxy_svc_publish(
|
|
|
|
const orte_process_name_t* name,
|
2005-01-12 20:51:34 +00:00
|
|
|
int tag
|
|
|
|
);
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
int orte_iof_proxy_svc_unpublish(
|
|
|
|
const orte_process_name_t* name,
|
|
|
|
orte_ns_cmp_bitmask_t mask,
|
2005-01-12 20:51:34 +00:00
|
|
|
int tag
|
|
|
|
);
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
int orte_iof_proxy_svc_subscribe(
|
|
|
|
const orte_process_name_t* src_name,
|
|
|
|
orte_ns_cmp_bitmask_t src_mask,
|
2005-01-12 20:51:34 +00:00
|
|
|
int src_tag,
|
2005-03-14 20:57:21 +00:00
|
|
|
const orte_process_name_t* dst_name,
|
|
|
|
orte_ns_cmp_bitmask_t dst_mask,
|
2005-01-12 20:51:34 +00:00
|
|
|
int dst_tag
|
|
|
|
);
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
int orte_iof_proxy_svc_unsubscribe(
|
|
|
|
const orte_process_name_t* src_name,
|
|
|
|
orte_ns_cmp_bitmask_t src_mask,
|
2005-01-12 20:51:34 +00:00
|
|
|
int src_tag,
|
2005-03-14 20:57:21 +00:00
|
|
|
const orte_process_name_t* dst_name,
|
|
|
|
orte_ns_cmp_bitmask_t dst_mask,
|
2005-01-12 20:51:34 +00:00
|
|
|
int dst_tag
|
|
|
|
);
|
|
|
|
|
|
|
|
/**
|
2007-06-08 22:59:31 +00:00
|
|
|
* Received RML messages from the svc component
|
2005-01-12 20:51:34 +00:00
|
|
|
*/
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
void orte_iof_proxy_svc_recv(
|
2005-01-12 20:51:34 +00:00
|
|
|
int status,
|
2005-03-14 20:57:21 +00:00
|
|
|
orte_process_name_t* peer,
|
2005-01-12 20:51:34 +00:00
|
|
|
struct iovec* msg,
|
|
|
|
int count,
|
2005-03-14 20:57:21 +00:00
|
|
|
orte_rml_tag_t tag,
|
2005-01-12 20:51:34 +00:00
|
|
|
void* cbdata);
|
|
|
|
|
|
|
|
|
2008-02-28 01:57:57 +00:00
|
|
|
END_C_DECLS
|
|
|
|
|
2005-01-12 20:51:34 +00:00
|
|
|
#endif
|
|
|
|
|