Librepo library
1.7.13
C library for downloading linux repository metadata and packages
Main Page
Modules
Data Structures
Files
File List
All
Data Structures
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
yum.h
1
/* librepo - A library providing (libcURL like) API to downloading repository
2
* Copyright (C) 2012 Tomas Mlcoch
3
*
4
* Licensed under the GNU Lesser General Public License Version 2.1
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
#ifndef __LR_YUMREPO_H__
22
#define __LR_YUMREPO_H__
23
24
#include <glib.h>
25
26
#include "rcodes.h"
27
#include "result.h"
28
29
G_BEGIN_DECLS
30
37
typedef
struct
{
38
char
*
type
;
39
char
*
path
;
40
}
LrYumRepoPath
;
41
43
typedef
struct
{
44
GSList *
paths
;
45
char
*
repomd
;
46
char
*
url
;
47
char
*
destdir
;
48
char
*
signature
;
51
char
*
mirrorlist
;
52
char
*
metalink
;
53
}
LrYumRepo
;
54
58
LrYumRepo
*
59
lr_yum_repo_init
();
60
64
void
65
lr_yum_repo_free
(
LrYumRepo
*repo);
66
72
const
char
*
73
lr_yum_repo_path
(
LrYumRepo
*repo,
const
char
*type);
74
77
G_END_DECLS
78
79
#endif
LrYumRepo::url
char * url
Definition:
yum.h:46
LrYumRepo::paths
GSList * paths
Definition:
yum.h:44
LrYumRepoPath::type
char * type
Definition:
yum.h:38
lr_yum_repo_free
void lr_yum_repo_free(LrYumRepo *repo)
lr_yum_repo_init
LrYumRepo * lr_yum_repo_init()
LrYumRepo::metalink
char * metalink
Definition:
yum.h:52
LrYumRepoPath::path
char * path
Definition:
yum.h:39
LrYumRepoPath
Definition:
yum.h:37
LrYumRepo::signature
char * signature
Definition:
yum.h:48
LrYumRepo::mirrorlist
char * mirrorlist
Definition:
yum.h:51
LrYumRepo::destdir
char * destdir
Definition:
yum.h:47
lr_yum_repo_path
const char * lr_yum_repo_path(LrYumRepo *repo, const char *type)
LrYumRepo
Definition:
yum.h:43
LrYumRepo::repomd
char * repomd
Definition:
yum.h:45
librepo
yum.h
Generated on Sun Apr 12 2015 11:09:27 for Librepo library by
1.8.8