|
Server Wait On Clients System - API Documentation v1.8.3
Server Wait On Clients System.
|
To parse and validate the config file. More...
#include <ctype.h>#include <errno.h>#include <limits.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <syslog.h>#include <configmake.h>#include <libmgec/mge-errno.h>#include <libmgesysutils/mge-configfile.h>#include <swoc/libswoccommon.h>
Functions | |
| static int | validatepollint (const struct confsection *ps) |
| static int | validatessh (const struct confsection *ps) |
| static int | validateserver (const struct confsection *ps) |
| static int | validatesrvportno (const struct confsection *ps) |
| static int | validatesshportno (const struct confsection *ps) |
| static int | validatesshuser (const struct confsection *ps) |
| static int | validateconfigfileparams (const struct confsection *ps) |
| int | swcom_validate_config (void) |
| Parse and validate the config file. | |
Variables | |
| int | pollint |
| Polling interval. | |
| int | ssh |
| Use SSH false == 0, true == 1. | |
| char | server [_POSIX_HOST_NAME_MAX] |
| Server name. | |
| int | srvportno |
| Server port number. | |
| int | sshportno |
| Local port to use if using SSH. | |
| char | sshuser [_POSIX_LOGIN_NAME_MAX] |
| Server username for SSH. | |
To parse and validate the config file.
Used for swocserver and swocclient not swocserverd.
Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0-only
| int swcom_validate_config | ( | void | ) |
Parse and validate the config file.
On error mge_errno is set.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int pollint |
Polling interval.
| char server[_POSIX_HOST_NAME_MAX] |
Server name.
| int srvportno |
Server port number.
| int ssh |
Use SSH false == 0, true == 1.
| int sshportno |
Local port to use if using SSH.
| char sshuser[_POSIX_LOGIN_NAME_MAX] |
Server username for SSH.