Separate monitoring function plugin
[platform/core/connectivity/stc-manager.git] / src / stc-manager-plugin-procfs.c
index b83a7e8..1067f5e 100644 (file)
@@ -67,6 +67,17 @@ int stc_plugin_procfs_deinit(void)
        return STC_ERROR_NONE;
 }
 
+stc_error_e stc_plugin_procfs_load_pid(void)
+{
+       if (!stc_plugin_enabled)
+               return STC_ERROR_UNINITIALIZED;
+
+       if (!stc_plugin)
+               return STC_ERROR_UNINITIALIZED;
+
+       return stc_plugin->procfs_load();
+}
+
 stc_error_e stc_plugin_procfs_app_status_changed(stc_cmd_type_e cmd,
                                pid_t pid, const gchar *app_id, const gchar *pkg_id, stc_app_type_e app_type)
 {