aboutsummaryrefslogtreecommitdiff
path: root/include/io/mem.h
blob: c848ef09c4934564d1d535f85325a70fed0e3f94 (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
/* 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
sqfs_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 */