2 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef __STC_MANAGER_PLUGIN_MONITOR_H__
18 #define __STC_MANAGER_PLUGIN_MONITOR_H__
20 #define STC_PLUGIN_MONITOR_FILEPATH "/usr/lib/stc-plugin-monitor.so"
22 #include "stc-plugin-monitor.h"
24 int stc_plugin_monitor_init(void);
25 int stc_plugin_monitor_deinit(void);
27 int stc_plugin_monitor_add_app(uint32_t classid,
30 const stc_app_value_s value);
31 int stc_plugin_monitor_remove_app(uint32_t classid,
33 int stc_plugin_monitor_lookup_app(uint32_t classid);
34 int stc_plugin_monitor_add_rstn(table_restrictions_info *info);
35 int stc_plugin_monitor_remove_rstn(table_restrictions_info *info);
36 int stc_plugin_monitor_init_connection(stc_s *stc);
37 int stc_plugin_monitor_deinit_connection(stc_s *stc);
38 int stc_plugin_monitor_add_proc(uint32_t classid,
39 const char *app_id, const stc_proc_value_s value);
40 int stc_plugin_monitor_remove_proc(uint32_t classid, pid_t pid);
41 int stc_plugin_monitor_move_proc(uint32_t from, uint32_t to);
42 int stc_plugin_monitor_update_proc_ground(uint32_t classid,
43 const char *app_id, const stc_proc_value_s value);
45 #endif /* __STC_MANAGER_PLUGIN_MONITOR_H__ */