blob: 130b0242f3f1514a8ef46a0b87dee787c6b4614b [file] [log] [blame]
/*
* Copyright 2023 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#pragma once
#include <gio/gunixinputstream.h>
#define FU_TYPE_UNIX_SEEKABLE_INPUT_STREAM (fu_unix_seekable_input_stream_get_type())
G_DECLARE_FINAL_TYPE(FuUnixSeekableInputStream,
fu_unix_seekable_input_stream,
FU,
UNIX_SEEKABLE_INPUT_STREAM,
GUnixInputStream)
GInputStream *
fu_unix_seekable_input_stream_new(gint fd, gboolean close_fd);