Introduction to TclPort

 

TclPort is a Remote Procedure Call (RPC) interface to ListManager. Since the web

interface is implemented in Tcl, it is natural to use the same types of Tcl command

calling conventions to execute commands on the ListManager server. By having a Tcl

interpreter in the back-end, it is easy to process complicated data structures passed

in or out through TclPort. It is not generally used as a normal Tcl interpreter but

rather, the Tcl C library functions are used to do the processing.

 

TclPort can only be accessed through the tclport.tcl library which handles all

connection, argument and result processing. The protocol was designed in a way that

makes it impractical to use directly via Telnet. However, there is a web-based interface to TclPort that handles all argument and result processing. See Introduction to the TclPort Terminal for more information.

 

The ListManager web interface relies on TclPort for all database interaction. Additionally, there are other commands that act directly on the ListManager back-end.

 

To use TclPort in the web interface, simply pass the name of the command and its arguments to the "tclport" comment in the web interface. For example:

 

set lists [tclport get_admin_privileges "list" "email@addre.ss" "p455w0rd"]

 

In this case, the results are a list of mailing list names which are stored in the lists variable.

More

 

1.   Database Functions

2.   Security Functions

3.   Server Functions

4.   Mail queue Functions

5.   Message archive Functions

 

 

 

 



Introduction to the API TclPort Database Functions