]>
Commit | Line | Data |
---|---|---|
090089c4 | 1 | /* |
1f7b830e | 2 | * Copyright (C) 1996-2025 The Squid Software Foundation and contributors |
c5dd4956 | 3 | * |
5c193dec AJ |
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. | |
090089c4 | 7 | */ |
01fe0751 | 8 | |
ff9d9458 FC |
9 | #ifndef SQUID_INCLUDE_UTIL_H |
10 | #define SQUID_INCLUDE_UTIL_H | |
090089c4 | 11 | |
cc192b50 | 12 | #if HAVE_ARPA_INET_H |
13 | #include <arpa/inet.h> | |
14 | #endif | |
090089c4 | 15 | |
ca919500 FC |
16 | void Tolower(char *); |
17 | ||
18 | double xpercent(double part, double whole); | |
19 | int xpercentInt(double part, double whole); | |
20 | double xdiv(double nom, double denom); | |
21 | ||
22 | const char *xitoa(int num); | |
23 | const char *xint64toa(int64_t num); | |
24 | ||
25 | const char *double_to_str(char *buf, int buf_size, double value); | |
43d1bbe4 | 26 | |
ff9d9458 | 27 | #endif /* SQUID_INCLUDE_UTIL_H */ |
f53969cc | 28 |