/* * @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 DIAG_API_DCCC.h * @brief Diagcode feature API defined *****************************************************************************/ /***************************************************************************** * ********************************* * * Diagcode feature API defined * * ********************************* * * ** Creation and release considerations ** * -Because DiagCode API depends on product specifications, it is created at the product level. * * -Submit and request the created headers and dummy Lib(empty functions defined only for I/F) * from DiagService to BaseSystem and build them from BaseSystem. * * -The century Lib created(not dummy Lib) is built from DiagService. * * ->Since this API is also used in BaseSystem, * the API must be inserted from the BaseSystem built to avoid errors in JointBuild. * * ** Notes on change ** * -When modifying a header without cahnging the I/F, * only the header should be submitted to the BaseSystem and requested. * * -Submit header and source code for dummy Lib when the header is modified due to an I/F change. * * -When the legitimate Lib is changed without changing headers and I/F, * no need to submit or request to BaseSystem. * *****************************************************************************/ #ifndef DIAG_CODE_LIBRARY_DUMMY_DCCC_INCLUDE_VEHICLE_SERVICE_DIAG_API_DCCC_H_ #define DIAG_CODE_LIBRARY_DUMMY_DCCC_INCLUDE_VEHICLE_SERVICE_DIAG_API_DCCC_H_ #include #ifdef __cplusplus extern "C" { #endif // __cplusplus #define NTFY_DiagService_Availability_DCCC ("DiagService/Availability") /*********************************************************** Enumerated type ***********************************************************/ /*! @brief Return value for DiagCode re-checking and clearing feature APIs */ typedef enum { RET_DIAG_API_DCCC_NORMAL = 0, //!