1/*****************************************************************************\
2*  _  _       _          _              ___                                   *
3* | || | ___ | |_  _ __ | | _  _  __ _ |_  )                                  *
4* | __ |/ _ \|  _|| '_ \| || || |/ _` | / /                                   *
5* |_||_|\___/ \__|| .__/|_| \_,_|\__, |/___|                                  *
6*                 |_|            |___/                                        *
7\*****************************************************************************/
8
9#ifndef FILEMAP_UTILS_H
10#define FILEMAP_UTILS_H 1
11struct filemap_t {
12	int fd;
13	off_t size;
14	void *map;
15};
16
17int map_file(char *, struct filemap_t *);
18int unmap_file(struct filemap_t *);
19#endif
20