Librepo library
1.22.1
C library for downloading linux repository metadata and packages
Loading...
Searching...
No Matches
result.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, see <https://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef __LR_RESULT_H__
21
#define __LR_RESULT_H__
22
23
#include <glib.h>
24
25
#include <librepo/types.h>
26
27
G_BEGIN_DECLS
28
33
36
typedef
struct
_LrResult
LrResult
;
37
40
typedef
enum
{
41
LRR_YUM_REPO
,
43
44
LRR_YUM_REPOMD
,
46
47
LRR_YUM_TIMESTAMP
,
51
52
LRR_RPMMD_REPO
,
53
LRR_RPMMD_REPOMD
,
54
LRR_RPMMD_TIMESTAMP
,
55
LRR_SENTINEL,
56
}
LrResultInfoOption
;
57
61
LrResult
*
62
lr_result_init
(
void
);
63
67
void
68
lr_result_clear
(
LrResult
*result);
69
73
void
74
lr_result_free
(
LrResult
*result);
75
83
gboolean
84
lr_result_getinfo
(
LrResult
*result,
85
GError **err,
86
LrResultInfoOption
option,
87
...);
88
90
91
G_END_DECLS
92
93
#endif
lr_result_clear
void lr_result_clear(LrResult *result)
lr_result_free
void lr_result_free(LrResult *result)
LrResultInfoOption
LrResultInfoOption
Definition
result.h:40
lr_result_getinfo
gboolean lr_result_getinfo(LrResult *result, GError **err, LrResultInfoOption option,...)
lr_result_init
LrResult * lr_result_init(void)
LrResult
struct _LrResult LrResult
Definition
result.h:36
LRR_RPMMD_REPO
@ LRR_RPMMD_REPO
Definition
result.h:52
LRR_YUM_TIMESTAMP
@ LRR_YUM_TIMESTAMP
Definition
result.h:47
LRR_RPMMD_REPOMD
@ LRR_RPMMD_REPOMD
Definition
result.h:53
LRR_YUM_REPOMD
@ LRR_YUM_REPOMD
Definition
result.h:44
LRR_RPMMD_TIMESTAMP
@ LRR_RPMMD_TIMESTAMP
Definition
result.h:54
LRR_YUM_REPO
@ LRR_YUM_REPO
Definition
result.h:41
librepo
result.h
Generated on
for Librepo library by
1.14.0