app_install_path_type pathType);
/**
+ * Sets Smack labels on a directory and its contents, recursively.
+ *
+ * @param appId[in] application's identifier
+ * @param path[in] path to a file or directory to setup
+ * @param pathType[in] type of path to setup. See description of
+ * app_install_path_type in security-manager.h for details
+ * @param zoneId[in] ID of zone for which label should be set
+ */
+void setupPath(const std::string &appId, const std::string &path,
+ app_install_path_type pathType, const std::string &zoneId);
+
+/**
* Sets Smack labels on a <ROOT_APP>/<pkg_id> and <ROOT_APP>/<pkg_id>/<app_id>
* non-recursively
*
const std::string &basePath);
/**
+ * Sets Smack labels on a <ROOT_APP>/<pkg_id> and <ROOT_APP>/<pkg_id>/<app_id>
+ * non-recursively
+ *
+ * @param pkgId[in] package identifier
+ * @param appId[in] application's identifier
+ * @param basePath[in] <ROOT_APP> path
+ * @param zoneId[in] ID of zone for which label should be set
+ */
+void setupCorrectPath(const std::string &pkgId, const std::string &appId,
+ const std::string &basePath, const std::string &zoneId);
+
+/**
* Generates application name for a label fetched from Cynara
*
* @param[in] label string to fetch application name for