YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Host
  • Hostname
  • IP
  • Label
  • Popup
  • Punycode
  • Wizard

Includes

  • network/routines.ycp

Local Functions

Info:

File: include/network/services/host.ycp Module: Network configuration Summary: Hosts configuration dialogs Authors: Michal Svec

local HostSystemPopup (string host, boolean delete) -> boolean

Check if given host is system and present warning in this case.

Parameters:
host host to be checked
delete true if the host will be deleted
Return value:
true if continue
local HostsMainDialog (boolean standalone) -> symbol

Main hosts dialog

Parameters:
standalone true if not run from another ycp client
Return value:
dialog result
local HostDialog (integer id, term entry) -> term

Host edit dialog

Parameters:
id id of the edited host
entry edited entry
Return value:
host or nil, if canceled