swh:1:snp:ff2a11cd2e44dd19ec3814028ef2ce6605664e63
Raw File
Tip revision: b694a0e2cb817fed619f2b2a3fe96e4564ccde91 authored by Eric Fischer on 14 September 2017, 19:05:12 UTC
Bring back the diagnosis of which attributes use the most space
Tip revision: b694a0e
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