• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.amH A D03-Feb-2008866 2718

Makefile.inH A D03-May-202218 KiB547479

READMEH A D03-Feb-20082.3 KiB6440

test-xmlrpc-client.cH A D03-Feb-20081.7 KiB7240

test-xmlrpc-server.cH A D03-Feb-20083.1 KiB13287

xmlrpc-client.cH A D03-Feb-20087.8 KiB269201

xmlrpc-server.cH A D03-Feb-200813.1 KiB421320

xmlrpc.hH A D03-Feb-20083.4 KiB8541

README

1
2  ===========================================================================
3
4                     GNetXmlRpc server and client
5                  XMLRPC functionality using GLib/GNet
6              Written by Dov Grobgeld <dov.grobgeld@gmail.com>
7                           Version 0.0.3
8
9  ===========================================================================
10
11   BACKGROUND
12
13   I built this library for a scientific gtk display application in which
14   I am generating date in one process, and would like to display it in
15   another process. Through this library, whenever the data is ready for
16   display, I can easily send it to the display program.
17
18   For this application it was enough to support one string in and one
19   string out subset of the full XMLRPC application. If someone is
20   interested it would be easy to add a parallell callback functionality
21   for the full XML data. I doubt that I will get around to doing it though.
22
23   See the two example programs test-xml-server and test-xml-client for
24   examples how to use this library.
25
26  ===========================================================================
27
28   TODO
29
30   - Ideally, GnetXmlRpcClient would be built on top of GConnHttp and
31     GnetXMLRcpServer would be built on top of a still-to-write GServerHttp
32     (= provide asynchronous client functionality, HTTP authentication would
33     then be handled by GServerHttp)
34
35   - XML escaping/unescaping should be done using GLib's g_markup_*
36     family of functions.
37
38   - XML parsing should be done using GMarkupParser (any non-UTF8 input would
39     need to be converted to UTF8 first).
40
41   - Support other types than just strings / add full xml parameter support
42
43   - By default block connections from servers other than localhost (IP filter)
44
45   - Add option to accept connections from a wild card of servers.
46
47   - When registering commands, check if they already exist and free
48     the corresponding resources.
49
50   - When destroying a server, destroy the command table hash.
51
52   - Better error handling.
53
54   - Make it part of GNet? (needs all of the above fixed + a decent API)
55
56  ===========================================================================
57
58   FURTHER INFORMATION
59
60   http://www.xmlrpc.com/
61   http://www.gnetlibrary.org/
62
63  ===========================================================================
64