|
PQS: Post Quantum Shell Protocol 1.1.0.0a (A2)
A quantum secure secure shell protocol
|
PQS client and server configuration file support. More...
Go to the source code of this file.
Data Structures | |
| struct | pqs_server_config |
| The PQS server configuration state. More... | |
| struct | pqs_client_config |
| The PQS client configuration state. More... | |
Typedefs | |
| typedef PQS_EXPORT_API struct pqs_server_config | pqs_server_config |
| The PQS server configuration state. | |
| typedef PQS_EXPORT_API struct pqs_client_config | pqs_client_config |
| The PQS client configuration state. | |
Functions | |
| PQS_EXPORT_API void | pqs_config_server_defaults (pqs_server_config *cfg) |
| Initialize a server configuration with safe defaults. | |
| PQS_EXPORT_API void | pqs_config_client_defaults (pqs_client_config *cfg) |
| Initialize a client configuration with safe defaults. | |
| PQS_EXPORT_API bool | pqs_config_server_load (pqs_server_config *cfg, const char *fpath) |
| Load a PQS server configuration file. | |
| PQS_EXPORT_API bool | pqs_config_client_load (pqs_client_config *cfg, const char *fpath) |
| Load a PQS client configuration file. | |
| PQS_EXPORT_API const char * | pqs_config_log_level_to_string (pqs_log_level level) |
| Convert a log level to a string. | |
PQS client and server configuration file support.
| typedef PQS_EXPORT_API struct pqs_client_config pqs_client_config |
The PQS client configuration state.
This structure contains the resolved client configuration used to initialize the PQS client application, including storage paths, the target host, username, host-trust settings, and logging behavior.
| typedef PQS_EXPORT_API struct pqs_server_config pqs_server_config |
The PQS server configuration state.
This structure contains the resolved server configuration used to initialize the PQS server application, including storage paths, network binding values, authentication limits, logging behavior, and command sandbox settings.
| PQS_EXPORT_API void pqs_config_client_defaults | ( | pqs_client_config * | cfg | ) |
Initialize a client configuration with safe defaults.
| cfg | [struct] The client configuration. |
| PQS_EXPORT_API bool pqs_config_client_load | ( | pqs_client_config * | cfg, |
| const char * | fpath ) |
Load a PQS client configuration file.
| cfg | [struct] The client configuration. |
| fpath | [const] The configuration file path. |
| PQS_EXPORT_API const char * pqs_config_log_level_to_string | ( | pqs_log_level | level | ) |
Convert a log level to a string.
| level | [enum] The log level. |
| PQS_EXPORT_API void pqs_config_server_defaults | ( | pqs_server_config * | cfg | ) |
Initialize a server configuration with safe defaults.
| cfg | [struct] The server configuration. |
| PQS_EXPORT_API bool pqs_config_server_load | ( | pqs_server_config * | cfg, |
| const char * | fpath ) |
Load a PQS server configuration file.
| cfg | [struct] The server configuration. |
| fpath | [const] The configuration file path. |