Merge "Return errors to caller" into tizen_5.5
[platform/core/connectivity/stc-manager.git] / include / stc-manager-plugin-procfs.h
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __STC_MANAGER_PLUGIN_PROCFS_H__
18 #define __STC_MANAGER_PLUGIN_PROCFS_H__
19
20 #define STC_PLUGIN_PROCFS_FILEPATH              "/usr/lib/stc-plugin-procfs.so"
21
22 #include "stc-plugin-procfs.h"
23
24 int stc_plugin_procfs_init(void);
25 int stc_plugin_procfs_deinit(void);
26
27 stc_error_e stc_plugin_procfs_load_pid(void);
28 stc_error_e stc_plugin_procfs_app_status_changed(stc_cmd_type_e cmd,
29                                 pid_t pid, const gchar *app_id, const gchar *pkg_id, stc_app_type_e app_type);
30
31 #endif /* __STC_MANAGER_PLUGIN_PROCFS_H__ */