List of Global Functions
ACLIsUsedBy - Returns list of options which use this ACL (identified by id_item). It's necessary to run this function before deleting ACL to know if any options are not affected.
Abort - Abort function
Export - Dump the squid settings to a single map (For use by autoinstallation.)
GetHttpPortsOnly - Returns only list of configured ports (no hosts and so on)
Import - Get all squid settings from the first parameter (For use by autoinstallation.)
IsServiceRunning - Returns true if Squid service is running.
NumACLs - Returns number of occurences of ACL (definition lines) in config file.
NumACLsByName - Same as NumACLs but ACL is identified by name.
Read - Read all squid settings
StartService - Start Squid service if not running otherwise reload. Returns true if squid was successfuly started
StopService - Stop Squid service. Returns true if squid was successfuly stopped
Summary - Create a textual summary and a list of unconfigured cards
Write - Write all squid settings
List of Global Variables
write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
Returns list of options which use this ACL (identified by id_item). It's necessary to run this function before deleting ACL to know if any options are not affected.
Function parameters
integer id_item
Return value
list<string>
Dump the squid settings to a single map (For use by autoinstallation.)
Return value
map - Dumped settings (later acceptable by Import ())
Returns only list of configured ports (no hosts and so on)
Return value
list<string>
Get all squid settings from the first parameter (For use by autoinstallation.)
Function parameters
map sett
Return value
boolean - True on success
Returns number of occurences of ACL (definition lines) in config file.
Function parameters
integer id_item
Return value
integer
Same as NumACLs but ACL is identified by name.
Function parameters
string name
Return value
integer
Start Squid service if not running otherwise reload. Returns true if squid was successfuly started
Return value
boolean
Stop Squid service. Returns true if squid was successfuly stopped
Return value
boolean
Create a textual summary and a list of unconfigured cards
Return value
list - summary of the current configuration