YaST2 Developers Documentation: Configuration of http-server

Configuration of http-server

modules/HttpServer.ycp
Data for configuration of http-server, input and output functions.

This module has an unstable interface.

Representation of the configuration of http-server. Input and output routines.

Imports

  • Confirm
  • Directory
  • DnsServerAPI
  • Message
  • NetworkDevices
  • NetworkService
  • Package
  • Package
  • Popup
  • Progress
  • Report
  • Service
  • SuSEFirewall
  • SuSEFirewall
  • Summary
  • YaPI::HTTPD
  • YaST::HTTPDData

Includes

  • http-server/routines.ycp

Global Variables

Global Functions

Local Functions

Info:

Abort function return boolean return true if abort

global required_packages -> list<string>

Required packages

global modified -> boolean

Data was modified?

global write_only -> boolean

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

global Modified () -> boolean

Data was modified?

Return value:
true if modified
global ip2device -> map<string,string>

Mapping of IPs to network devices

global Read () -> boolean

Read all http-server settings

Return value:
true on success
global Write () -> boolean

Write all http-server settings

Return value:
true on success
local find_known_module (list< map<string,any> > known_modules, string mod) -> map<string,any>

For module name find description map in known_modules

Parameters:
known_modules list< map > known modules
mod string module name
Return value:
module description
global Import (map s) -> boolean

Get all http-server settings from the first parameter (For use by autoinstallation.)

Parameters:
s The YCP map to be imported
Return value:
True on success
global Export () -> map

Dump the http-server settings to a single map (For use by autoinstallation.)

Return value:
Dumped settings (later acceptable by Import ())
global Summary () -> list

Create a textual summary for the current configuration

Return value:
summary of the current configuration
global AutoPackages () -> map

Return required packages for auto-installation

Return value:
of packages to be installed and to be removed