https://github.com/mapbox/tippecanoe
Raw File
Tip revision: dc42c7ccc20a4425948ecf070dfa35af27d72a10 authored by Eric Fischer on 30 October 2017, 22:16:07 UTC
Merge pull request #481 from mapbox/crashers
Tip revision: dc42c7c
memfile.hpp
#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
back to top