
functions
files
intro
|
|
Configuration of http-server |
modules/HttpServerWidgets.ycp |
Widgets used by HTTP server configuration |
|
|
Imports
- DNS
- Directory
- Hostname
- Hostname
- HttpServer
- IP
- IP
- Label
- LogView
- Mode
- Popup
- Report
- Service
- String
- TablePopup
- YaST::HTTPDData
Includes
Global Variables
Global Functions
- DefaultHostPopupInit (any opt_id, string opt_key)
- DefaultHostPopupStore (any opt_id, string opt_key, map event)
- HostTableContents (map descr)
- HostTableEntryDelete (any opt_id, string opt_key)
- HostTableEntrySummary (string opt_id, string opt_key)
- handleHostTable (string key, map event)
- handleListenSettings (string key, map event)
- handleModules (string key, map event)
- initAdaptFirewall (string key)
- initListenSettings (string key)
- initModules (string key)
- initServiceStatus (string key)
- listen2item (map<string,any> arg, integer id)
- showAccessLogPopup (any key, map event)
- showErrorLogPopup (any key, map event)
- storeAdaptFirewall (any opt_id, map event)
- storeServiceStatus (string key, map event)
Local Functions
|
|
|
global popups -> map<string,map>
|
|
Map of popups for CWM
Map of widgets for CWM
global listen2item (map<string,any> arg, integer id) -> term
|
|
Convert a Listen string to an item for table. Splits by the colon.
- Parameters:
arg |
the Listen map |
id |
the id of this item |
- Return value:
local item2listen (string network, string port) -> string
|
|
Convert a Listen string to an item for table. Splits by the colon.
- Parameters:
network |
network address |
port |
port number |
- Return value:
local AskListen (string network, string port) -> map<string,string>
|
|
Show a popup for editing Listen statement.
- Parameters:
network |
initial value for the network part of the statement
If empty or _("All Addresses"), considered for all Listen for all interfaces. |
port |
initial value for a port number |
- Return value:
|
the new Listen statement or nil if Cancel was pressed |
global showAccessLogPopup (any key, map event) -> symbol
|
|
Handle function of the access log button (the first defined access log file)
- Parameters:
key |
any key of the widget |
event |
map event that occured |
- Return value:
|
value for wizard sequencer, always nil |
global showErrorLogPopup (any key, map event) -> symbol
|
|
Handle function of the error log button
- Parameters:
key |
any key of the widget |
event |
map event that occured |
- Return value:
|
value for wizard sequencer, always nil |
global HostTableContents (map descr) -> list<string>
|
|
Function for getting contents of the default host table
- Parameters:
descr |
map description map of the table |
- Return value:
global HostTableEntryDelete (any opt_id, string 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 handleHostTable (string key, map event) -> symbol
|
|
Handler for editing default host. Handles additional buttons, like logs and modules.
Rest is passed to TablePopup::TableHandle.
- Parameters:
key |
the key modified |
event |
event description |
- Return value:
|
the result of the handling |
global DefaultHostPopupInit (any opt_id, string opt_key) -> void
|
|
Fallback initialization function of a table entry / popup
- Parameters:
opt_id |
any option id |
opt_key |
any option key |
global DefaultHostPopupStore (any opt_id, string opt_key, map event) -> void
|
|
Fallback store function of a table entry / popup
- Parameters:
opt_id |
any option id |
opt_key |
any option key |
event |
|
global HostTableEntrySummary (string opt_id, string opt_key) -> string
|
|
Fallback summary function of a table entry / popup
- Parameters:
opt_id |
any option id |
opt_key |
any option key |
- Return value:
global initModules (string key) -> void
|
|
Initialize function of a widget
- Parameters:
key |
any widget key of widget that is processed |
global handleModules (string key, map event) -> symbol
|
|
Handle function of a widget
- Parameters:
key |
any widget key of widget that is processed |
event |
any event that occured |
- Return value:
global initListenSettings (string key) -> void
|
|
Initialize function of a widget
- Parameters:
key |
any widget key of widget that is processed |
global handleListenSettings (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 initServiceStatus (string key) -> void
|
|
Initialize function of a widget
- Parameters:
key |
any widget key of widget that is processed |
global storeServiceStatus (string key, map event) -> void
|
|
Store function of a widget
- Parameters:
key |
any widget key of widget that is processed |
event |
map event that occured |
global initAdaptFirewall (string key) -> void
|
|
Initialization function for firewall adapting
- Parameters:
key |
any option key to be initialized |
global storeAdaptFirewall (any opt_id, map event) -> void
|
|
Store function for firewall adapting
- Parameters:
opt_id |
any option id |
event |
map event description |
|