createrepo_c library
C library for metadata manipulation
Hlavní stránka
Moduly
Třídy
Soubory
Seznam souborů
Vše
Třídy
Funkce
Proměnné
Definice typů
Výčty
Hodnoty výčtu
Skupiny
Stránky
locate_metadata.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_LOCATE_METADATA_H__
21
#define __C_CREATEREPOLIB_LOCATE_METADATA_H__
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
33
struct
cr_MetadataLocation
{
34
char
*
pri_xml_href
;
35
char
*
fil_xml_href
;
36
char
*
oth_xml_href
;
37
char
*
pri_sqlite_href
;
38
char
*
fil_sqlite_href
;
39
char
*
oth_sqlite_href
;
40
char
*
groupfile_href
;
41
char
*
cgroupfile_href
;
42
char
*
updateinfo_href
;
43
char
*
repomd
;
44
char
*
original_url
;
46
char
*
local_path
;
47
char
*
tmp_dir
;
49
};
50
60
struct
cr_MetadataLocation
*
cr_get_metadata_location
(
const
char
*repopath,
61
int
ignore_sqlite);
62
68
void
cr_free_metadata_location
(
struct
cr_MetadataLocation
*ml);
69
70
79
int
cr_remove_metadata
(
const
char
*repopath);
80
90
int
cr_remove_metadata_classic
(
const
char
*repopath,
int
retain);
91
92
#ifdef __cplusplus
93
}
94
#endif
95
96
#endif
/* __C_CREATEREPOLIB_LOCATE_METADATA_H__ */
src
locate_metadata.h
Generováno čt 29. lis 2012 16.47:36 pro projekt createrepo_c library programem
1.8.1.2