xmlrpc::register_proc (public)
xmlrpc::register_proc proc_name
Defined in packages/xml-rpc/tcl/xml-rpc-procs.tcl
Register a proc to be available via XML-RPC.
proc_name
is the name of a proc that is defined in the usual OpenACS way (i.e. ad_proc). Theproc_name
is added to the xmlrpc_procs nsv array with a value of 1. When an XML-RPC call comes in, this array is searched to see if the proc_name has been registered. Currently, the presence ofproc_name
in the nsv is enough to indicate that the proc can be called via XML-RPC. At some point we may allow administrators to disable procs, so we could set the value associated withproc_name
from 1 to 0.
- Parameters:
- proc_name (required)
- Name of proc to be registered.
- Returns:
- nothing
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.