1#pragma once
2
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7#define SWAP_FLAG_PREFER 0x8000
8#define SWAP_FLAG_PRIO_MASK 0x7fff
9#define SWAP_FLAG_PRIO_SHIFT 0
10#define SWAP_FLAG_DISCARD 0x10000
11
12int swapon(const char*, int);
13int swapoff(const char*);
14
15#ifdef __cplusplus
16}
17#endif
18