+++ /dev/null
-/**
- * MIT License
- *
- * Copyright (c) 2025 Samsung Electronics Co., Ltd.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is furnished
- * to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-#ifndef __SYSCOMMON_INTERNAL_SESSIOND_H__
-#define __SYSCOMMON_INTERNAL_SESSIOND_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-/* These functions are to be called by the plugin, and let it access sessiond
- * directly. There is no routing via libsyscommon, the header is here mostly
- * because otherwise there would be a cyclical sessiond/plugin dependency. */
-
-/**
- * @brief Add a subsession (called from plugin)
- * @param uid user ID to add the subsession to
- * @param subsession Subsession name to add
- * @return @c 0 on success, otherwise a negative error value
- */
-int sessiond_internal_add_subsession(int uid, const char *subsession);
-
-/**
- * @brief Add a subsession (called from plugin)
- * @param uid user ID to add the subsession to
- * @param subsession Subsession name to add
- * @param size_kB Size limit of the subsession in kilobytes
- * @return @c 0 on success, otherwise a negative error value
- */
-int sessiond_internal_add_subsession_fixed_size(int uid, const char *subsession, unsigned size_kB);
-
-/**
- * @brief Remove a subsession (called from plugin)
- * @param uid user ID to remove the subsession from
- * @param subsession Subsession name to remove
- * @return @c 0 on success, otherwise a negative error value
- */
-int sessiond_internal_remove_subsession(int uid, const char *subsession);
-
-/**
- * @brief Switch subsession (called from plugin)
- * @param uid user ID whose subsession to switch
- * @param subsession Subsession name to switch to
- * @return @c 0 on success, otherwise a negative error value
- */
-int sessiond_internal_switch_subsession(int uid, const char *subsession);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // __SYSCOMMON_INTERNAL_SESSIOND_H__