Configuration YaST2 Firewall |
firewall/uifunctions.ycp |
Configuration dialogs handling functions | |
|
|
This module has an unstable interface. |
Configuration dialogs handling.
Both Expert and Simple.
Imports
Includes
Local Functions
|
void ExampleInit(string key) { y2milestone("Example Init"); }
symbol ExampleHandle(string key, map event) { any ret = event["ID"]:nil; y2milestone("Example Handle"); return nil; }
void ExampleStore(string key, map event) { any ret = event["ID"]:nil; y2milestone("Example Store"); }
Function disables the back button. Fake function for CWM Tree Widget.
- Parameters:
-
key
Function saves configuration and restarts firewall
Function starts Firewall services and sets firewall to be started after exiting YaST
Function stops Firewall services and sets firewall to be stopped after exiting YaST
Function sets appropriate states for [Change] and [Custom] buttons
- Parameters:
-
current_item
Function redraws Interfaces Table
Function initializes Interfaces table and known_device_names
- Parameters:
-
key
Function handles popup dialog witch setting Interface into Zone
- Parameters:
-
interface
Function handles popup with additional settings in zones
Function handles whole firewall-interfaces dialg
- Parameters:
-
key event
Function checks list of ports if they exist (are known).
- Parameters:
-
ui_id ports
Function sets UI for Masquerade Table (and buttons) enabled or disabled
- Parameters:
-
usable
Function returns if masquerading is possible. Masquerading needs at least two interfaces in two different firewall zones. One of them has to be External.
- Return value:
-
if possible.
Function checks port number got as parameter. If check fails SetFocus is called and an empty string is returned.
- Parameters:
-
port_to_be_checked widget_id