DSL data
List of Global Functions
Add - Add a new device
Adding - Used to see whether we are in the process of adding a new interface or editing an existing one.
Commit - Commit the pending operation
Delete - Delete the given device
Edit - Edit the given device
Export - Export data
Import - Import data
Modified - Data was modified?
Overview - Create an overview table with all configured devices
Propose - Propose a configuration
Read - Read all network settings from the SCR
Select - Select the given device
SelectHW - Select the hardware component
Summary - Create a textual summary and a list of unconfigured devices
UsesDevice - Return true if the device is used by any DSL connection
Write - Update the SCR according to network settings
List of Global Variables
AbortFunction - Abort function return boolean return true if abort
capiadsl - Special Capi-ADSL mode -- different presets for the first device. Used for ISDN-DSL combined hardware.
interface - Ethernet network interface
modemip - DSL modem IP (used for PPTP)
pppmode - PPP mode: pppoe or pppoatm
vpivci - VPI/VCI
Used to see whether we are in the process of adding a new interface or editing an existing one.
Return value
boolean - adding?
Delete the given device
Function parameters
string name
Return value
boolean - true if success
Edit the given device
Function parameters
string name
Return value
boolean - true if success
Select the given device
Function parameters
string dev
Return value
boolean - true if success
Create a textual summary and a list of unconfigured devices
Function parameters
boolean split
Return value
list - summary of the current configuration
Return true if the device is used by any DSL connection
Function parameters
string device
Return value
boolean - true if yes
Special Capi-ADSL mode -- different presets for the first device. Used for ISDN-DSL combined hardware.