YaST2 Developers Documentation: Configuration of ntp-client



functions
files
intro

Configuration of ntp-client

include/ntp-client/widgets.ycp
Widgets definitions

Imports

  • CWMFirewallInterfaces
  • Confirm
  • Label
  • LogView
  • NetworkDevices
  • NtpClient
  • Popup
  • SLP

Includes

  • ntp-client/helps.ycp

Local Functions

local showLogPopup () -> void

Show popup with NTP daemon's log

local ntpEnabledOrDisabled (string id, map event) -> symbol

Handle function of the widget

Parameters:
id string widget id
event map event that caused storing process
Return value:
always nil

local startInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

local startStore (string id, map event) -> void

Store settings of the widget

Parameters:
id any widget id
event map event that caused storing process

local startHandle (string id, map event) -> symbol

Handle function of the widget

Parameters:
id string widget id
event map event that caused storing process
Return value:
always nil

local complexButtonHandle (string key, map event) -> symbol

Handle function of the widget

Parameters:
key any widget id
event map event that caused storing process
Return value:
always `complex

local fudgeButtonHandle (string key, map event) -> symbol

Handle function of the widget

Parameters:
key string widget id
event map event that caused storing process
Return value:
always `complex

local chrootInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

local chrootStore (string id, map event) -> void

Store settings of the widget

Parameters:
id any widget id
event map event that caused storing process

local ConfigDhcpInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

local ConfigDhcpStore (string id, map event) -> void

Store settings of the widget

Parameters:
id any widget id
event map event that caused storing process

local overviewRedraw () -> void

Redraw the overview table

local overviewHandle (string id, map event) -> symbol

Handle events on the widget

Parameters:
id any widget id
event map event that caused storing process
Return value:
event to pass to WS or nil

local overviewInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

local addressInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

local addressStore (string id, map event) -> void

Store settings of the widget

Parameters:
id any widget id
event map event that caused storing process

local serverAddressHandle (string id, map event) -> symbol

Handle events on the widget

Parameters:
id string widget id
event map event that caused storing process
Return value:
event to pass to WS or nil

local initSyncInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

local initSyncStore (string id, map event) -> void

Store settings of the widget

Parameters:
id any widget id
event map event that caused storing process

local optionsInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

local optionsStore (string id, map event) -> void

Store settings of the widget

Parameters:
id any widget id
event map event that caused storing process

local peerTypesInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

local peerTypesHandle (string id, map event) -> symbol

Handle events on the widget

Parameters:
id any widget id
event map event that caused storing process
Return value:
event to pass to WS or nil

local createSymlinkInit (string id) -> void

Initialize the widget

Parameters:
id string widget id

local createSymlinkHandle (string id, map event) -> symbol

Handle function of the widget

Parameters:
id string widget id
event map event that caused storing process
Return value:
always nil

local createSymlinkStore (string id, map event) -> void

Store settings of the widget

Parameters:
id string widget id
event map event that caused storing process

local clockTypeHandle (string id, map event) -> symbol

Handle function of the widget

Parameters:
id string widget id
event map event that caused storing process
Return value:
always nil

local clockTypeInit (string id) -> void

Initialize the widget

Parameters:
id string widget id

local clockTypeStore (string id, map event) -> void

Store settings of the widget

Parameters:
id string widget id
event map event that caused storing process

local unitNumberInit (string id) -> void

Initialize the widget

Parameters:
id string widget id

local unitNumberStore (string id, map event) -> void

Store settings of the widget

Parameters:
id string widget id
event map event that caused storing process

local browseButtonHandle (string id, map event) -> symbol

Handle function of the widget

Parameters:
id string widget id
event map event that caused storing process
Return value:
always nil

local deviceInit (string id) -> void

Initialize the widget

Parameters:
id string widget id

local deviceStore (string id, map event) -> void

Store settings of the widget

Parameters:
id string widget id
event map event that caused storing process

local ServerListHandle (string id, map event) -> symbol

Handle function of the widget

Parameters:
id string widget id
event map event that caused storing process
Return value:
always nil

local ServerListInit (string id) -> void

Initialize the widget

Parameters:
id string widget id

local ServerListStore (string id, map event) -> void

Store settings of the widget

Parameters:
id string widget id
event map event that caused storing process

local ServerListValidate (string id, map event) -> boolean

Validation function of a widget

Parameters:
id string widget id
event map event that caused validation
Return value:
true if validation succeeded

local ServersSourceInit (string id) -> void

Initialize the widget

Parameters:
id string widget id

local FoundServersInit (string id) -> void

Initialize the widget

Parameters:
id string widget id

local FoundServersStore (string id, map event) -> void

Store settings of the widget

Parameters:
id string widget id
event map event that caused storing process

local InitWidgets () -> map<string,map<string,any> >

Initialize all widgets

Return value:
a map of widgets

YaST2 Developers Documentation