firasuke / cross / slibtool

Forked from cross/slibtool a month ago
Clone

Blame src/internal/slibtool_mapfile_impl.h

0f9f97
#ifndef SLIBTOOL_MAPFILE_IMPL_H
0f9f97
#define SLIBTOOL_MAPFILE_IMPL_H
0f9f97
0f9f97
#define SLBT_MAP_INPUT	0x0001
0f9f97
#define SLBT_MAP_OUTPUT	0x0002
0f9f97
0f9f97
struct slbt_map_info {
0f9f97
	void *	addr;
0f9f97
	size_t	size;
0f9f97
};
0f9f97
0f9f97
struct slbt_map_info * slbt_map_file(
0f9f97
	int, const char *,
0f9f97
	uint32_t);
0f9f97
0f9f97
void slbt_unmap_file(struct slbt_map_info *);
0f9f97
0f9f97
#endif