summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/strutl.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-27 00:42:37 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-27 00:42:37 +0100
commit98b063439156595f74c89e923bf4d3fd51a3b36f (patch)
tree57c4c511b329b0d1b415070d8b877fa12284dbfd /apt-pkg/contrib/strutl.h
parent333e0f956c811cebee58b53f49952f129f4f860a (diff)
Introduce isspace_ascii() for use by parsers
This is like isspace(), but ignores the current locale.
Diffstat (limited to 'apt-pkg/contrib/strutl.h')
-rw-r--r--apt-pkg/contrib/strutl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h
index 3e3c2cef6..6d1a1d7ee 100644
--- a/apt-pkg/contrib/strutl.h
+++ b/apt-pkg/contrib/strutl.h
@@ -106,6 +106,8 @@ void strprintf(std::string &out,const char *format,...) APT_PRINTF(2);
char *safe_snprintf(char *Buffer,char *End,const char *Format,...) APT_PRINTF(3);
bool CheckDomainList(const std::string &Host, const std::string &List);
int tolower_ascii(int const c) APT_CONST APT_HOT;
+int isspace_ascii(int const c) APT_CONST APT_HOT;
+
std::string StripEpoch(const std::string &VerStr);
#define APT_MKSTRCMP(name,func) \