YaST2 Developers Documentation: Configuration of http-server

Configuration of http-server

include/http-server/routines.ycp
Miscelanous functions for configuration of http-server.

This module has an unstable interface.

Imports

  • Directory
  • Popup
  • Progress
  • String

Global Functions

global Abort () -> boolean

Abort function

Return value:
blah blah lahjk
global PollAbort () -> boolean

Check for pending Abort press

Return value:
true if pending abort
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:
title progressbar title
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:
term for the table
global listen2map (string arg) -> map

Convert a Listen string to a pair: $[ "port": port, "address": network ]

Parameters:
arg the Listen string
Return value:
map with the result
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:
Listen value