/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#ifndef SQUID_UTIL_H
#define SQUID_UTIL_H
-#if HAVE_TIME_H
-#include <time.h>
-#endif
#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-SQUIDCEXTERN int tvSubUsec(struct timeval, struct timeval);
-SQUIDCEXTERN double tvSubDsec(struct timeval, struct timeval);
SQUIDCEXTERN void Tolower(char *);
-SQUIDCEXTERN time_t parse_iso3307_time(const char *buf);
-
SQUIDCEXTERN double xpercent(double part, double whole);
SQUIDCEXTERN int xpercentInt(double part, double whole);
SQUIDCEXTERN double xdiv(double nom, double denom);
extern const char *gb_to_str(const gb_t *);
extern void gb_flush(gb_t *); /* internal, do not use this */
-/*
- * Returns the amount of known allocated memory
- */
-int statMemoryAccounted(void);
-
SQUIDCEXTERN unsigned int RoundTo(const unsigned int num, const unsigned int what);
#endif /* SQUID_UTIL_H */