diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:09 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:09 +0000 |
commit | 24231681aa99e84c8a6aae5e54b7e207e19d6087 (patch) | |
tree | 65cbe883a45c8a0ca042123c9e2ffb0c993a0903 /apt-pkg/contrib/strutl.h | |
parent | 0a8a80e58374771acc225fe1e08ed8e0fe0016cc (diff) |
Sync
Author: jgg
Date: 1998-10-23 00:49:58 GMT
Sync
Diffstat (limited to 'apt-pkg/contrib/strutl.h')
-rw-r--r-- | apt-pkg/contrib/strutl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h index fca36fc38..1de2437b9 100644 --- a/apt-pkg/contrib/strutl.h +++ b/apt-pkg/contrib/strutl.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: strutl.h,v 1.6 1998/10/22 04:56:49 jgg Exp $ +// $Id: strutl.h,v 1.7 1998/10/23 00:50:00 jgg Exp $ /* ###################################################################### String Util - These are some usefull string functions @@ -34,6 +34,7 @@ string Base64Encode(string Str); string URItoFileName(string URI); string URIAccess(string URI); string TimeRFC1123(time_t Date); +bool StrToTime(string Val,time_t &Result); string LookupTag(string Message,const char *Tag,const char *Default = 0); int StringToBool(string Text,int Default = -1); bool ReadMessages(int Fd, vector<string> &List); |