Imported Upstream version 15.0.0
[platform/upstream/libzypp.git] / zypp / target / rpm / RpmDb.h
index f2766c1..956ba25 100644 (file)
@@ -426,7 +426,7 @@ public:
    * checkPackage result
    * @see checkPackage
    * */
-  enum CheckPackageResult
+  enum checkPackageResult
   {
     CHK_OK            = 0, /*!< Signature is OK. */
     CHK_NOTFOUND      = 1, /*!< Signature is unknown type. */
@@ -436,24 +436,14 @@ public:
     CHK_ERROR         = 5  /*!< File does not exist or can't be opened. */
   };
 
-  /** Detailed rpm signature check log messages
-   * A single multiline message if \ref CHK_OK. Otherwise each message line
-   * together with it's \ref CheckPackageResult.
-   */
-  struct CheckPackageDetail : std::vector<std::pair<CheckPackageResult,std::string>>
-  {};
-
   /**
    * Check signature of rpm file on disk.
    *
-   * @param path_r which file to check
-   * @param detail_r Return detailed rpm log messages
+   * @param filename which file to check
    *
-   * @return CheckPackageResult
+   * @return checkPackageResult
   */
-  CheckPackageResult checkPackage( const Pathname & path_r, CheckPackageDetail & detail_r );
-  /** \overload Ignoring the \a datails_r */
-  CheckPackageResult checkPackage( const Pathname & path_r );
+  checkPackageResult checkPackage( const Pathname & path_r );
 
   /** install rpm package
    *
@@ -549,12 +539,6 @@ protected:
   void doRebuildDatabase(callback::SendReport<RebuildDBReport> & report);
 };
 
-/** \relates RpmDb::CheckPackageResult Stream output */
-std::ostream & operator<<( std::ostream & str, RpmDb::CheckPackageResult obj );
-
-/** \relates RpmDb::checkPackageDetail Stream output */
-std::ostream & operator<<( std::ostream & str, const RpmDb::CheckPackageDetail & obj );
-
 } // namespace rpm
 } // namespace target
 } // namespace zypp