Merge commit 'eae30cdf42' into kernel
[kernel/swap-modules.git] / ks_features / ks_features.h
1 /*
2  *  SWAP kernel features
3  *  modules/ks_features/ks_features.h
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  *
19  * Copyright (C) Samsung Electronics, 2013
20  *
21  * 2013  Vyacheslav Cherkashin: SWAP ks_features implement
22  *
23  */
24
25
26 #ifndef _KS_FEATURES_H
27 #define _KS_FEATURES_H
28
29 enum feature_id {
30         FID_FILE = 1,
31         FID_IPC = 2,
32         FID_PROCESS = 3,
33         FID_SIGNAL = 4,
34         FID_NET = 5,
35         FID_DESC = 6,
36         FID_SWITCH = 7
37 };
38
39 int set_feature(enum feature_id id);
40 int unset_feature(enum feature_id id);
41
42 /* debug */
43 void print_features(void);
44 void print_all_syscall(void);
45 /* debug */
46
47 #endif /*  _KS_FEATURES_H */