From 90f4f5db1d9f9c5af67fa5e58f89211dc00c7fb2 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 9 Jun 2005 14:05:24 +0000 Subject: r1760: releasing version 4.2.37 --- doc/PROGRAMMING | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/PROGRAMMING') diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index 8151c3ef..4b19db5e 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -243,5 +243,12 @@ is_udeb($package) file. udeb_filename($package) Returns the filename of the udeb package. +getpackages($type) + Returns a list of packages in the control file. + Must pass "arch" or "indep" or "same" to specify arch-dependant or + -independant or same arch packages. If nothing is specified, returns all + packages. + As a side effect, populates %package_arches and %package_types with + the types of all packages (not only those returned). -- Joey Hess -- cgit v1.2.3