Richard Hughes | 7383ce2 | 2018-05-08 14:14:35 +0100 | [diff] [blame^] | 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- |
| 2 | * |
| 3 | * Copyright (C) 2017-2018 Richard Hughes <richard@hughsie.com> |
| 4 | * |
| 5 | * Licensed under the GNU General Public License Version 2 |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | */ |
| 21 | |
| 22 | #ifndef __FU_KEYRING_UTILS_H__ |
| 23 | #define __FU_KEYRING_UTILS_H__ |
| 24 | |
| 25 | #include <appstream-glib.h> |
| 26 | |
| 27 | #include "fu-keyring.h" |
| 28 | #include "fwupd-enums.h" |
| 29 | |
| 30 | FuKeyring *fu_keyring_create_for_kind (FwupdKeyringKind kind, |
| 31 | GError **error); |
| 32 | gboolean fu_keyring_get_release_trust_flags (AsRelease *release, |
| 33 | FwupdTrustFlags *trust_flags, |
| 34 | GError **error); |
| 35 | |
| 36 | #endif /* __FU_KEYRING_UTILS_H__ */ |