/******************************************************************************** * Copyright (c) 2025-2026 ZF Friedrichshafen AG * * This program and the accompanying materials are made available under the * terms of the Apache License Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0 * * SPDX-License-Identifier: Apache-2.0 * * Contributors: * Erik Verhoeven - initial API and implementation ********************************************************************************/ #ifndef START_STOP_SERVICE_H #define START_STOP_SERVICE_H #include "context.h" #include #include #include /** * @brief Help for start or stop a complex service. * @param[in] rsContext Reference to the context. */ void StartStopServiceHelp(const SContext& rsContext); /** * @brief Start the service. * @details The command line context includes the service to start or stop. * @param[in] rsContext Reference to the context. * @return The application exit code. 0 is no error. */ int StartService(const SContext& rsContext); /** * @brief Stop the complex service. * @param[in] rsContext Reference to the context. * @return The application exit code. 0 is no error. */ int StopService(const SContext& rsContext); #endif // !defined START_STOP_SERVICE_H