Configuration of ntp-client

YaST2 Developers Documentation: Configuration of ntp-client |

functions files intro |  |
# Configuration of ntp-client | `clients/ntp-client.ycp`
Main file
Jiri Srain <jsrain@suse.cz>
Main file for ntp-client configuration. Uses all other files. # Imports CommandLine NtpClient # Local Functions NtpAddHandler (map options) NtpDeleteHandler (map options) NtpDisableHandler (map options) NtpEditHandler (map options) NtpEnableHandler (map options) NtpListHandler (map options) NtpStatusHandler (map options) findSyncRecord (map options) getSyncRecordType (map options) updateSyncRecord (map options)
`local getSyncRecordType (map options) -> string`
  Get the type of the synchronization record Parameters:
  options | a map of the command line options
  Return value:
  | the sync record type
`local findSyncRecord (map options) -> integer`
  Find the synchronization record the map is about Parameters:
  options | map of command line options
  Return value:
  | index of the found record, -1 in case of an error
`local updateSyncRecord (map options) -> boolean`
  Update the synchronization record Parameters:
  options | map of command line options
  Return value:
  | true on success
`local NtpStatusHandler (map options) -> boolean`
  Handler for command line interface Parameters:
  options | map options from the command line
  Return value:
  | true if settings have been changed
`local NtpListHandler (map options) -> boolean`
  Handler for command line interface Parameters:
  options | map options from the command line
  Return value:
  | true if settings have been changed
`local NtpEnableHandler (map options) -> boolean`
  Handler for command line interface Parameters:
  options | map options from the command line
  Return value:
  | true if settings have been changed
`local NtpDisableHandler (map options) -> boolean`
  Handler for command line interface Parameters:
  options | map options from the command line
  Return value:
  | true if settings have been changed
`local NtpAddHandler (map options) -> boolean`
  Handler for command line interface Parameters:
  options | map options from the command line
  Return value:
  | true if settings have been changed
`local NtpEditHandler (map options) -> boolean`
  Handler for command line interface Parameters:
  options | map options from the command line
  Return value:
  | true if settings have been changed
`local NtpDeleteHandler (map options) -> boolean`
  Handler for command line interface Parameters:
  options | map options from the command line
  Return value:
  | true if settings have been changed

YaST2 Developers Documentation |