diff options
author | 2020-11-20 23:36:23 +0900 | |
---|---|---|
committer | 2020-11-22 09:02:55 +0900 | |
commit | 17cf21bcf8a2e29d2cbcf0a313474d2a4ee44f5d (patch) | |
tree | 582a9768558d9eaf261ca5df6136e9de54c95816 /systemservice/task_manager/server/include/system_service/tskm_type.h | |
parent | 9e86046cdb356913ae026f616e5bf17f6f238aa5 (diff) |
Re-organized sub-directory by category
Since all the sub-directories were placed in the
first level, created sub-directories, "hal", "module",
and "service" for classification and relocated each component.
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Change-Id: Ifdf743ac0d1893bd8e445455cf0d2c199a011d5c
Diffstat (limited to 'systemservice/task_manager/server/include/system_service/tskm_type.h')
-rwxr-xr-x | systemservice/task_manager/server/include/system_service/tskm_type.h | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/systemservice/task_manager/server/include/system_service/tskm_type.h b/systemservice/task_manager/server/include/system_service/tskm_type.h deleted file mode 100755 index 7d1f818..0000000 --- a/systemservice/task_manager/server/include/system_service/tskm_type.h +++ /dev/null @@ -1,123 +0,0 @@ -/* - * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * @file tskm_type.h - * @brief \~english type of tskm - */ -/** @addtogroup BaseSystem - * @{ - */ -/** @addtogroup system_service - * @ingroup BaseSystem - * @{ - */ -/** @addtogroup task_manager - * @ingroup system_service - * @{ - */ -#ifndef TASK_MANAGER_SERVER_INCLUDE_SYSTEM_SERVICE_TSKM_TYPE_H_ -#define TASK_MANAGER_SERVER_INCLUDE_SYSTEM_SERVICE_TSKM_TYPE_H_ - - - -#include <stdint.h> -#include <native_service/frameworkunified_types.h> -#include <system_service/ss_services.h> -#include "system_service/tskm_svcid.h" - - -#define TSKM_ERR_t int32_t -#define TSKM_E_OK 0 -#define TSKM_E_PAR 1 -#define TSKM_E_STATE 2 -#define TSKM_E_PERMIT 3 -#define TSKM_E_ALREADY 4 -#define TSKM_E_RETRY 5 -#define TSKM_E_NG 6 - -#define TSKM_BOOL_t int32_t -#define TSKM_TRUE 1 -#define TSKM_FALSE 0 - -#define TSKM_RSV_t int - -typedef uint32_t TSKM_SVCID_t; -// Values are defined in tskm_svcid.h - -typedef enum { - TSKM_SVC_CMD_NOP, // Do nothing - TSKM_SVC_CMD_EXEC, // Startup service - TSKM_SVC_CMD_ENABLE, // Allow service startup - TSKM_SVC_CMD_DISABLE, // Prohibit service startup - TSKM_SVC_CMD_RESERVE, // Reserve service startup -} TSKM_SVC_CMD_t; - -typedef struct { - TSKM_SVC_CMD_t cmd; -} TSKM_SVC_CTL_t; - -typedef struct { - TSKM_SVCID_t svcId; - TSKM_BOOL_t isExecDisable; -} TSKM_SVC_INFO_t; - -typedef enum { - TSKM_BOOT_NORMAL, // Normal start - TSKM_BOOT_FACTRESET, // start with factory default start - TSKM_BOOT_USERRESET, // start with resetting user info - TSKM_BOOT_VERSIONUP, // start with version up -} TSKM_BOOT_t; - -typedef enum { - TSKM_LOGGING_TYPE_MODULE_LOGS, // logging request from the service - TSKM_LOGGING_TYPE_GRP_RELAUNCH, // logging by Group Relaunch -} TSKM_LOGGING_TYPE_NORMAL_t; - -typedef enum { - TSKM_ERROR_REBOOT_NORMAL, // Anomaly detection -} TSKM_ERROR_REBOOT_TYPE_t; - -#define TSKM_LOGGING_MSG_STR_SIZE 64 - -typedef struct { - TSKM_LOGGING_TYPE_NORMAL_t type; // Log type - char messageStr[TSKM_LOGGING_MSG_STR_SIZE]; // Error message -} TSKM_LOGGING_INFO_t; - -typedef struct { - TSKM_ERROR_REBOOT_TYPE_t type; // Reboot type - TSKM_LOGGING_INFO_t log; // Log info -} TSKM_ERROR_REBOOT_t; - -typedef enum { - TSKM_DATAINIT_TYPE_USER, // Reset user info -} TSKM_DATAINIT_TYPE_t; - -typedef struct { - TSKM_DATAINIT_TYPE_t type; - EFrameworkunifiedStatus (*onCompInit)(HANDLE hApp); -} TSKM_DATAINIT_t; - -#define TSKM_ORDER_NAME_MAX 32 - -typedef struct { - char orderName[TSKM_ORDER_NAME_MAX]; -} TSKM_WAKEUP_ORDER_t; - -#endif // TASK_MANAGER_SERVER_INCLUDE_SYSTEM_SERVICE_TSKM_TYPE_H_ -/** @}*/ -/** @}*/ -/** @}*/ |