MPDC: Multi Party Domain Cryptosystem 1.0.0.0b (A0)
MPDC Interior protocol
rds.h File Reference

The MPDC Root Domain Security server. More...

#include "common.h"

Go to the source code of this file.

Functions

MPDC_EXPORT_API void mpdc_rds_pause_server ()
 Pause the RDS server.
 
MPDC_EXPORT_API void mpdc_rds_start_server ()
 Start the RDS server.
 
MPDC_EXPORT_API void mpdc_rds_stop_server ()
 Stop the RDS server.
 

Detailed Description

The MPDC Root Domain Security server.

Detailed File Description: This header file defines the public interface for the MPDC Root Domain Security (RDS) server. The RDS server is responsible for managing the root domain security functions within the MPDC system. This includes handling operations related to the creation, storage, signing, and verification of the root certificate as well as coordinating secure communications with other nodes in the network. The public functions declared here allow the RDS server to be started, paused, and stopped. In addition, when the macro MPDC_DEBUG_TESTS_RUN is defined, a test function is provided to run self-diagnostic tests on the RDS server functionality.

Every function declared in this header file is documented with its purpose, parameters, and return value (if any).

Function Documentation

◆ mpdc_rds_pause_server()

MPDC_EXPORT_API void mpdc_rds_pause_server ( )

Pause the RDS server.

This function pauses the operation of the RDS server. When called, the server will temporarily suspend processing of incoming network messages and connections until it is resumed.

◆ mpdc_rds_start_server()

MPDC_EXPORT_API void mpdc_rds_start_server ( )

Start the RDS server.

This function initializes and starts the RDS server. It sets up all necessary resources, initializes the application state, and begins accepting network connections.

◆ mpdc_rds_stop_server()

MPDC_EXPORT_API void mpdc_rds_stop_server ( )

Stop the RDS server.

This function stops the RDS server by terminating its main command loop and releasing all allocated resources. After calling this function, the server will no longer process incoming network messages.