createrepo_c library
C library for metadata manipulation
 Vše Třídy Funkce Proměnné Definice typů Výčty Hodnoty výčtu Skupiny Stránky
groupfile.h
1 /* createrepo_c - Library of routines for manipulation with repodata
2  * Copyright (C) 2012 Tomas Mlcoch
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
17  * USA.
18  */
19 
20 #ifndef __C_CREATEREPOLIB_GROUPFILE_H__
21 #define __C_CREATEREPOLIB_GROUPFILE_H__
22 
23 #include <glib.h>
24 
25 typedef struct {
26  char *id;
27  gboolean default;
28  gboolean uservisible;
29  Packagereq *packagereq;
30 } cr_Group;
31 
32 typedef struct {
33 } cr_Category;
34 
35 typedef struct {
36  Group *group;
37  Category *category;
38 } cr_GroupFile;
39 
40 /*
41 typedef void (*PackageFn) (Package *pkg, gpointer data);
42 
43 Dependency *dependency_new (void);
44 PackageFile *package_file_new (void);
45 ChangelogEntry *changelog_entry_new (void);
46 Package *package_new (void);
47 void package_free (Package *package);
48 */
49 #endif /* __C_CREATEREPOLIB_GROUPFILE_H__ */