tizen 2.4 release
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / kernel / swap / parser / msg_cmd.h
1 /**
2  * @file parser/msg_cmd.h
3  * @author Vyacheslav Cherkashin
4  *
5  * @section LICENSE
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20  *
21  * @section COPYRIGHT
22  *
23  * Copyright (C) Samsung Electronics, 2013
24  *
25  * @section DESCRIPTION
26  *
27  * Module's message handling interface declaration.
28  */
29
30 #ifndef _MSG_CMD_H
31 #define _MSG_CMD_H
32
33 struct msg_buf;
34
35 int once_cmd(void);
36
37 int msg_keep_alive(struct msg_buf *mb);
38 int msg_start(struct msg_buf *mb);
39 int msg_stop(struct msg_buf *mb);
40 int msg_config(struct msg_buf *mb);
41 int msg_swap_inst_add(struct msg_buf *mb);
42 int msg_swap_inst_remove(struct msg_buf *mb);
43 int get_wrt_launcher_port(void);
44 void set_wrt_launcher_port(int port);
45
46 #endif /* _MSG_CMD_H */