Go to the documentation of this file.
11 #ifndef SQUID_PARSING_H
12 #define SQUID_PARSING_H
16 double xatof(
const char *token);
17 int xatoi(
const char *token);
18 unsigned int xatoui(
const char *token,
char eov =
'\0');
19 long xatol(
const char *token);
20 int64_t
xatoll(
const char *token,
int base,
char eov =
'\0');
21 uint64_t
xatoull(
const char *token,
int base,
char eov =
'\0');
22 unsigned short xatos(
const char *token);
52 bool StringToInt(
const char *str,
int &result,
const char **p,
int base);
53 bool StringToInt64(
const char *str, int64_t &result,
const char **p,
int base);
bool StringToInt(const char *str, int &result, const char **p, int base)
int64_t xatoll(const char *token, int base, char eov='\0')
bool StringToInt64(const char *str, int64_t &result, const char **p, int base)
unsigned short xatos(const char *token)
unsigned int xatoui(const char *token, char eov='\0')
double GetPercentage(bool limit=true)
unsigned short GetShort(void)
int xatoi(const char *token)
long xatol(const char *token)
double xatof(const char *token)
uint64_t xatoull(const char *token, int base, char eov='\0')
int64_t GetInteger64(void)
bool GetHostWithPort(char *token, Ip::Address *ipa)