1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 /* This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU General Public License,
5 * version 2, as published by the Free Software Foundation
7 * This program is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 #ifndef __YUM_PACKAGE_H__
19 #define __YUM_PACKAGE_H__
61 gint64 rpm_header_start;
62 gint64 rpm_header_end;
65 gint64 size_installed;
82 typedef void (*PackageFn) (Package *pkg, gpointer data);
84 Dependency *dependency_new (void);
85 PackageFile *package_file_new (void);
86 ChangelogEntry *changelog_entry_new (void);
87 Package *package_new (void);
88 void package_free (Package *package);
90 #endif /* __YUM_PACKAGE_H__ */