YaST2 Developers Documentation: Configuration of network

Configuration of network

include/network/isdn/routines.ycp
helper functions for ISDN configuration

This module has an unstable interface.

Imports

  • Label
  • Popup

Local Functions

local driver_has_type (map drv, integer i4ltyp, integer i4lsubtyp) -> boolean

Return true if the given driver match i4ltyp and i4l subtype

Parameters:
drv - the driver info map
i4ltyp - the I4L TYPE
i4lsubtyp - the I4L SUBTYPE
Return value:
- true if match false if not
local card_has_type (map card, integer i4ltyp, integer i4lsubtyp) -> boolean

Return true if the given card match i4ltyp and i4l subtype

Parameters:
card - the card info map
i4ltyp - the I4L TYPE
i4lsubtyp - the I4L SUBTYPE
Return value:
- true if match false if not
local get_isdndriver_by_type (map cdb, integer i4ltyp, integer i4lsubtyp) -> map

Return the matching driver for i4ltyp and i4l subtype

Parameters:
cdb - cdb ISDN db
i4ltyp - the I4L TYPE
i4lsubtyp - the I4L SUBTYPE
Return value:
of matching driver info
local get_isdncard_by_type (map cdb, integer i4ltyp, integer i4lsubtyp) -> map

Return the matching card for i4ltyp and i4l subtype

Parameters:
cdb - cdb ISDN db
i4ltyp - the I4L TYPE
i4lsubtyp - the I4L SUBTYPE
Return value:
of matching card info
local get_i4lsubtype (map card) -> integer

Return the I4L SUBTYPE from card info

Parameters:
card - map of card info
Return value:
I4L SUBTYPE
local get_i4ltype (map card) -> integer

Return the I4L TYPE from card info

Parameters:
card - map of card info
Return value:
I4L TYPE
local display_testresult (integer result, string details) -> boolean

Creates a popup with test OK/ not OK and displays details on request

Parameters:
result - return code of the test 0 is OK
details - string of collected infos during the test
Return value:
allways true
local select_fromlist_popup (string title, list lst) -> string

Creates a popup with a selection list

Parameters:
title - return code of the test 0 is OK
lst - list of items
Return value:
name of the selected item