iceoryx_binding_c 2.0.3
node.h
1// Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
2// Copyright (c) 2021 by Apex.AI Inc. All rights reserved.
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16// SPDX-License-Identifier: Apache-2.0
17
18#ifndef IOX_BINDING_C_NODE_H
19#define IOX_BINDING_C_NODE_H
20
21#include "iceoryx_binding_c/internal/c2cpp_binding.h"
22
23typedef CLASS NodeData* iox_node_t;
24
28iox_node_t iox_node_create(const char* const nodeName);
29
32void iox_node_destroy(iox_node_t const self);
33
41uint64_t iox_node_get_name(iox_node_t const self, char* const name, const uint64_t nameCapacity);
42
50uint64_t iox_node_get_runtime_name(iox_node_t const self, char* const name, const uint64_t nameCapacity);
51
52#endif