YaST2 Developers Documentation: Configuration of dns-server



functions
files
intro

Configuration of dns-server

include/dns-server/widgets.ycp
Widgets used by DNS server configuration

Imports

  • CWM
  • DnsServer
  • Label
  • LogView
  • Popup
  • TablePopup

Global Functions

Local Functions

global startInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

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

Store settings of the widget

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

global 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

global getStartWidget () -> map

Get the widget description map

Return value:
of items for the table

global chrootInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

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

Store settings of the widget

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

global chrootHandle (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

global getChrootWidget () -> map

Get the widget description map

Return value:
of items for the table

global zoneDirectionInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

global zoneDirectionStore (string id, map event) -> void

Store settings of the widget

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

local getZoneDirectionWidget () -> map

Get the widget description map

Return value:
of items for the table

global zoneTypeInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

global zoneTypeStore (string id, map event) -> void

Store settings of the widget

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

local getZoneTypeWidget () -> map

Get the widget description map

Return value:
of items for the table

global zoneNameInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

global zoneNameStore (string id, map event) -> void

Store settings of the widget

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

global getZoneNameWidget () -> map

Get the widget description map

Return value:
of items for the table

global soaInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

global soaStore (string id, map event) -> void

Store settings of the widget

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

local getSoaWidget () -> map

Get the widget description map

Return value:
widget description map

local soaButtonInit (string key) -> void

Initialize the widget

Parameters:
key any widget id

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

Handle function of a widget

Parameters:
key any widget key of widget that is processed
event map event that occured
Return value:
symbol for ws or nil

local getSoaButton () -> map

Get the widget description map

Return value:
widget description map

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

Handle function of a widget

Parameters:
key any widget key of widget that is processed
event map event that occured
Return value:
symbol for ws or nil

local getNsMxButton () -> map

Get the widget description map

Return value:
widget description map

global getGlobalTableContents (map descr) -> list

Function for getting contents of the global table

Parameters:
descr map description map of the table
Return value:
of items for the table

local globalTableId2Key (map descr, any id) -> string

Translate option id to option key

Parameters:
descr map table description map
id any option id
Return value:
option key

global globalTableInit (string id) -> void

Initialize function of a widget

Parameters:
id any widget key of widget that is processed

global globalTableStore (string widget, map event) -> void

Store function of a widget

Parameters:
widget any widget key of widget that is processed
event map event that occured

global globalTableEntryDelete (any opt_id, any opt_key) -> boolean

Delete function of the global table

Parameters:
opt_id any option id of selected option
opt_key any option key of selected option
Return value:
true if was really deleted

global getGlobalTableWidget () -> map

Get map of widget

Return value:
of widget

global zonesInit (string key) -> void

Initialize function of a widget

Parameters:
key any widget key of widget that is processed

global zonesHandle (string key, map event) -> symbol

handle function of a widget

Parameters:
key any widget key of widget that is processed
event map event that occured
Return value:
symbol for ws or nil

global getZoneListWidget () -> map

Get map of widget

Return value:
of widget

local advMenubuttonInit (string id) -> void

Initialize function of a widget

Parameters:
id string widget key of widget that is processed

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

handle function of a widget

Parameters:
id string widget key of widget that is processed
event map event that occured
Return value:
symbol for ws or nil

local getAdvancedMenubutton () -> map

Get map of widget

Return value:
of widget

global nsHandle (string id, map event) -> symbol

handle function of a widget

Parameters:
id string widget key of widget that is processed
event map event that occured
Return value:
symbol for ws or nil

global nsInit (string id) -> void

Initialize function of a widget

Parameters:
id string widget key of widget that is processed

global nsStore (string id, map event) -> void

Store settings of the widget

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

local getNameServersWidget () -> map

Get map of widget

Return value:
of widget

global mxHandle (string id, map event) -> symbol

handle function of a widget

Parameters:
id any widget key of widget that is processed
event map event that occured
Return value:
symbol for ws or nil

global mxInit (string id) -> void

Initialize function of a widget

Parameters:
id any widget key of widget that is processed

global mxStore (string id, map event) -> void

Store settings of the widget

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

local getMailRelaysWidget () -> map

Get map of widget

Return value:
of widget

global masterId2Key (map table, any opt_id) -> any

Convert id to key

Parameters:
table map widget description map
opt_id any option id
Return value:
option key

global masterTableEntryDelete (any opt_id, string opt_key) -> boolean

Delete function of the master table

Parameters:
opt_id any option id of selected option
opt_key any option key of selected option
Return value:
true if was really deleted

global getMasterTableContents (map descr) -> list

Function for getting contents of the master table

Parameters:
descr map description map of the table
Return value:
items for the table

local MasterTableInit (string key) -> void

Initialize the widget

Parameters:
key any widget id

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

Store settings of the widget

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

global MasterTableHandle (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 nil

global getMasterTableWidget () -> map

Get map of widget

Return value:
of widget

global zoneMastersHandle (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 nil

global zoneMastersInit (string key) -> void

Initialize the widget

Parameters:
key any widget id

global zoneMastersStore (string key, map event) -> void

Store settings of the widget

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

local getZoneMastersWidget () -> map

Get the widget description map

Return value:
widget description map

global IfacesInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

global IfacesStore (string id, map event) -> void

Store settings of the widget

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

local getIfaceClassesWidget () -> map

Get the widget description map

Return value:
widget description map

global FirewallInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

global FirewallStore (string id, map event) -> void

Store settings of the widget

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

local getAdaptFirewallWidget () -> map

Get the widget description map

Return value:
widget description map

global AllowDdnsHandle (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

global AllowDdnsInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

global AllowDdnsStore (string id, map event) -> void

Store settings of the widget

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

local getAllowDdnsWidget () -> map

Get the widget description map

Return value:
widget description map

local DdnsKeysRedraw () -> void

Redraw the table of DDNS keys

global DdnsKeysInit (string id) -> void

Initialize the widget

Parameters:
id any widget id

global DdnsKeysHandle (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

global DdnsKeysStore (string id, map event) -> void

Store settings of the widget

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

local getDdnsKeysWidget () -> map

Get the widget description map

Return value:
widget description map

global InitWidgets () -> map

Create the wodgets description map

Return value:
the widgets description map

YaST2 Developers Documentation