aboutsummaryrefslogtreecommitdiff
path: root/include/io/mem.h
blob: 20b04ab6d4348982543297e7ae98735ce2b57f17 (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 "sqfs/predef.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 */