
functions
files
intro
|
|
Configuration of dns-server |
include/dns-server/widgets.ycp |
| Widgets used by DNS server configuration |
|
|
|
Imports
- CWM
- Confirm
- DnsServer
- Label
- LogView
- Popup
- TablePopup
Global Functions
- AllowDdnsHandle (string id, map event)
- AllowDdnsInit (string id)
- AllowDdnsStore (string id, map event)
- FirewallInit (string id)
- FirewallStore (string id, map event)
- IfacesInit (string id)
- IfacesStore (string id, map event)
- InitWidgets ()
- MasterTableHandle (string key, map event)
- chrootHandle (string id, map event)
- chrootInit (string id)
- chrootStore (string id, map event)
- confirmAbort ()
- confirmAbortIfChanged ()
- getChrootWidget ()
- getGlobalTableContents (map descr)
- getGlobalTableWidget ()
- getMasterTableContents (map descr)
- getMasterTableWidget ()
- getStartWidget ()
- getZoneListWidget ()
- getZoneNameWidget ()
- globalTableEntryDelete (any opt_id, any opt_key)
- globalTableInit (string id)
- globalTableStore (string widget, map event)
- masterId2Key (map table, any opt_id)
- masterTableEntryDelete (any opt_id, string opt_key)
- mxHandle (string id, map event)
- mxInit (string id)
- mxStore (string id, map event)
- nsHandle (string id, map event)
- nsInit (string id)
- nsStore (string id, map event)
- soaInit (string id)
- soaStore (string id, map event)
- startHandle (string id, map event)
- startInit (string id)
- startStore (string id, map event)
- zoneDirectionInit (string id)
- zoneDirectionStore (string id, map event)
- zoneMastersHandle (string key, map event)
- zoneMastersInit (string key)
- zoneMastersStore (string key, map event)
- zoneNameInit (string id)
- zoneNameStore (string id, map event)
- zoneTypeInit (string id)
- zoneTypeStore (string id, map event)
- zonesHandle (string key, map event)
- zonesInit (string key)
Local Functions
|
|
|
|
global startInit (string id) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
global getStartWidget () -> map
|
|
Get the widget description map
- Return value:
|
global chrootInit (string id) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
global getChrootWidget () -> map
|
|
Get the widget description map
- Return value:
|
global zoneDirectionInit (string id) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
global zoneTypeInit (string id) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
global zoneNameInit (string id) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
global soaInit (string id) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
local soaButtonInit (string key) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
local getSoaButton () -> map
|
|
Get the widget description map
- Return value:
|
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:
|
local getNsMxButton () -> map
|
|
Get the widget description map
- Return value:
|
global getGlobalTableContents (map descr) -> list
|
|
Function for getting contents of the global table
- Parameters:
|
descr |
map description map of the table |
- Return value:
|
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:
|
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:
|
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:
|
global getZoneListWidget () -> map
|
|
Get map of widget
- Return value:
|
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:
|
local getAdvancedMenubutton () -> map
|
|
Get map of widget
- Return value:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
local MasterTableInit (string key) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
global getMasterTableWidget () -> map
|
|
Get map of widget
- Return value:
|
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:
|
global zoneMastersInit (string key) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
global IfacesInit (string id) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
global FirewallInit (string id) -> void
|
|
Initialize the widget
- Parameters:
|
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:
|
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:
|
global AllowDdnsInit (string id) -> void
|
|
Initialize the widget
- Parameters:
|
global AllowDdnsStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
|
id |
string widget id |
|
event |
map event that caused storing process |
|
global InitWidgets () -> map
|
|
Create the wodgets description map
- Return value:
|
|
the widgets description map |
|
global confirmAbort () -> boolean
|
|
Ask for exit without saving
- Return value:
|
|
event that should be handled, nil if user canceled the exit |
|
global confirmAbortIfChanged () -> boolean
|
|
Check whether settings were changed and if yes, ask for exit
without saving
- Return value:
|
|
event that should be handled, nil if user canceled the exit |
|