mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
17 lines
288 B
C++
17 lines
288 B
C++
#ifndef MEMFILE_HPP
|
|
#define MEMFILE_HPP
|
|
|
|
struct memfile {
|
|
int fd;
|
|
char *map;
|
|
long long len;
|
|
long long off;
|
|
unsigned long tree;
|
|
};
|
|
|
|
struct memfile *memfile_open(int fd);
|
|
int memfile_close(struct memfile *file);
|
|
int memfile_write(struct memfile *file, void *s, long long len);
|
|
|
|
#endif
|