open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
itoa.h
Go to the documentation of this file.
1/*
2 * Copyright 2017 Techie Delight
3 * Permission is hereby granted, free of charge, to any person obtaining a copy
4 * of this software and associated documentation files (the "Software"), to deal
5 * in the Software without restriction, including without limitation the rights
6 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 * copies of the Software, and to permit persons to whom the Software is
8 * furnished to do so, subject to the following conditions:
9 *
10 * The above copyright notice and this permission notice shall be included
11 * in all copies or substantial portions of the Software.
12 *
13 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
17 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
18 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 */
20
21#ifndef ITOA_H
22#define ITOA_H
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28#include <open62541/types.h>
29
30UA_UInt16 itoaUnsigned(UA_UInt64 value, char* buffer, UA_Byte base);
31UA_UInt16 itoaSigned(UA_Int64 value, char* buffer);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* ITOA_H */
38
UA_UInt16 itoaUnsigned(UA_UInt64 value, char *buffer, UA_Byte base)
UA_UInt16 itoaSigned(UA_Int64 value, char *buffer)
uint16_t UA_UInt16
Definition types.h:46
uint8_t UA_Byte
Definition types.h:36
uint64_t UA_UInt64
Definition types.h:66
int64_t UA_Int64
Definition types.h:61