xstrto.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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_XSTRTO_H
10#define _SQUID_XSTRTO_H
11
12// these functions are not used by the remaining Squid C code.
13#if defined(__cplusplus)
14
31bool xstrtoul(const char *s, char **end, unsigned long *value,
32 unsigned long min, unsigned long max);
33
34bool xstrtoui(const char *s, char **end, unsigned int *value,
35 unsigned int min, unsigned int max);
36
37#endif /* __cplusplus */
38#endif /* _SQUID_XSTRTO_H */
39
A const & max(A const &lhs, A const &rhs)
A const & min(A const &lhs, A const &rhs)
bool xstrtoul(const char *s, char **end, unsigned long *value, unsigned long min, unsigned long max)
Definition: xstrto.cc:61
bool xstrtoui(const char *s, char **end, unsigned int *value, unsigned int min, unsigned int max)
Definition: xstrto.cc:86

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors