Configuration of http-server |
include/http-server/routines.ycp |
Miscelanous functions for configuration of http-server. |
|
|
Imports
- Directory
- Popup
- Progress
- String
Global Functions
|
|
|
global Abort () -> boolean
|
|
Abort function
- Return value:
global PollAbort () -> boolean
|
|
Check for pending Abort press
- Return value:
global ReallyAbort () -> boolean
|
|
If modified, ask for confirmation
- Return value:
|
true if abort is confirmed |
global ProgressNextStage (string title) -> void
|
|
Progress::NextStage and Progress::Title combined into one function
- Parameters:
global listen2item (string arg, integer id) -> term
|
|
Convert a Listen string to an item for table. Splits by the colon.
- Parameters:
arg |
the Listen string |
id |
the id of this item |
- Return value:
global listen2map (string arg) -> map
|
|
Convert a Listen string to a pair: $[ "port": port, "address": network ]
- Parameters:
- Return value:
global 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:
global GetModules () -> map
|
|
Reads apache2 module descriptions
- Return value:
|
returns value for HttpServer::all_modules |
|