]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cdrom.h
do not do the same looping twice
[apt.git] / apt-pkg / cdrom.h
index 7d19eb81359a5205a4a04b8e4408576cc356804c..c58593550e861bb6c3496fe8c8233595addd1f8d 100644 (file)
@@ -69,6 +69,10 @@ class pkgCdrom                                                               /*{{{*/
  public:
    bool Ident(std::string &ident, pkgCdromStatus *log);
    bool Add(pkgCdromStatus *log);
+
+ private:
+   bool MountAndIdentCDROM(Configuration &Database, std::string &CDROM,
+        std::string &ident, pkgCdromStatus * const log);
 };
                                                                        /*}}}*/
 
@@ -84,7 +88,7 @@ struct CdromDevice                                                    /*{{{*/
 class pkgUdevCdromDevices                                              /*{{{*/
 {
  protected:
-   // libudev dlopen stucture
+   // libudev dlopen structure
    void *libudev_handle;
    struct udev* (*udev_new)(void);
    int (*udev_enumerate_add_match_property)(struct udev_enumerate *udev_enumerate, const char *property, const char *value);