summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/configuration.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:18 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:18 +0000
commit492f957ad42ce5eee7e26f3edd5789af296b7460 (patch)
treeb24c42bf1e3a65a75560c0160288ad3405947c33 /apt-pkg/contrib/configuration.h
parent8bb5959b7e2637a818d5c3c9cd38b9a1a0287331 (diff)
Http method
Author: jgg Date: 1998-11-04 07:10:49 GMT Http method
Diffstat (limited to 'apt-pkg/contrib/configuration.h')
-rw-r--r--apt-pkg/contrib/configuration.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/contrib/configuration.h b/apt-pkg/contrib/configuration.h
index cf5a90f57..c5c32ef2f 100644
--- a/apt-pkg/contrib/configuration.h
+++ b/apt-pkg/contrib/configuration.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: configuration.h,v 1.7 1998/10/30 07:53:44 jgg Exp $
+// $Id: configuration.h,v 1.8 1998/11/04 07:11:12 jgg Exp $
/* ######################################################################
Configuration Class
@@ -52,6 +52,7 @@ class Configuration
public:
string Find(const char *Name,const char *Default = 0);
+ string Find(string Name,const char *Default = 0) {return Find(Name.c_str(),Default);};
string FindFile(const char *Name,const char *Default = 0);
string FindDir(const char *Name,const char *Default = 0);
int FindI(const char *Name,int Default = 0);