
functions
files
intro
|
|
Configuration of network
|
include/network/isdn/routines.ycp
|
|
helper functions for ISDN configuration
|
|
|
|
Imports
Local Functions
- card_has_type (map card, integer i4ltyp, integer i4lsubtyp)
- display_testresult (integer result, string details)
- driver_has_type (map drv, integer i4ltyp, integer i4lsubtyp)
- get_i4lsubtype (map card)
- get_i4ltype (map card)
- get_isdncard_by_type (map cdb, integer i4ltyp, integer i4lsubtyp)
- get_isdndriver_by_type (map cdb, integer i4ltyp, integer i4lsubtyp)
- select_fromlist_popup (string title, list lst)
|
|
|
|
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:
|
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:
|
local get_i4lsubtype (map card) -> integer
|
|
Return the I4L SUBTYPE from card info
- Parameters:
- Return value:
|
local get_i4ltype (map card) -> integer
|
|
Return the I4L TYPE from card info
- Parameters:
- Return value:
|
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:
|
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 |
|