aboutsummaryrefslogtreecommitdiff
path: root/include/io/mem.h
blob: 1efd007135597051fe0342f976b25b36f404f96f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-3.0-or-later */
/*
 * mem.h
 *
 * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
 */
#ifndef IO_MEM_STREAM_H
#define IO_MEM_STREAM_H

#include "io/istream.h"

#ifdef __cplusplus
extern "C" {
#endif

SQFS_INTERNAL istream_t *istream_memory_create(const char *name, size_t bufsz,
					       const void *data, size_t size);

#ifdef __cplusplus
}
#endif

#endif /* IO_MEM_STREAM_H */