Lightweight Parallel Foundations
1.0.1-alpha 2023-06-26T11:02:34Z
A high performance and model-compliant communication layer
home
yzelman
Documents
lpf
include
lpf
mpirpc-client.h
Go to the documentation of this file.
1
2
/*
3
* Copyright 2021 Huawei Technologies Co., Ltd.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
18
#ifndef LPFLIB_MPIRPC_CLIENT
19
#define LPFLIB_MPIRPC_CLIENT
20
21
#include <
lpf/rpc-client.h
>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
60
extern
_LPFLIB_API
61
lpf_err_t
lpf_mpirpc_open
(
62
const
char
*
const
hostname,
const
char
*
const
portname,
63
const
int
timeout,
64
lpf_rpc_server_t
*
const
server
65
);
66
82
extern
_LPFLIB_API
83
lpf_err_t
lpf_mpirpc_close_server
(
const
lpf_rpc_server_t
server );
84
88
#ifdef __cplusplus
89
}
90
#endif
91
92
#endif
//end ``LPFLIB_MPIRPC_CLIENT''
93
lpf_err_t
typedef lpf_err_t
Definition:
core.h:871
lpf_rpc_server_t
lpf_init_t lpf_rpc_server_t
Definition:
rpc-client.h:47
lpf_mpirpc_open
lpf_err_t lpf_mpirpc_open(const char *const hostname, const char *const portname, const int timeout, lpf_rpc_server_t *const server)
lpf_mpirpc_close_server
lpf_err_t lpf_mpirpc_close_server(const lpf_rpc_server_t server)
rpc-client.h
Generated by
1.9.6