Barracuda Application Server C/C++ Reference
NO
BaAtoi.h
1/*
2 * ____ _________ __ _
3 * / __ \___ ____ _/ /_ __(_)___ ___ ___ / / ____ ____ _(_)____
4 * / /_/ / _ \/ __ `/ / / / / / __ `__ \/ _ \/ / / __ \/ __ `/ / ___/
5 * / _, _/ __/ /_/ / / / / / / / / / / / __/ /___/ /_/ / /_/ / / /__
6 * /_/ |_|\___/\__,_/_/ /_/ /_/_/ /_/ /_/\___/_____/\____/\__, /_/\___/
7 * /____/
8 *
9 * Barracuda Embedded Web-Server
10 *
11 ****************************************************************************
12 * HEADER
13 *
14 * $Id: BaAtoi.h 4915 2021-12-01 18:26:55Z wini $
15 *
16 * COPYRIGHT: Real Time Logic LLC, 2014
17 *
18 * This software is copyrighted by and is the sole property of Real
19 * Time Logic LLC. All rights, title, ownership, or other interests in
20 * the software remain the property of Real Time Logic LLC. This
21 * software may only be used in accordance with the terms and
22 * conditions stipulated in the corresponding license agreement under
23 * which the software has been supplied. Any unauthorized use,
24 * duplication, transmission, distribution, or disclosure of this
25 * software is expressly forbidden.
26 *
27 * This Copyright notice may not be removed or modified without prior
28 * written consent of Real Time Logic LLC.
29 *
30 * Real Time Logic LLC. reserves the right to modify this software
31 * without notice.
32 *
33 * http://www.realtimelogic.com
34 ****************************************************************************
35 *
36 *
37 */
38
39
40#ifndef __BaAtoi_h
41#define __BaAtoi_h
42
43#include <TargConfig.h>
44
45#ifndef BA_API
46#define BA_API
47#endif
48
49#ifdef __cplusplus
50extern "C" {
51#endif
52
56BA_API U64 U64_atoll(const char* s);
57BA_API U64 U64_atoll2(const char* s, const char* e);
58
59#define S64_atoll(s) ((S64)U64_atoll(s))
60
61
64BA_API U32 U32_negate(U32 n);
65
69BA_API U32 U32_atoi(const char* s);
70
73BA_API U32 U32_atoi2(const char* s, const char* e);
74
78BA_API U32 U32_hextoi(const char *s);
79#ifdef __cplusplus
80}
81#endif
82
83
84#endif