1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2015 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#include "config.h"
//#include <glib/gstdio.h>
//#include <gio/gunixinputstream.h>
#include "as-store-cab.h"
//#include "as-utils.h"
gboolean
as_store_cab_from_bytes (AsStore *store,
GBytes *bytes,
GCancellable *cancellable,
GError **error)
{
g_set_error (error,
AS_STORE_ERROR,
AS_STORE_ERROR_FAILED,
"Loading firmware is no longer supported, see fwupd");
return FALSE;
}
gboolean
as_store_cab_from_file (AsStore *store,
GFile *file,
GCancellable *cancellable,
GError **error)
{
g_set_error (error,
AS_STORE_ERROR,
AS_STORE_ERROR_FAILED,
"Loading firmware is no longer supported, see fwupd");
return FALSE;
}
|