Stealth Mode script
[tomato.git] / release / src / router / hotplug2 / filemap_utils.h
blob1d184311ececd32f3fc39dffa63dea4649371e9f
1 /*****************************************************************************\
2 * _ _ _ _ ___ *
3 * | || | ___ | |_ _ __ | | _ _ __ _ |_ ) *
4 * | __ |/ _ \| _|| '_ \| || || |/ _` | / / *
5 * |_||_|\___/ \__|| .__/|_| \_,_|\__, |/___| *
6 * |_| |___/ *
7 \*****************************************************************************/
9 #ifndef FILEMAP_UTILS_H
10 #define FILEMAP_UTILS_H 1
11 struct filemap_t {
12 int fd;
13 off_t size;
14 void *map;
17 int map_file(const char *, struct filemap_t *);
18 int unmap_file(struct filemap_t *);
19 #endif