[OpenVCP] Request for daemon documentation

Gerrit Wyen gerrit at t4a.net
Mon Sep 15 16:19:20 UTC 2008


Hi,
thanks a lot for your patch. I merged it with trunk and tested it.
I will add some method signatures as soon as I have a bit more spare
time.
But further patches are always welcome ;)

best regards,
gerrit



> I've created a patch [2] that should do the job (it needs testing  
> though).
> The work remaining is to add the actual information about method  
> signatures
> and help texts in request.c like this:
> 
> ...
> 
> struct ovcp_method ovcp_vserver_methods[] =
> {
> 	{ "get_xid", { "return type", "type of arg0", "type of arg1", ... ,  
> NULL }, "Return the XID ...", get_xid },
> ...
> 
> The only problem I encountered is that the XML-RPC documentation I  
> found [3]
> says that system.methodSignature should return an array of method  
> signatures
> (to allow for method overloading) where each signature is an array of  
> types.
>  From what I could see you don't support multi level arrays(?). But if  
> there
> are no overloaded methods I guess it does not really matter.
> 
>   /Per
> 
> [1] http://openvcp.org/ticket/228
> [2] http://openvcp.org/attachment/ticket/228/openvcp-daemon-introspection.diff
> [3] http://scripts.incutio.com/xmlrpc/introspection.html




More information about the OpenVCP mailing list