]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/strtoll.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / compat / strtoll.h
1 /*
2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 #ifndef _SQUID_COMPAT_STRTOLL_H
10 #define _SQUID_COMPAT_STRTOLL_H
11
12 #if !HAVE_STRTOLL
13
14 /**
15 *\par
16 * Convert a string to a int64 integer.
17 *
18 *\par
19 * Ignores `locale' stuff. Assumes that the upper and lower case
20 * alphabets and digits are each contiguous.
21 */
22 SQUIDCEXTERN int64_t strtoll(const char *nptr, char **endptr, int base);
23
24 #endif /* !HAVE_STRTOLL */
25 #endif /* _SQUID_COMPAT_STRTOLL_H */
26