createrepo_c library
0.2.1
C library for metadata manipulation
Main Page
Modules
Data Structures
Files
File List
All
Data Structures
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
parsehdr.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_PARSEHDR_H__
21
#define __C_CREATEREPOLIB_PARSEHDR_H__
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
#include <rpm/rpmlib.h>
28
#include <glib.h>
29
#include "package.h"
30
#include "xml_dump.h"
31
52
cr_Package
*
cr_package_from_header
(Header hdr,
53
gint64 mtime,
54
gint64 size,
55
const
char
*checksum,
56
const
char
*checksum_type,
57
const
char
*location_href,
58
const
char
*location_base,
59
int
changelog_limit,
60
gint64 hdr_start,
61
gint64 hdr_end,
62
GError **err);
63
80
struct
cr_XmlStruct
cr_xml_from_header
(Header hdr,
81
gint64 mtime,
82
gint64 size,
83
const char *checksum,
84
const
char
*checksum_type,
85
const
char
*location_href,
86
const
char
*location_base,
87
int
changelog_limit,
88
gint64 hdr_start,
89
gint64 hdr_end,
90
GError **err);
91
94
#ifdef __cplusplus
95
}
96
#endif
97
98
#endif
/* __C_CREATEREPOLIB_PARSEHDR_H__ */
src
parsehdr.h
Generated on Wed Aug 14 2013 09:00:21 for createrepo_c library by
1.8.4