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
27G_BEGIN_DECLS
28
33
36typedef struct _LrResult LrResult;
37
57
63
67void
69
73void
75
83gboolean
85 GError **err,
86 LrResultInfoOption option,
87 ...);
88
90
91G_END_DECLS
92
93#endif
void lr_result_clear(LrResult *result)
void lr_result_free(LrResult *result)
LrResultInfoOption
Definition result.h:40
gboolean lr_result_getinfo(LrResult *result, GError **err, LrResultInfoOption option,...)
LrResult * lr_result_init(void)
struct _LrResult LrResult
Definition result.h:36
@ LRR_RPMMD_REPO
Definition result.h:52
@ LRR_YUM_TIMESTAMP
Definition result.h:47
@ LRR_RPMMD_REPOMD
Definition result.h:53
@ LRR_YUM_REPOMD
Definition result.h:44
@ LRR_RPMMD_TIMESTAMP
Definition result.h:54
@ LRR_YUM_REPO
Definition result.h:41