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