blob: ff931b1fbf7fe9cbbaf85b557233a4a3f66cff5e (
plain)
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
|
/* -*- 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+
*/
#pragma once
#if !defined (__APPSTREAM_GLIB_H_INSIDE__) && !defined (AS_COMPILATION)
#error "Only <appstream-glib.h> can be included directly."
#endif
#include <glib-object.h>
#include <gio/gio.h>
#include "as-store.h"
G_BEGIN_DECLS
gboolean as_store_cab_from_file (AsStore *store,
GFile *file,
GCancellable *cancellable,
GError **error);
gboolean as_store_cab_from_bytes (AsStore *store,
GBytes *bytes,
GCancellable *cancellable,
GError **error);
G_END_DECLS
|