GNOME Bugzilla – Bug 624930
Bindings for libxmlrpc-c
Last modified: 2018-05-22 13:43:01 UTC
Created attachment 166288 [details] xmlrpc-c vapi Here's the bindings i've been using for a while for XMLRPC-C. It probably needs some tuning and cleanup, but it is usable and would be good to have it in vala.
I know these have been discussed a few times on the ML... is this the latest version?
Don't think so.. Last version is in the mailing list. Some people did some changes and test it.
Created attachment 171638 [details] XML-RPC bindings Based on http://mail.gnome.org/archives/vala-list/2010-September/msg00143.html I've made a few coding style changes (removed the using statement, added an "XmlRpc." prefix to relevant arguments and return values, and added spaces around '=', added a space between method names and argument lists), but I shouldn't have changed the functionality at all. I do have a few questions/concerns: Are you sure version_major, version_minor, and version_point should be non-static members of the client class? Looking at the C header, it seems like they should be static... AFAICT the xmlrpc_client struct is completely opaque. Are those free_function = "" attributes really necessary? You have an unref/destroy functions, so I don't think valac should ever expect you to have a free_function too. If they are superfluous it would be nice to eliminate them. I see the "TODO: move into StructValue"... are there technical issues preventing that from happening? If so, what are they? If it is the right thing to do I would like to see it happen before moving these into Vala so we never have to break backwards compatibility.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/125.