[FEATURE] Implement kernel -> user connection
[platform/core/system/swap-manager.git] / daemon / da_protocol_inst.h
1 /*
2  *  DA manager
3  *
4  * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact:
7  *
8  * Cherepanov Vitaliy <v.cherepanov@samsung.com>
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  * Contributors:
23  * - Samsung RnD Institute Russia
24  *
25  */
26 #ifndef __DA_PROTOCOL_INST__
27 #define __DA_PROTOCOL_INST__
28
29 int parse_lib_inst_list(struct msg_buf_t *msg,
30                         uint32_t *num,
31                         struct lib_list_t **lib_list);
32
33 int parse_inst_app(struct msg_buf_t *msg, struct app_list_t **dest);
34
35 int parse_app_inst_list(struct msg_buf_t *msg,
36                         uint32_t *num,
37                         struct app_list_t **app_list);
38
39 #endif /* __DA_PROTOCOL_INST__ */