NTP daemon configuration

Overview

Definition of API to manage ntpd daemon. More…

// global functions

static void tapi_ntpd_enable(rcf_rpc_server* rpcs);
static void tapi_ntpd_disable(rcf_rpc_server* rpcs);
static bool tapi_ntpd_status(rcf_rpc_server* rpcs);

Detailed Documentation

Definition of API to manage ntpd daemon.

Copyright (C) 2004-2022 OKTET Labs Ltd. All rights reserved.

Global Functions

static void tapi_ntpd_enable(rcf_rpc_server* rpcs)

Start ntpd daemon.

Parameters:

rpcs

RPC server

static void tapi_ntpd_disable(rcf_rpc_server* rpcs)

Stop ntpd daemon.

Parameters:

rpcs

RPC server

static bool tapi_ntpd_status(rcf_rpc_server* rpcs)

ntpd daemon status.

Parameters:

rpcs

RPC server

Returns:

true if deaimon is enabled