1 /* 2 * Copyright (C) 2012-2013 Red Hat, Inc. 3 * Copyright (C) 2015 Richard Hughes <richard@hughsie.com> 4 * 5 * Licensed under the GNU Lesser General Public License Version 2.1 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 */ 21 22 #ifndef __HY_PACKAGE_INTERNAL_H 23 #define __HY_PACKAGE_INTERNAL_H 24 25 #include <memory> 26 #include <vector> 27 28 #include "hy-package.h" 29 #include "dnf-sack.h" 30 #include "sack/changelog.hpp" 31 32 Pool *dnf_package_get_pool (DnfPackage *pkg); 33 DnfSack *dnf_package_get_sack (DnfPackage *pkg); 34 std::vector<libdnf::Changelog> dnf_package_get_changelogs (DnfPackage *pkg); 35 36 #endif // __HY_PACKAGE_INTERNAL_H 37