fwupd/libfwupd/fwupd-remote-private.h
Richard Hughes 9ba348cd7a Force the remote kind to JCat server-side
We can't do this in the library as Ubuntu want to ship a new libfwupd with an
old daemon. The new daemon only understands jcat and does not know how to
determine the age of an .asc file.
2020-11-29 07:24:33 +00:00

33 lines
942 B
C

/*
* Copyright (C) 2017 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include "fwupd-remote.h"
G_BEGIN_DECLS
GVariant *fwupd_remote_to_variant (FwupdRemote *self);
gboolean fwupd_remote_load_from_filename (FwupdRemote *self,
const gchar *filename,
GCancellable *cancellable,
GError **error);
void fwupd_remote_set_priority (FwupdRemote *self,
gint priority);
void fwupd_remote_set_agreement (FwupdRemote *self,
const gchar *agreement);
void fwupd_remote_set_mtime (FwupdRemote *self,
guint64 mtime);
gchar **fwupd_remote_get_order_after (FwupdRemote *self);
gchar **fwupd_remote_get_order_before (FwupdRemote *self);
void fwupd_remote_set_remotes_dir (FwupdRemote *self,
const gchar *directory);
void fwupd_remote_set_keyring_kind (FwupdRemote *self,
FwupdKeyringKind keyring_kind);
G_END_DECLS