summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/strutl.h
diff options
context:
space:
mode:
authorNobuhiro Hayashi <nobuhiro.hayashi@gmail.com>2010-12-03 12:09:09 +0900
committerNobuhiro Hayashi <nobuhiro.hayashi@gmail.com>2010-12-03 12:09:09 +0900
commit54f2f0a3e46e4369285be8c25912fd45413114c0 (patch)
tree15db8bd5746fe42f23f86946eb4ca239ea2292e3 /apt-pkg/contrib/strutl.h
parent4279ef3b0a35327a03955461fff3cd6821463457 (diff)
Permit base256 encoded value in the numeric field of tar header.
Diffstat (limited to 'apt-pkg/contrib/strutl.h')
-rw-r--r--apt-pkg/contrib/strutl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h
index a457ff047..591c992d0 100644
--- a/apt-pkg/contrib/strutl.h
+++ b/apt-pkg/contrib/strutl.h
@@ -52,6 +52,7 @@ string LookupTag(const string &Message,const char *Tag,const char *Default = 0);
int StringToBool(const string &Text,int Default = -1);
bool ReadMessages(int Fd, vector<string> &List);
bool StrToNum(const char *Str,unsigned long &Res,unsigned Len,unsigned Base = 0);
+bool Base256ToNum(const char *Str,unsigned long &Res,unsigned Len);
bool Hex2Num(const string &Str,unsigned char *Num,unsigned int Length);
bool TokSplitString(char Tok,char *Input,char **List,
unsigned long ListMax);