Refactor remote procedure calls in the proxy
authormartin f. krafft <madduck@madduck.net>
Fri, 21 Mar 2008 18:12:15 +0000 (19:12 +0100)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 21 Mar 2008 19:07:10 +0000 (15:07 -0400)
commit86ec72c8260a377617b215e7f021778f7507e3fb
tree0181921b1e5cd1d8fd65ead0694db08ea112bf3a
parent33e3528cd9d758bd301ecabbb4b2d7bd43334881
Refactor remote procedure calls in the proxy

Add an rpc() method to the proxy to allow users to call remote
procedures, and route the proxy's own import registration via this
function.

Also, implement convenience functions for the RPC calls exported in the
IkiWiki::XML::RPC namespace.

Signed-off-by: martin f. krafft <madduck@madduck.net>
plugins/proxy.py