]> git.donarmstrong.com Git - debhelper.git/blobdiff - doc/PROGRAMMING
r1760: releasing version 4.2.37
[debhelper.git] / doc / PROGRAMMING
index 8151c3ef065c15096f1c71e5a9b64db50e66233e..4b19db5eb60c43a132f7c735a1ee4fd84b04c02b 100644 (file)
@@ -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 <joeyh@debian.org>