From 0a8a80e58374771acc225fe1e08ed8e0fe0016cc Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:09 +0000 Subject: Sync Author: jgg Date: 1998-10-22 04:56:38 GMT Sync --- apt-pkg/contrib/configuration.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'apt-pkg/contrib/configuration.h') diff --git a/apt-pkg/contrib/configuration.h b/apt-pkg/contrib/configuration.h index c98b0bb14..14c80e4ad 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.5 1998/10/20 02:39:27 jgg Exp $ +// $Id: configuration.h,v 1.6 1998/10/22 04:56:46 jgg Exp $ /* ###################################################################### Configuration Class @@ -39,6 +39,9 @@ class Configuration Item *Parent; Item *Child; Item *Next; + + string FullTag() const; + Item() : Child(0), Next(0) {}; }; Item *Root; @@ -61,6 +64,8 @@ class Configuration inline bool Exists(string Name) {return Exists(Name.c_str());}; bool Exists(const char *Name); + inline const Item *Tree(const char *Name) {return Lookup(Name,false);}; + Configuration(); }; -- cgit v1.2.3