]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debrecords.cc
* apt-pkg/contrib/configuration.cc:
[apt.git] / apt-pkg / deb / debrecords.cc
index 1ca9ae1d2d602d83c6aedfe4c1b73f0cd8ffdff6..f323c03c2499982b23971c2cbdbb1f46dec3a963 100644 (file)
@@ -101,6 +101,15 @@ string debRecordParser::Maintainer()
    return Section.FindS("Maintainer");
 }
                                                                        /*}}}*/
+// RecordParser::RecordField - Return the value of an arbitrary field       /*{{*/
+// ---------------------------------------------------------------------
+/* */
+string debRecordParser::RecordField(const char *fieldName)
+{
+   return Section.FindS(fieldName);
+}
+
+                                                                        /*}}}*/
 // RecordParser::ShortDesc - Return a 1 line description               /*{{{*/
 // ---------------------------------------------------------------------
 /* */