Просмотр исходного кода

apt-inst/contrib/arfile.h: Add public ARArchive::Members() which returns the list of members.

Julian Andres Klode лет назад: 16
Родитель
Сommit
d59a67ff10
2 измененных файлов с 3 добавлено и 0 удалено
  1. 1 0
      apt-inst/contrib/arfile.h
  2. 2 0
      debian/changelog

+ 1 - 0
apt-inst/contrib/arfile.h

@@ -39,6 +39,7 @@ class ARArchive
 
 
    // Locate a member by name
    // Locate a member by name
    const Member *FindMember(const char *Name) const;
    const Member *FindMember(const char *Name) const;
+   inline Member *Members() { return List; }
    
    
    ARArchive(FileFd &File);
    ARArchive(FileFd &File);
    ~ARArchive();
    ~ARArchive();

+ 2 - 0
debian/changelog

@@ -7,6 +7,8 @@ apt (0.7.26~exp3) UNRELEASED; urgency=low
   [ Julian Andres Klode ]
   [ Julian Andres Klode ]
   * cmdline/apt-mark:
   * cmdline/apt-mark:
     - Use the new python-apt API (and conflict with python-apt << 0.7.93.2).
     - Use the new python-apt API (and conflict with python-apt << 0.7.93.2).
+  * apt-inst/contrib/arfile.h:
+    - Add public ARArchive::Members() which returns the list of members.
 
 
  -- Christian Perrier <bubulle@debian.org>  Wed, 24 Feb 2010 22:13:50 +0100
  -- Christian Perrier <bubulle@debian.org>  Wed, 24 Feb 2010 22:13:50 +0100