YaST2 Developers Documentation: Configuration of ntp-client



functions
files
intro

Configuration of ntp-client

include/ntp-client/misc.ycp
Miscelanous functions for configuration of ntp-client.

Imports

  • IP
  • Popup
  • Progress
  • Service

Includes

  • ntp-client/clocktypes.ycp

Local Functions

local reallyExit () -> boolean

Ask user if exit without saving

Return value:
true if exit

local string2opts (string options_string, list<string> with_param) -> map

Parse string to map of options

Parameters:
options_string string of options
with_param
Return value:
options as a map

local opts2string (map<string,any> options, string other) -> string

Create options string from a map

Parameters:
options map options represented as a map
other
Return value:
options represented as a string

local ReallyAbort () -> boolean

If modified, ask for confirmation

Return value:
true if abort is confirmed

local Abort () -> boolean

Abort function

Return value:
blah blah lahjk

local PollAbort () -> boolean

Check for pending Abort press

Return value:
true if pending abort

local getClockType (string address) -> integer

Get the type of the clock from the address

Parameters:
address string the clock identification in the IP address form
Return value:
the clock type

local getClockUnitNumber (string address) -> integer

Get the unit number of the clock from the address

Parameters:
address string the clock identification in the IP address form
Return value:
the unit number

local getClockTypesCombo () -> list

Get entries for the clock type combo box

Return value:
of items for the combo box

YaST2 Developers Documentation