Program Listing for File connection_config.h#

Return to documentation for file (sdv_control\connection_config.h)

/********************************************************************************
 * 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 CONNECTION_CONFIG_H
#define CONNECTION_CONFIG_H

#include "context.h"
#include <support/sequence.h>
#include <support/string.h>

void ListenerHelp(const SContext& rsContext);

void ConnectionHelp(const SContext& rsContext);

int ConfigureListener(const SContext& rsContext);

int AddListener(const std::string& rssListener, const std::string& rssConfig, const SContext& rsContext);

int RemoveListener(const std::string& rssListener, const SContext& rsContext);

int ShowListenerConfig(const std::string& rssListener, const SContext& rsContext);

int ConfigureConnection(const SContext& rsContext);

int AddConnection(const std::string& rssConnection, const std::string& rssConfig, const SContext& rsContext);

int RemoveConnection(const std::string& rssConnection, const SContext& rsContext);

int ShowConnectionConfig(const std::string& rssConnection, const SContext& rsContext);


#endif // !defined CONNECTION_CONFIG_H