
functions
files
intro
|
|
Configuration of dns-server |
include/dns-server/misc.ycp |
Miscelanous functions for configuration of dns-server. |
|
|
Imports
- Label
- Mode
- Require
- Service
Global Functions
Local Functions
|
|
|
local RestartDnsDaemon () -> void
|
|
Restart the DNS daemon
global DeQuote (string orig) -> string
|
|
Remove quotes around a string
- Parameters:
orig |
string quoted string |
- Return value:
global Quote (string orig) -> string
|
|
Add quotes around a string
- Parameters:
orig |
string unquotes string |
- Return value:
global swapItems (list input, integer index1, integer index2) -> list
|
|
returns modified list where items index1 and index2 are swapped.
if indices are out of bounds, unmodified list is returned.
- Parameters:
input |
list |
index1 |
index of the first element |
index2 |
index og the second element |
- Return value:
global getZoneType (string zone) -> symbol
|
|
Get zone type from the zone identification
- Parameters:
zone |
string zone identification |
- Return value:
|