├── advanced ├── stamp-h.in ├── srcdir.mk.in ├── test │ ├── abyss.h │ ├── value.h │ ├── cgi.h │ ├── client.h │ ├── parse_xml.h │ ├── serialize.h │ ├── server_abyss.h │ ├── memblock.h │ ├── value_datetime.h │ ├── serialize_value.h │ ├── method_registry.h │ ├── cpp │ │ ├── abyss.hpp │ │ ├── server_abyss.hpp │ │ ├── server_pstream.hpp │ │ ├── xml.hpp │ │ ├── base64.hpp │ │ ├── value.hpp │ │ ├── registry.hpp │ │ ├── testclient.hpp │ │ └── abyss_dummy.cpp │ ├── client_dummy.c │ ├── abyss_dummy.c │ ├── data │ │ ├── sample_add_call.xml │ │ ├── req_out_of_order.xml │ │ ├── req_no_params.xml │ │ └── req_value_name.xml │ ├── server_abyss_dummy.c │ ├── http-req-simple.txt │ ├── req_no_params.xml │ ├── eftest_wrapper.sh │ └── xml_data.h ├── tools │ ├── binmode-rpc-kit │ │ ├── examples │ │ │ ├── good-3.binmode │ │ │ ├── invalid-3.binmode │ │ │ ├── invalid-1.binmode │ │ │ ├── good-2.binmode │ │ │ ├── invalid-2.binmode │ │ │ ├── good-5.binmode │ │ │ ├── good-6.binmode │ │ │ ├── good-4.binmode │ │ │ ├── good-1.binmode │ │ │ ├── invalid-4.binmode │ │ │ ├── invalid-5.binmode │ │ │ ├── good-3.xml │ │ │ ├── good-6.xml │ │ │ ├── good-2.xml │ │ │ ├── good-4.xml │ │ │ └── good-5.xml │ │ ├── Makefile │ │ └── oct2bin │ ├── turbocharger │ │ ├── Makefile │ │ ├── mod_gzip.c │ │ └── mod_gzip.c.diff │ ├── lib │ │ └── include │ │ │ └── dumpvalue.h │ ├── xmlrpc_cpp_proxy │ │ ├── systemProxy.hpp │ │ └── proxyClass.hpp │ ├── xmlrpc_pstream │ │ └── test │ └── xml-rpc-api2cpp │ │ └── XmlRpcClass.hpp ├── include │ └── xmlrpc-c │ │ ├── oldxmlrpc.h │ │ ├── lock_none.h │ │ ├── openssl_thread.h │ │ ├── Lock.hpp │ │ ├── inttypes.h │ │ ├── lock_pthread.h │ │ ├── lock_windows.h │ │ ├── base64_int.h │ │ ├── sleep_int.h │ │ ├── lock_platform.h │ │ ├── lock.h │ │ └── AbyssChanSwitchUnix.hpp ├── Windows │ ├── UsingCURLinWin32.txt │ ├── project │ │ └── vs2010express │ │ │ ├── vs2010express.suo │ │ │ ├── gennmtab.vcxproj.user │ │ │ ├── rpctest.vcxproj.user │ │ │ ├── xmlrpc.vcxproj.user │ │ │ ├── xmlrpc__.vcxproj.user │ │ │ ├── tool_xmlrpc.vcxproj.user │ │ │ ├── vs2010express.vcxproj.user │ │ │ ├── xmlrpc_client.vcxproj.user │ │ │ ├── xmlrpc_server.vcxproj.user │ │ │ ├── xmlrpc_xmltok.vcxproj.user │ │ │ ├── sample_add_server.vcxproj.user │ │ │ ├── sample_auth_client.vcxproj.user │ │ │ ├── xmlrpc_server_cgi.vcxproj.user │ │ │ ├── sample_add_sync_client.vcxproj.user │ │ │ ├── tool_xmlrpc-transport.vcxproj.user │ │ │ ├── xmlrpc_server_abyss.vcxproj.user │ │ │ ├── sample_add_asynch_client.vcxproj.user │ │ │ ├── sample_add_server_w32httpsys.vcxproj.user │ │ │ ├── xmlrpc_server_w32httpsys.vcxproj.user │ │ │ ├── cpptest.vcxproj.user │ │ │ ├── xmlrpc_abyss.vcxproj.user │ │ │ ├── xmlrpc_util.vcxproj.user │ │ │ └── xmlrpc_xmlparse.vcxproj.user │ ├── diffcfg.bat │ ├── updcfg.bat │ ├── transport_config_win32.h │ └── mkvers1.bat ├── lib │ ├── abyss │ │ ├── example │ │ │ └── htdocs │ │ │ │ ├── index.htm │ │ │ │ └── pwrabyss.gif │ │ ├── src │ │ │ ├── socket_win.h │ │ │ ├── trace.h │ │ │ ├── socket_unix.h │ │ │ ├── socket_openssl.h │ │ │ ├── token.h │ │ │ ├── sessionReadRequest.h │ │ │ ├── date.h │ │ │ ├── abyss_info.h │ │ │ ├── http.h │ │ │ └── handler.h │ │ └── Makefile │ ├── expat │ │ ├── xmlwf │ │ │ ├── codepage.h │ │ │ ├── xmlfile.h │ │ │ └── filemap.h │ │ └── xmltok │ │ │ ├── dllmain.c │ │ │ └── xmltok_impl.h │ ├── util │ │ └── include │ │ │ ├── unistdx.h │ │ │ ├── inline.h │ │ │ ├── bool.h │ │ │ ├── c_util.h │ │ │ ├── casprintf.h │ │ │ ├── assertx.hpp │ │ │ └── string_parser.h │ ├── libutil++ │ │ ├── env_wrap.cpp │ │ └── girerr.cpp │ ├── libutil │ │ └── sleep.c │ ├── abyss++ │ │ ├── AbyssChanSwitch.cpp │ │ ├── AbyssChanSwitchWin.cpp │ │ ├── AbyssChanSwitchUnix.cpp │ │ └── AbyssEnvironment.cpp │ └── curl_transport │ │ └── curlversion.h ├── src │ ├── double.h │ ├── parse_datetime.h │ ├── parse_value.h │ ├── system_method.h │ ├── registry.h │ ├── version.c │ ├── cpp │ │ ├── global.cpp │ │ └── fault.cpp │ └── resource.c ├── version.mk ├── dll-common.mk ├── doc │ └── CREDITS ├── Makefile └── mkinstalldirs ├── stable ├── stamp-h.in ├── srcdir.mk.in ├── test │ ├── abyss.h │ ├── cgi.h │ ├── client.h │ ├── value.h │ ├── parse_xml.h │ ├── serialize.h │ ├── server_abyss.h │ ├── memblock.h │ ├── value_datetime.h │ ├── serialize_value.h │ ├── method_registry.h │ ├── cpp │ │ ├── abyss.hpp │ │ ├── server_abyss.hpp │ │ ├── server_pstream.hpp │ │ ├── xml.hpp │ │ ├── base64.hpp │ │ ├── value.hpp │ │ ├── registry.hpp │ │ ├── testclient.hpp │ │ └── abyss_dummy.cpp │ ├── abyss_dummy.c │ ├── client_dummy.c │ ├── data │ │ ├── sample_add_call.xml │ │ ├── req_out_of_order.xml │ │ ├── req_no_params.xml │ │ └── req_value_name.xml │ ├── server_abyss_dummy.c │ ├── http-req-simple.txt │ ├── req_no_params.xml │ ├── eftest_wrapper.sh │ └── xml_data.h ├── tools │ ├── binmode-rpc-kit │ │ ├── examples │ │ │ ├── good-3.binmode │ │ │ ├── invalid-3.binmode │ │ │ ├── invalid-1.binmode │ │ │ ├── good-2.binmode │ │ │ ├── invalid-2.binmode │ │ │ ├── good-5.binmode │ │ │ ├── good-6.binmode │ │ │ ├── good-4.binmode │ │ │ ├── good-1.binmode │ │ │ ├── invalid-4.binmode │ │ │ ├── invalid-5.binmode │ │ │ ├── good-3.xml │ │ │ ├── good-6.xml │ │ │ ├── good-2.xml │ │ │ ├── good-4.xml │ │ │ └── good-5.xml │ │ ├── Makefile │ │ └── oct2bin │ ├── turbocharger │ │ ├── Makefile │ │ ├── mod_gzip.c │ │ └── mod_gzip.c.diff │ ├── lib │ │ └── include │ │ │ └── dumpvalue.h │ ├── xmlrpc_pstream │ │ └── test │ ├── xmlrpc_cpp_proxy │ │ ├── systemProxy.hpp │ │ └── proxyClass.hpp │ └── xml-rpc-api2cpp │ │ └── XmlRpcClass.hpp ├── include │ └── xmlrpc-c │ │ ├── oldxmlrpc.h │ │ ├── lock_none.h │ │ ├── openssl_thread.h │ │ ├── Lock.hpp │ │ ├── inttypes.h │ │ ├── lock_pthread.h │ │ ├── lock_windows.h │ │ ├── base64_int.h │ │ ├── sleep_int.h │ │ ├── lock_platform.h │ │ ├── lock.h │ │ └── AbyssChanSwitchUnix.hpp ├── Windows │ ├── UsingCURLinWin32.txt │ ├── project │ │ └── vs2010express │ │ │ ├── vs2010express.suo │ │ │ ├── gennmtab.vcxproj.user │ │ │ ├── rpctest.vcxproj.user │ │ │ ├── xmlrpc.vcxproj.user │ │ │ ├── xmlrpc__.vcxproj.user │ │ │ ├── tool_xmlrpc.vcxproj.user │ │ │ ├── vs2010express.vcxproj.user │ │ │ ├── xmlrpc_client.vcxproj.user │ │ │ ├── xmlrpc_server.vcxproj.user │ │ │ ├── xmlrpc_xmltok.vcxproj.user │ │ │ ├── sample_add_server.vcxproj.user │ │ │ ├── sample_auth_client.vcxproj.user │ │ │ ├── xmlrpc_server_abyss.vcxproj.user │ │ │ ├── xmlrpc_server_cgi.vcxproj.user │ │ │ ├── sample_add_asynch_client.vcxproj.user │ │ │ ├── sample_add_sync_client.vcxproj.user │ │ │ ├── tool_xmlrpc-transport.vcxproj.user │ │ │ ├── xmlrpc_server_w32httpsys.vcxproj.user │ │ │ ├── sample_add_server_w32httpsys.vcxproj.user │ │ │ ├── cpptest.vcxproj.user │ │ │ ├── xmlrpc_abyss.vcxproj.user │ │ │ ├── xmlrpc_util.vcxproj.user │ │ │ └── xmlrpc_xmlparse.vcxproj.user │ ├── diffcfg.bat │ ├── updcfg.bat │ ├── transport_config_win32.h │ └── mkvers1.bat ├── lib │ ├── abyss │ │ ├── example │ │ │ └── htdocs │ │ │ │ ├── index.htm │ │ │ │ └── pwrabyss.gif │ │ ├── src │ │ │ ├── socket_win.h │ │ │ ├── trace.h │ │ │ ├── socket_unix.h │ │ │ ├── socket_openssl.h │ │ │ ├── token.h │ │ │ ├── sessionReadRequest.h │ │ │ ├── date.h │ │ │ ├── abyss_info.h │ │ │ ├── http.h │ │ │ └── handler.h │ │ └── Makefile │ ├── expat │ │ ├── xmlwf │ │ │ ├── codepage.h │ │ │ ├── xmlfile.h │ │ │ └── filemap.h │ │ └── xmltok │ │ │ ├── dllmain.c │ │ │ └── xmltok_impl.h │ ├── util │ │ └── include │ │ │ ├── unistdx.h │ │ │ ├── inline.h │ │ │ ├── bool.h │ │ │ ├── c_util.h │ │ │ ├── casprintf.h │ │ │ ├── assertx.hpp │ │ │ └── string_parser.h │ ├── libutil++ │ │ ├── env_wrap.cpp │ │ └── girerr.cpp │ ├── libutil │ │ └── sleep.c │ ├── abyss++ │ │ ├── AbyssChanSwitch.cpp │ │ ├── AbyssChanSwitchWin.cpp │ │ ├── AbyssChanSwitchUnix.cpp │ │ └── AbyssEnvironment.cpp │ └── curl_transport │ │ └── curlversion.h ├── src │ ├── double.h │ ├── parse_datetime.h │ ├── parse_value.h │ ├── system_method.h │ ├── registry.h │ ├── version.c │ ├── cpp │ │ ├── global.cpp │ │ └── fault.cpp │ └── resource.c ├── version.mk ├── dll-common.mk ├── doc │ └── CREDITS ├── Makefile └── mkinstalldirs └── trunk ├── stamp-h.in ├── srcdir.mk.in ├── test ├── abyss.h ├── cgi.h ├── client.h ├── value.h ├── parse_xml.h ├── serialize.h ├── server_abyss.h ├── memblock.h ├── value_datetime.h ├── serialize_value.h ├── method_registry.h ├── cpp │ ├── abyss.hpp │ ├── server_abyss.hpp │ ├── server_pstream.hpp │ ├── value.hpp │ ├── xml.hpp │ ├── base64.hpp │ ├── registry.hpp │ ├── testclient.hpp │ └── abyss_dummy.cpp ├── abyss_dummy.c ├── client_dummy.c ├── data │ ├── sample_add_call.xml │ ├── req_out_of_order.xml │ ├── req_no_params.xml │ └── req_value_name.xml ├── server_abyss_dummy.c ├── http-req-simple.txt ├── req_no_params.xml ├── eftest_wrapper.sh └── xml_data.h ├── tools ├── binmode-rpc-kit │ ├── examples │ │ ├── good-3.binmode │ │ ├── invalid-1.binmode │ │ ├── invalid-3.binmode │ │ ├── good-2.binmode │ │ ├── invalid-2.binmode │ │ ├── good-5.binmode │ │ ├── good-6.binmode │ │ ├── good-4.binmode │ │ ├── good-1.binmode │ │ ├── invalid-4.binmode │ │ ├── invalid-5.binmode │ │ ├── good-3.xml │ │ ├── good-6.xml │ │ ├── good-2.xml │ │ ├── good-4.xml │ │ └── good-5.xml │ ├── Makefile │ └── oct2bin ├── turbocharger │ ├── Makefile │ ├── mod_gzip.c │ └── mod_gzip.c.diff ├── lib │ └── include │ │ └── dumpvalue.h ├── xmlrpc_pstream │ └── test ├── xmlrpc_cpp_proxy │ ├── systemProxy.hpp │ └── proxyClass.hpp └── xml-rpc-api2cpp │ └── XmlRpcClass.hpp ├── include └── xmlrpc-c │ ├── oldxmlrpc.h │ ├── lock_none.h │ ├── openssl_thread.h │ ├── Lock.hpp │ ├── inttypes.h │ ├── lock_pthread.h │ ├── lock_windows.h │ ├── base64_int.h │ ├── sleep_int.h │ ├── lock_platform.h │ ├── lock.h │ └── AbyssChanSwitchUnix.hpp ├── Windows ├── UsingCURLinWin32.txt ├── project │ └── vs2010express │ │ ├── vs2010express.suo │ │ ├── xmlrpc.vcxproj.user │ │ ├── gennmtab.vcxproj.user │ │ ├── rpctest.vcxproj.user │ │ ├── tool_xmlrpc.vcxproj.user │ │ ├── xmlrpc__.vcxproj.user │ │ ├── vs2010express.vcxproj.user │ │ ├── xmlrpc_client.vcxproj.user │ │ ├── xmlrpc_server.vcxproj.user │ │ ├── xmlrpc_xmltok.vcxproj.user │ │ ├── sample_add_server.vcxproj.user │ │ ├── sample_auth_client.vcxproj.user │ │ ├── tool_xmlrpc-transport.vcxproj.user │ │ ├── xmlrpc_server_abyss.vcxproj.user │ │ ├── xmlrpc_server_cgi.vcxproj.user │ │ ├── sample_add_asynch_client.vcxproj.user │ │ ├── sample_add_sync_client.vcxproj.user │ │ ├── xmlrpc_server_w32httpsys.vcxproj.user │ │ ├── sample_add_server_w32httpsys.vcxproj.user │ │ ├── cpptest.vcxproj.user │ │ ├── xmlrpc_abyss.vcxproj.user │ │ ├── xmlrpc_util.vcxproj.user │ │ └── xmlrpc_xmlparse.vcxproj.user ├── diffcfg.bat ├── updcfg.bat ├── transport_config_win32.h └── mkvers1.bat ├── lib ├── abyss │ ├── example │ │ └── htdocs │ │ │ ├── index.htm │ │ │ └── pwrabyss.gif │ ├── src │ │ ├── socket_win.h │ │ ├── trace.h │ │ ├── socket_unix.h │ │ ├── socket_openssl.h │ │ ├── token.h │ │ ├── sessionReadRequest.h │ │ ├── date.h │ │ ├── abyss_info.h │ │ ├── http.h │ │ └── handler.h │ └── Makefile ├── expat │ ├── xmlwf │ │ ├── codepage.h │ │ ├── xmlfile.h │ │ └── filemap.h │ └── xmltok │ │ ├── dllmain.c │ │ └── xmltok_impl.h ├── util │ └── include │ │ ├── unistdx.h │ │ ├── inline.h │ │ ├── bool.h │ │ ├── c_util.h │ │ ├── casprintf.h │ │ ├── assertx.hpp │ │ └── string_parser.h ├── libutil++ │ ├── env_wrap.cpp │ └── girerr.cpp ├── libutil │ └── sleep.c ├── abyss++ │ ├── AbyssChanSwitch.cpp │ ├── AbyssChanSwitchWin.cpp │ ├── AbyssChanSwitchUnix.cpp │ └── AbyssEnvironment.cpp └── curl_transport │ └── curlversion.h ├── src ├── double.h ├── parse_datetime.h ├── parse_value.h ├── system_method.h ├── registry.h ├── version.c ├── cpp │ ├── global.cpp │ └── fault.cpp └── resource.c ├── version.mk ├── dll-common.mk ├── doc └── CREDITS ├── Makefile └── mkinstalldirs /advanced/stamp-h.in: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /stable/stamp-h.in: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /trunk/stamp-h.in: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /stable/srcdir.mk.in: -------------------------------------------------------------------------------- 1 | SRCDIR=@abs_srcdir@ 2 | -------------------------------------------------------------------------------- /trunk/srcdir.mk.in: -------------------------------------------------------------------------------- 1 | SRCDIR=@abs_srcdir@ 2 | -------------------------------------------------------------------------------- /advanced/srcdir.mk.in: -------------------------------------------------------------------------------- 1 | SRCDIR=@abs_srcdir@ 2 | -------------------------------------------------------------------------------- /advanced/test/abyss.h: -------------------------------------------------------------------------------- 1 | void 2 | test_abyss(void); 3 | -------------------------------------------------------------------------------- /advanced/test/value.h: -------------------------------------------------------------------------------- 1 | void 2 | test_value(void); 3 | -------------------------------------------------------------------------------- /stable/test/abyss.h: -------------------------------------------------------------------------------- 1 | void 2 | test_abyss(void); 3 | -------------------------------------------------------------------------------- /stable/test/cgi.h: -------------------------------------------------------------------------------- 1 | void 2 | test_server_cgi(void); 3 | -------------------------------------------------------------------------------- /stable/test/client.h: -------------------------------------------------------------------------------- 1 | void 2 | test_client(void); 3 | -------------------------------------------------------------------------------- /stable/test/value.h: -------------------------------------------------------------------------------- 1 | void 2 | test_value(void); 3 | -------------------------------------------------------------------------------- /trunk/test/abyss.h: -------------------------------------------------------------------------------- 1 | void 2 | test_abyss(void); 3 | -------------------------------------------------------------------------------- /trunk/test/cgi.h: -------------------------------------------------------------------------------- 1 | void 2 | test_server_cgi(void); 3 | -------------------------------------------------------------------------------- /trunk/test/client.h: -------------------------------------------------------------------------------- 1 | void 2 | test_client(void); 3 | -------------------------------------------------------------------------------- /trunk/test/value.h: -------------------------------------------------------------------------------- 1 | void 2 | test_value(void); 3 | -------------------------------------------------------------------------------- /advanced/test/cgi.h: -------------------------------------------------------------------------------- 1 | void 2 | test_server_cgi(void); 3 | -------------------------------------------------------------------------------- /advanced/test/client.h: -------------------------------------------------------------------------------- 1 | void 2 | test_client(void); 3 | -------------------------------------------------------------------------------- /stable/test/parse_xml.h: -------------------------------------------------------------------------------- 1 | void 2 | test_parse_xml(void); 3 | -------------------------------------------------------------------------------- /trunk/test/parse_xml.h: -------------------------------------------------------------------------------- 1 | void 2 | test_parse_xml(void); 3 | -------------------------------------------------------------------------------- /trunk/test/serialize.h: -------------------------------------------------------------------------------- 1 | void 2 | test_serialize(void); 3 | -------------------------------------------------------------------------------- /advanced/test/parse_xml.h: -------------------------------------------------------------------------------- 1 | void 2 | test_parse_xml(void); 3 | -------------------------------------------------------------------------------- /advanced/test/serialize.h: -------------------------------------------------------------------------------- 1 | void 2 | test_serialize(void); 3 | -------------------------------------------------------------------------------- /stable/test/serialize.h: -------------------------------------------------------------------------------- 1 | void 2 | test_serialize(void); 3 | -------------------------------------------------------------------------------- /trunk/test/server_abyss.h: -------------------------------------------------------------------------------- 1 | void 2 | test_server_abyss(void); 3 | -------------------------------------------------------------------------------- /advanced/test/server_abyss.h: -------------------------------------------------------------------------------- 1 | void 2 | test_server_abyss(void); 3 | -------------------------------------------------------------------------------- /stable/test/server_abyss.h: -------------------------------------------------------------------------------- 1 | void 2 | test_server_abyss(void); 3 | -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-3.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RI -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/invalid-3.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:R< -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-3.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RI -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/invalid-3.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:R< -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-3.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RI -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/invalid-1.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc2:RI -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/invalid-3.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:R< -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/invalid-1.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc2:RI -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/invalid-1.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc2:RI -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-2.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:CUaddAII -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/invalid-2.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:ROUstringBxyz -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-2.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:CUaddAII -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/invalid-2.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:ROUstringBxyz -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-2.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:CUaddAII -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/invalid-2.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:ROUstringBxyz -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/oldxmlrpc.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/oldxmlrpc.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | -------------------------------------------------------------------------------- /advanced/tools/turbocharger/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | clean: 3 | distclean: 4 | install: 5 | uninstall: 6 | dep: -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/oldxmlrpc.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-5.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RA>foo>bar<>baz<< -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-6.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RU"Copyright © 1995 J. Random Hacker -------------------------------------------------------------------------------- /stable/tools/turbocharger/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | clean: 3 | distclean: 4 | install: 5 | uninstall: 6 | dep: -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-5.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RA>foo>bar<>baz<< -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-6.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RU"Copyright © 1995 J. Random Hacker -------------------------------------------------------------------------------- /trunk/tools/turbocharger/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | clean: 3 | distclean: 4 | install: 5 | uninstall: 6 | dep: -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-5.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RA>foo>bar<>baz<< -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-6.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RU"Copyright © 1995 J. Random Hacker -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | clean: 3 | distclean: 4 | install: 5 | uninstall: 6 | dep: 7 | -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | clean: 3 | distclean: 4 | install: 5 | uninstall: 6 | dep: 7 | -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | clean: 3 | distclean: 4 | install: 5 | uninstall: 6 | dep: 7 | -------------------------------------------------------------------------------- /stable/Windows/UsingCURLinWin32.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/stable/Windows/UsingCURLinWin32.txt -------------------------------------------------------------------------------- /stable/tools/turbocharger/mod_gzip.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/stable/tools/turbocharger/mod_gzip.c -------------------------------------------------------------------------------- /trunk/Windows/UsingCURLinWin32.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/trunk/Windows/UsingCURLinWin32.txt -------------------------------------------------------------------------------- /trunk/tools/turbocharger/mod_gzip.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/trunk/tools/turbocharger/mod_gzip.c -------------------------------------------------------------------------------- /advanced/Windows/UsingCURLinWin32.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/advanced/Windows/UsingCURLinWin32.txt -------------------------------------------------------------------------------- /advanced/tools/turbocharger/mod_gzip.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/advanced/tools/turbocharger/mod_gzip.c -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-4.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RFSU faultCodeIU faultStringUAn error occurred -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-4.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RFSU faultCodeIU faultStringUAn error occurred -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-4.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RFSU faultCodeIU faultStringUAn error occurred -------------------------------------------------------------------------------- /stable/lib/abyss/example/htdocs/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/stable/lib/abyss/example/htdocs/index.htm -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-1.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RAItfD2.75819980717T14:08:55UfooBabcSUrunt -------------------------------------------------------------------------------- /stable/tools/turbocharger/mod_gzip.c.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/stable/tools/turbocharger/mod_gzip.c.diff -------------------------------------------------------------------------------- /trunk/lib/abyss/example/htdocs/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/trunk/lib/abyss/example/htdocs/index.htm -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-1.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RAItfD2.75819980717T14:08:55UfooBabcSUrunt -------------------------------------------------------------------------------- /trunk/tools/turbocharger/mod_gzip.c.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/trunk/tools/turbocharger/mod_gzip.c.diff -------------------------------------------------------------------------------- /advanced/lib/abyss/example/htdocs/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/advanced/lib/abyss/example/htdocs/index.htm -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-1.binmode: -------------------------------------------------------------------------------- 1 | binmode-rpc:RAItfD2.75819980717T14:08:55UfooBabcSUrunt -------------------------------------------------------------------------------- /advanced/tools/turbocharger/mod_gzip.c.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/advanced/tools/turbocharger/mod_gzip.c.diff -------------------------------------------------------------------------------- /trunk/lib/abyss/example/htdocs/pwrabyss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/trunk/lib/abyss/example/htdocs/pwrabyss.gif -------------------------------------------------------------------------------- /advanced/lib/abyss/example/htdocs/pwrabyss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/advanced/lib/abyss/example/htdocs/pwrabyss.gif -------------------------------------------------------------------------------- /stable/lib/abyss/example/htdocs/pwrabyss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/stable/lib/abyss/example/htdocs/pwrabyss.gif -------------------------------------------------------------------------------- /advanced/test/memblock.h: -------------------------------------------------------------------------------- 1 | #ifndef TEST_MEMBLOCK_H_INCLUDED 2 | #define TEST_MEMBLOCK_H_INCLUDED 3 | 4 | void 5 | test_memBlock(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /stable/test/memblock.h: -------------------------------------------------------------------------------- 1 | #ifndef TEST_MEMBLOCK_H_INCLUDED 2 | #define TEST_MEMBLOCK_H_INCLUDED 3 | 4 | void 5 | test_memBlock(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /trunk/test/memblock.h: -------------------------------------------------------------------------------- 1 | #ifndef TEST_MEMBLOCK_H_INCLUDED 2 | #define TEST_MEMBLOCK_H_INCLUDED 3 | 4 | void 5 | test_memBlock(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/vs2010express.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/trunk/Windows/project/vs2010express/vs2010express.suo -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/vs2010express.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/advanced/Windows/project/vs2010express/vs2010express.suo -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/vs2010express.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/stable/Windows/project/vs2010express/vs2010express.suo -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/invalid-4.binmode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/stable/tools/binmode-rpc-kit/examples/invalid-4.binmode -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/invalid-5.binmode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/stable/tools/binmode-rpc-kit/examples/invalid-5.binmode -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/invalid-4.binmode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/trunk/tools/binmode-rpc-kit/examples/invalid-4.binmode -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/invalid-5.binmode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/trunk/tools/binmode-rpc-kit/examples/invalid-5.binmode -------------------------------------------------------------------------------- /advanced/test/value_datetime.h: -------------------------------------------------------------------------------- 1 | #ifndef VALUE_DATETIME_H_INCLUDED 2 | #define VALUE_DATETIME_H_INCLUDED 3 | 4 | void 5 | test_value_datetime(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/invalid-4.binmode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/advanced/tools/binmode-rpc-kit/examples/invalid-4.binmode -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/invalid-5.binmode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirror/xmlrpc-c/HEAD/advanced/tools/binmode-rpc-kit/examples/invalid-5.binmode -------------------------------------------------------------------------------- /stable/test/value_datetime.h: -------------------------------------------------------------------------------- 1 | #ifndef VALUE_DATETIME_H_INCLUDED 2 | #define VALUE_DATETIME_H_INCLUDED 3 | 4 | void 5 | test_value_datetime(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /trunk/test/value_datetime.h: -------------------------------------------------------------------------------- 1 | #ifndef VALUE_DATETIME_H_INCLUDED 2 | #define VALUE_DATETIME_H_INCLUDED 3 | 4 | void 5 | test_value_datetime(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /advanced/test/serialize_value.h: -------------------------------------------------------------------------------- 1 | #ifndef SERIALIZE_VALUE_H_INCLUDED 2 | #define SERIALIZE_VALUE_H_INCLUDED 3 | 4 | void 5 | test_serialize_value(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /stable/test/serialize_value.h: -------------------------------------------------------------------------------- 1 | #ifndef SERIALIZE_VALUE_H_INCLUDED 2 | #define SERIALIZE_VALUE_H_INCLUDED 3 | 4 | void 5 | test_serialize_value(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /trunk/test/serialize_value.h: -------------------------------------------------------------------------------- 1 | #ifndef SERIALIZE_VALUE_H_INCLUDED 2 | #define SERIALIZE_VALUE_H_INCLUDED 3 | 4 | void 5 | test_serialize_value(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /trunk/test/method_registry.h: -------------------------------------------------------------------------------- 1 | #ifndef TEST_METHOD_REGISTRY_H_INCLUDED 2 | #define TEST_METHOD_REGISTRY_H_INCLUDED 3 | 4 | void 5 | test_method_registry(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /advanced/test/method_registry.h: -------------------------------------------------------------------------------- 1 | #ifndef TEST_METHOD_REGISTRY_H_INCLUDED 2 | #define TEST_METHOD_REGISTRY_H_INCLUDED 3 | 4 | void 5 | test_method_registry(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /stable/test/method_registry.h: -------------------------------------------------------------------------------- 1 | #ifndef TEST_METHOD_REGISTRY_H_INCLUDED 2 | #define TEST_METHOD_REGISTRY_H_INCLUDED 3 | 4 | void 5 | test_method_registry(void); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/gennmtab.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/rpctest.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc__.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/gennmtab.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/rpctest.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc__.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/gennmtab.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/rpctest.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/tool_xmlrpc.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc__.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/tool_xmlrpc.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/vs2010express.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc_server.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc_xmltok.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/tool_xmlrpc.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/vs2010express.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc_server.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc_xmltok.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/lock_none.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_NONE_H_INCLUDED 2 | #define LOCK_NONE_H_INCLUDED 3 | 4 | #include "lock.h" 5 | 6 | struct lock * 7 | xmlrpc_lock_create_none(void); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/vs2010express.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc_server.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc_xmltok.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/lock_none.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_NONE_H_INCLUDED 2 | #define LOCK_NONE_H_INCLUDED 3 | 4 | #include "lock.h" 5 | 6 | struct lock * 7 | xmlrpc_lock_create_none(void); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/sample_add_server.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/sample_auth_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc_server_cgi.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/lock_none.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_NONE_H_INCLUDED 2 | #define LOCK_NONE_H_INCLUDED 3 | 4 | #include "lock.h" 5 | 6 | struct lock * 7 | xmlrpc_lock_create_none(void); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/sample_add_server.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/sample_auth_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc_server_abyss.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc_server_cgi.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/test/cpp/abyss.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class abyssTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const); 8 | }; 9 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/sample_add_server.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/sample_auth_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/tool_xmlrpc-transport.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc_server_abyss.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc_server_cgi.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/test/cpp/abyss.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class abyssTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const); 8 | }; 9 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/sample_add_sync_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/tool_xmlrpc-transport.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc_server_abyss.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/test/cpp/abyss.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class abyssTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const); 8 | }; 9 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/sample_add_asynch_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/sample_add_sync_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/tool_xmlrpc-transport.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc_server_w32httpsys.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/sample_add_asynch_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/sample_add_sync_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc_server_w32httpsys.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/sample_add_asynch_client.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/sample_add_server_w32httpsys.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc_server_w32httpsys.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/sample_add_server_w32httpsys.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/socket_win.h: -------------------------------------------------------------------------------- 1 | #ifndef SOCKET_WIN_H_INCLUDED 2 | #define SOCKET_WIN_H_INCLUDED 3 | 4 | void 5 | SocketWinInit(const char ** const errorP); 6 | 7 | void 8 | SocketWinTerm(void); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/sample_add_server_w32httpsys.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/socket_win.h: -------------------------------------------------------------------------------- 1 | #ifndef SOCKET_WIN_H_INCLUDED 2 | #define SOCKET_WIN_H_INCLUDED 3 | 4 | void 5 | SocketWinInit(const char ** const errorP); 6 | 7 | void 8 | SocketWinTerm(void); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/cpptest.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/socket_win.h: -------------------------------------------------------------------------------- 1 | #ifndef SOCKET_WIN_H_INCLUDED 2 | #define SOCKET_WIN_H_INCLUDED 3 | 4 | void 5 | SocketWinInit(const char ** const errorP); 6 | 7 | void 8 | SocketWinTerm(void); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /advanced/test/cpp/server_abyss.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class serverAbyssTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const); 8 | }; 9 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/cpptest.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /stable/test/cpp/server_abyss.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class serverAbyssTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const); 8 | }; 9 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/cpptest.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/trace.h: -------------------------------------------------------------------------------- 1 | #ifndef TRACE_H_INCLUDED 2 | #define TRACE_H_INCLUDED 3 | 4 | void 5 | TraceMsg(const char * const fmt, ...); 6 | 7 | void 8 | TraceExit(const char * const fmt, ...); 9 | 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /trunk/test/cpp/server_abyss.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class serverAbyssTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const); 8 | }; 9 | -------------------------------------------------------------------------------- /trunk/test/cpp/server_pstream.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class serverPstreamTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const); 8 | }; 9 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc_abyss.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/trace.h: -------------------------------------------------------------------------------- 1 | #ifndef TRACE_H_INCLUDED 2 | #define TRACE_H_INCLUDED 3 | 4 | void 5 | TraceMsg(const char * const fmt, ...); 6 | 7 | void 8 | TraceExit(const char * const fmt, ...); 9 | 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /advanced/test/cpp/server_pstream.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class serverPstreamTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const); 8 | }; 9 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc_abyss.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/trace.h: -------------------------------------------------------------------------------- 1 | #ifndef TRACE_H_INCLUDED 2 | #define TRACE_H_INCLUDED 3 | 4 | void 5 | TraceMsg(const char * const fmt, ...); 6 | 7 | void 8 | TraceExit(const char * const fmt, ...); 9 | 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /stable/test/cpp/server_pstream.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class serverPstreamTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const); 8 | }; 9 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc_abyss.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /advanced/test/cpp/xml.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class xmlTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /stable/test/cpp/xml.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class xmlTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /trunk/test/cpp/value.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class valueTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /trunk/test/cpp/xml.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class xmlTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 4 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /advanced/test/cpp/base64.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class base64TestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /advanced/test/cpp/value.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class valueTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 4 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /stable/test/cpp/base64.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class base64TestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /stable/test/cpp/value.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class valueTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 4 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /trunk/test/cpp/base64.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class base64TestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /advanced/test/cpp/registry.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class registryTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /advanced/test/cpp/testclient.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class clientTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /stable/test/cpp/registry.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class registryTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /stable/test/cpp/testclient.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class clientTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /trunk/test/cpp/registry.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class registryTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /trunk/test/cpp/testclient.hpp: -------------------------------------------------------------------------------- 1 | #include "tools.hpp" 2 | 3 | class clientTestSuite : public testSuite { 4 | 5 | public: 6 | virtual std::string suiteName(); 7 | virtual void runtests(unsigned int const indentation); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /stable/lib/expat/xmlwf/codepage.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | int codepageMap(int cp, int *map); 7 | int codepageConvert(int cp, const char *p); 8 | -------------------------------------------------------------------------------- /trunk/lib/expat/xmlwf/codepage.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | int codepageMap(int cp, int *map); 7 | int codepageConvert(int cp, const char *p); 8 | -------------------------------------------------------------------------------- /advanced/lib/expat/xmlwf/codepage.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | int codepageMap(int cp, int *map); 7 | int codepageConvert(int cp, const char *p); 8 | -------------------------------------------------------------------------------- /advanced/test/client_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "client.h" 4 | 5 | 6 | 7 | void 8 | test_client(void) { 9 | 10 | printf("Running dummy client test."); 11 | 12 | printf("\n"); 13 | printf("Client tests done.\n"); 14 | } 15 | -------------------------------------------------------------------------------- /stable/test/abyss_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "abyss.h" 4 | 5 | 6 | 7 | void 8 | test_abyss(void) { 9 | 10 | printf("Running dummy Abyss test."); 11 | 12 | printf("\n"); 13 | printf("Abyss server tests done.\n"); 14 | } 15 | -------------------------------------------------------------------------------- /stable/test/client_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "client.h" 4 | 5 | 6 | 7 | void 8 | test_client(void) { 9 | 10 | printf("Running dummy client test."); 11 | 12 | printf("\n"); 13 | printf("Client tests done.\n"); 14 | } 15 | -------------------------------------------------------------------------------- /trunk/test/abyss_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "abyss.h" 4 | 5 | 6 | 7 | void 8 | test_abyss(void) { 9 | 10 | printf("Running dummy Abyss test."); 11 | 12 | printf("\n"); 13 | printf("Abyss server tests done.\n"); 14 | } 15 | -------------------------------------------------------------------------------- /trunk/test/client_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "client.h" 4 | 5 | 6 | 7 | void 8 | test_client(void) { 9 | 10 | printf("Running dummy client test."); 11 | 12 | printf("\n"); 13 | printf("Client tests done.\n"); 14 | } 15 | -------------------------------------------------------------------------------- /advanced/test/abyss_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "abyss.h" 4 | 5 | 6 | 7 | void 8 | test_abyss(void) { 9 | 10 | printf("Running dummy Abyss test."); 11 | 12 | printf("\n"); 13 | printf("Abyss server tests done.\n"); 14 | } 15 | -------------------------------------------------------------------------------- /stable/tools/lib/include/dumpvalue.h: -------------------------------------------------------------------------------- 1 | #ifndef DUMPVALUE_H_INCLUDED 2 | #define DUMPVALUE_H_INCLUDED 3 | 4 | struct _xmlrpc_value; 5 | 6 | void 7 | dumpValue(const char * const prefix, 8 | struct _xmlrpc_value * const valueP); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /trunk/test/data/sample_add_call.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | sample.add 4 | 5 | 5 6 | 7 7 | 8 | 9 | -------------------------------------------------------------------------------- /trunk/tools/lib/include/dumpvalue.h: -------------------------------------------------------------------------------- 1 | #ifndef DUMPVALUE_H_INCLUDED 2 | #define DUMPVALUE_H_INCLUDED 3 | 4 | struct _xmlrpc_value; 5 | 6 | void 7 | dumpValue(const char * const prefix, 8 | struct _xmlrpc_value * const valueP); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /advanced/test/data/sample_add_call.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | sample.add 4 | 5 | 5 6 | 7 7 | 8 | 9 | -------------------------------------------------------------------------------- /advanced/tools/lib/include/dumpvalue.h: -------------------------------------------------------------------------------- 1 | #ifndef DUMPVALUE_H_INCLUDED 2 | #define DUMPVALUE_H_INCLUDED 3 | 4 | struct _xmlrpc_value; 5 | 6 | void 7 | dumpValue(const char * const prefix, 8 | struct _xmlrpc_value * const valueP); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /stable/test/data/sample_add_call.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | sample.add 4 | 5 | 5 6 | 7 7 | 8 | 9 | -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Copyright © 1995 J. Random Hacker 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Copyright © 1995 J. Random Hacker 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/openssl_thread.h: -------------------------------------------------------------------------------- 1 | #ifndef XMLRPC_OPENSS_THREAD_H_INCLUDED 2 | #define XMLRPC_OPENSS_THREAD_H_INCLUDED 3 | 4 | void 5 | xmlrpc_openssl_thread_setup(const char ** const errorP); 6 | 7 | void 8 | xmlrpc_openssl_thread_cleanup(void); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Copyright © 1995 J. Random Hacker 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/openssl_thread.h: -------------------------------------------------------------------------------- 1 | #ifndef XMLRPC_OPENSS_THREAD_H_INCLUDED 2 | #define XMLRPC_OPENSS_THREAD_H_INCLUDED 3 | 4 | void 5 | xmlrpc_openssl_thread_setup(const char ** const errorP); 6 | 7 | void 8 | xmlrpc_openssl_thread_cleanup(void); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/openssl_thread.h: -------------------------------------------------------------------------------- 1 | #ifndef XMLRPC_OPENSS_THREAD_H_INCLUDED 2 | #define XMLRPC_OPENSS_THREAD_H_INCLUDED 3 | 4 | void 5 | xmlrpc_openssl_thread_setup(const char ** const errorP); 6 | 7 | void 8 | xmlrpc_openssl_thread_cleanup(void); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc_util.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | 6 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc_util.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | 6 | -------------------------------------------------------------------------------- /stable/Windows/project/vs2010express/xmlrpc_xmlparse.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | true 5 | 6 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc_util.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | 6 | -------------------------------------------------------------------------------- /trunk/Windows/project/vs2010express/xmlrpc_xmlparse.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | true 5 | 6 | -------------------------------------------------------------------------------- /advanced/Windows/project/vs2010express/xmlrpc_xmlparse.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | true 5 | 6 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/socket_unix.h: -------------------------------------------------------------------------------- 1 | #ifndef SOCKET_UNIX_H_INCLUDED 2 | #define SOCKET_UNIX_H_INCLUDED 3 | 4 | #include 5 | 6 | #include 7 | 8 | void 9 | SocketUnixInit(const char ** const errorP); 10 | 11 | void 12 | SocketUnixTerm(void); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/socket_unix.h: -------------------------------------------------------------------------------- 1 | #ifndef SOCKET_UNIX_H_INCLUDED 2 | #define SOCKET_UNIX_H_INCLUDED 3 | 4 | #include 5 | 6 | #include 7 | 8 | void 9 | SocketUnixInit(const char ** const errorP); 10 | 11 | void 12 | SocketUnixTerm(void); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/socket_unix.h: -------------------------------------------------------------------------------- 1 | #ifndef SOCKET_UNIX_H_INCLUDED 2 | #define SOCKET_UNIX_H_INCLUDED 3 | 4 | #include 5 | 6 | #include 7 | 8 | void 9 | SocketUnixInit(const char ** const errorP); 10 | 11 | void 12 | SocketUnixTerm(void); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /stable/src/double.h: -------------------------------------------------------------------------------- 1 | #ifndef DOUBLE_H_INCLUDED 2 | #define DOUBLE_H_INCLUDED 3 | 4 | #include "xmlrpc-c/util.h" 5 | 6 | void 7 | xmlrpc_formatFloat(xmlrpc_env * const envP, 8 | double const value, 9 | const char ** const formattedP); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /stable/test/server_abyss_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "server_abyss.h" 4 | 5 | 6 | 7 | void 8 | test_server_abyss(void) { 9 | 10 | printf("Running dummy Abyss XML-RPC server test\n"); 11 | 12 | printf("\n"); 13 | printf("Abyss XML-RPC server tests done.\n"); 14 | } 15 | -------------------------------------------------------------------------------- /trunk/src/double.h: -------------------------------------------------------------------------------- 1 | #ifndef DOUBLE_H_INCLUDED 2 | #define DOUBLE_H_INCLUDED 3 | 4 | #include "xmlrpc-c/util.h" 5 | 6 | void 7 | xmlrpc_formatFloat(xmlrpc_env * const envP, 8 | double const value, 9 | const char ** const formattedP); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /trunk/test/server_abyss_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "server_abyss.h" 4 | 5 | 6 | 7 | void 8 | test_server_abyss(void) { 9 | 10 | printf("Running dummy Abyss XML-RPC server test\n"); 11 | 12 | printf("\n"); 13 | printf("Abyss XML-RPC server tests done.\n"); 14 | } 15 | -------------------------------------------------------------------------------- /advanced/src/double.h: -------------------------------------------------------------------------------- 1 | #ifndef DOUBLE_H_INCLUDED 2 | #define DOUBLE_H_INCLUDED 3 | 4 | #include "xmlrpc-c/util.h" 5 | 6 | void 7 | xmlrpc_formatFloat(xmlrpc_env * const envP, 8 | double const value, 9 | const char ** const formattedP); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /advanced/test/server_abyss_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "server_abyss.h" 4 | 5 | 6 | 7 | void 8 | test_server_abyss(void) { 9 | 10 | printf("Running dummy Abyss XML-RPC server test\n"); 11 | 12 | printf("\n"); 13 | printf("Abyss XML-RPC server tests done.\n"); 14 | } 15 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/socket_openssl.h: -------------------------------------------------------------------------------- 1 | #ifndef SOCKET_OPENSSL_H_INCLUDED 2 | #define SOCKET_OPENSSL_H_INCLUDED 3 | 4 | #include 5 | 6 | #include 7 | 8 | void 9 | SocketOpenSslInit(const char ** const errorP); 10 | 11 | void 12 | SocketOpenSslTerm(void); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/socket_openssl.h: -------------------------------------------------------------------------------- 1 | #ifndef SOCKET_OPENSSL_H_INCLUDED 2 | #define SOCKET_OPENSSL_H_INCLUDED 3 | 4 | #include 5 | 6 | #include 7 | 8 | void 9 | SocketOpenSslInit(const char ** const errorP); 10 | 11 | void 12 | SocketOpenSslTerm(void); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/socket_openssl.h: -------------------------------------------------------------------------------- 1 | #ifndef SOCKET_OPENSSL_H_INCLUDED 2 | #define SOCKET_OPENSSL_H_INCLUDED 3 | 4 | #include 5 | 6 | #include 7 | 8 | void 9 | SocketOpenSslInit(const char ** const errorP); 10 | 11 | void 12 | SocketOpenSslTerm(void); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /advanced/test/http-req-simple.txt: -------------------------------------------------------------------------------- 1 | POST /cgi-bin/sample-cgi.cgi 1.0 2 | Host: localhost 3 | Content-Type: text/xml 4 | Content-Length: 141 5 | 6 | 7 | 8 | system.listMethods 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /stable/test/http-req-simple.txt: -------------------------------------------------------------------------------- 1 | POST /cgi-bin/sample-cgi.cgi 1.0 2 | Host: localhost 3 | Content-Type: text/xml 4 | Content-Length: 141 5 | 6 | 7 | 8 | system.listMethods 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /trunk/test/http-req-simple.txt: -------------------------------------------------------------------------------- 1 | POST /cgi-bin/sample-cgi.cgi 1.0 2 | Host: localhost 3 | Content-Type: text/xml 4 | Content-Length: 141 5 | 6 | 7 | 8 | system.listMethods 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/token.h: -------------------------------------------------------------------------------- 1 | #ifndef ABYSS_TOKEN_H_INCLUDED 2 | #define ABYSS_TOKEN_H_INCLUDED 3 | 4 | void 5 | NextToken(const char ** const pP); 6 | 7 | char * 8 | GetToken(char ** const pP); 9 | 10 | void 11 | GetTokenConst(char ** const pP, 12 | const char ** const tokenP); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/oct2bin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # Turn C-style octal escapes into binary. 3 | # Call as "echo -n 'ab\0\001cd' | oct2bin > out.binmode". 4 | 5 | binmode STDOUT; 6 | 7 | while (<>) { 8 | s/\\(\d\d\d)/chr(oct($1))/ge; 9 | s/\\0/chr(0)/ge; 10 | s/\\\\/\\/g; 11 | print $_; 12 | } 13 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/token.h: -------------------------------------------------------------------------------- 1 | #ifndef ABYSS_TOKEN_H_INCLUDED 2 | #define ABYSS_TOKEN_H_INCLUDED 3 | 4 | void 5 | NextToken(const char ** const pP); 6 | 7 | char * 8 | GetToken(char ** const pP); 9 | 10 | void 11 | GetTokenConst(char ** const pP, 12 | const char ** const tokenP); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/oct2bin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # Turn C-style octal escapes into binary. 3 | # Call as "echo -n 'ab\0\001cd' | oct2bin > out.binmode". 4 | 5 | binmode STDOUT; 6 | 7 | while (<>) { 8 | s/\\(\d\d\d)/chr(oct($1))/ge; 9 | s/\\0/chr(0)/ge; 10 | s/\\\\/\\/g; 11 | print $_; 12 | } 13 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/token.h: -------------------------------------------------------------------------------- 1 | #ifndef ABYSS_TOKEN_H_INCLUDED 2 | #define ABYSS_TOKEN_H_INCLUDED 3 | 4 | void 5 | NextToken(const char ** const pP); 6 | 7 | char * 8 | GetToken(char ** const pP); 9 | 10 | void 11 | GetTokenConst(char ** const pP, 12 | const char ** const tokenP); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /advanced/test/data/req_out_of_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 2 6 | 7 | 8 | 2 9 | 10 | 11 | add 12 | 13 | -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/oct2bin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # Turn C-style octal escapes into binary. 3 | # Call as "echo -n 'ab\0\001cd' | oct2bin > out.binmode". 4 | 5 | binmode STDOUT; 6 | 7 | while (<>) { 8 | s/\\(\d\d\d)/chr(oct($1))/ge; 9 | s/\\0/chr(0)/ge; 10 | s/\\\\/\\/g; 11 | print $_; 12 | } 13 | -------------------------------------------------------------------------------- /stable/test/data/req_out_of_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 2 6 | 7 | 8 | 2 9 | 10 | 11 | add 12 | 13 | -------------------------------------------------------------------------------- /trunk/test/data/req_out_of_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 2 6 | 7 | 8 | 2 9 | 10 | 11 | add 12 | 13 | -------------------------------------------------------------------------------- /advanced/test/req_no_params.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | foo 9 | 10 | -------------------------------------------------------------------------------- /stable/lib/util/include/unistdx.h: -------------------------------------------------------------------------------- 1 | #ifndef UNISTDX_H_INCLUDED 2 | #define UNISTDX_H_INCLUDED 3 | 4 | /* Xmlrpc-c code #includes "unistdx.h" instead of because 5 | does not exist on WIN32. 6 | */ 7 | 8 | #ifndef WIN32 9 | # include 10 | #else 11 | 12 | #endif /* WIN32 */ 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /stable/test/req_no_params.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | foo 9 | 10 | -------------------------------------------------------------------------------- /trunk/lib/util/include/unistdx.h: -------------------------------------------------------------------------------- 1 | #ifndef UNISTDX_H_INCLUDED 2 | #define UNISTDX_H_INCLUDED 3 | 4 | /* Xmlrpc-c code #includes "unistdx.h" instead of because 5 | does not exist on WIN32. 6 | */ 7 | 8 | #ifndef WIN32 9 | # include 10 | #else 11 | 12 | #endif /* WIN32 */ 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /trunk/test/req_no_params.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | foo 9 | 10 | -------------------------------------------------------------------------------- /advanced/lib/util/include/unistdx.h: -------------------------------------------------------------------------------- 1 | #ifndef UNISTDX_H_INCLUDED 2 | #define UNISTDX_H_INCLUDED 3 | 4 | /* Xmlrpc-c code #includes "unistdx.h" instead of because 5 | does not exist on WIN32. 6 | */ 7 | 8 | #ifndef WIN32 9 | # include 10 | #else 11 | 12 | #endif /* WIN32 */ 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /advanced/test/data/req_no_params.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | foo 9 | 10 | -------------------------------------------------------------------------------- /stable/Windows/diffcfg.bat: -------------------------------------------------------------------------------- 1 | diff -us win32_config.h ..\include\xmlrpc-c\config.h > tempcfg.diff 2 | diff -us xmlrpc_win32_config.h ..\xmlrpc_config.h >> tempcfg.diff 3 | diff -us transport_config_win32.h ..\transport_config.h >> tempcfg.diff 4 | diff -us xmlrpc_win32_config.h ..\examples\config.h >> tempcfg.diff 5 | np tempcfg.diff 6 | 7 | -------------------------------------------------------------------------------- /stable/test/data/req_no_params.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | foo 9 | 10 | -------------------------------------------------------------------------------- /trunk/Windows/diffcfg.bat: -------------------------------------------------------------------------------- 1 | diff -us win32_config.h ..\include\xmlrpc-c\config.h > tempcfg.diff 2 | diff -us xmlrpc_win32_config.h ..\xmlrpc_config.h >> tempcfg.diff 3 | diff -us transport_config_win32.h ..\transport_config.h >> tempcfg.diff 4 | diff -us xmlrpc_win32_config.h ..\examples\config.h >> tempcfg.diff 5 | np tempcfg.diff 6 | 7 | -------------------------------------------------------------------------------- /trunk/test/data/req_no_params.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | foo 9 | 10 | -------------------------------------------------------------------------------- /advanced/Windows/diffcfg.bat: -------------------------------------------------------------------------------- 1 | diff -us win32_config.h ..\include\xmlrpc-c\config.h > tempcfg.diff 2 | diff -us xmlrpc_win32_config.h ..\xmlrpc_config.h >> tempcfg.diff 3 | diff -us transport_config_win32.h ..\transport_config.h >> tempcfg.diff 4 | diff -us xmlrpc_win32_config.h ..\examples\config.h >> tempcfg.diff 5 | np tempcfg.diff 6 | 7 | -------------------------------------------------------------------------------- /advanced/lib/libutil++/env_wrap.cpp: -------------------------------------------------------------------------------- 1 | #include "xmlrpc-c/util.h" 2 | 3 | #include "xmlrpc-c/env_wrap.hpp" 4 | 5 | namespace xmlrpc_c { 6 | 7 | env_wrap::env_wrap() { 8 | xmlrpc_env_init(&this->env_c); 9 | } 10 | 11 | 12 | 13 | env_wrap::~env_wrap() { 14 | xmlrpc_env_clean(&this->env_c); 15 | } 16 | 17 | 18 | } // namespace 19 | -------------------------------------------------------------------------------- /stable/lib/libutil++/env_wrap.cpp: -------------------------------------------------------------------------------- 1 | #include "xmlrpc-c/util.h" 2 | 3 | #include "xmlrpc-c/env_wrap.hpp" 4 | 5 | namespace xmlrpc_c { 6 | 7 | env_wrap::env_wrap() { 8 | xmlrpc_env_init(&this->env_c); 9 | } 10 | 11 | 12 | 13 | env_wrap::~env_wrap() { 14 | xmlrpc_env_clean(&this->env_c); 15 | } 16 | 17 | 18 | } // namespace 19 | -------------------------------------------------------------------------------- /trunk/lib/libutil++/env_wrap.cpp: -------------------------------------------------------------------------------- 1 | #include "xmlrpc-c/util.h" 2 | 3 | #include "xmlrpc-c/env_wrap.hpp" 4 | 5 | namespace xmlrpc_c { 6 | 7 | env_wrap::env_wrap() { 8 | xmlrpc_env_init(&this->env_c); 9 | } 10 | 11 | 12 | 13 | env_wrap::~env_wrap() { 14 | xmlrpc_env_clean(&this->env_c); 15 | } 16 | 17 | 18 | } // namespace 19 | -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | add 4 | 5 | 6 | 2 7 | 8 | 9 | 2 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | add 4 | 5 | 6 | 2 7 | 8 | 9 | 2 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | add 4 | 5 | 6 | 2 7 | 8 | 9 | 2 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /advanced/lib/expat/xmlwf/xmlfile.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | #define XML_MAP_FILE 01 7 | #define XML_EXTERNAL_ENTITIES 02 8 | 9 | extern int XML_ProcessFile(XML_Parser parser, 10 | const XML_Char *filename, 11 | unsigned flags); 12 | -------------------------------------------------------------------------------- /stable/lib/expat/xmlwf/xmlfile.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | #define XML_MAP_FILE 01 7 | #define XML_EXTERNAL_ENTITIES 02 8 | 9 | extern int XML_ProcessFile(XML_Parser parser, 10 | const XML_Char *filename, 11 | unsigned flags); 12 | -------------------------------------------------------------------------------- /trunk/lib/expat/xmlwf/xmlfile.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | #define XML_MAP_FILE 01 7 | #define XML_EXTERNAL_ENTITIES 02 8 | 9 | extern int XML_ProcessFile(XML_Parser parser, 10 | const XML_Char *filename, 11 | unsigned flags); 12 | -------------------------------------------------------------------------------- /advanced/src/parse_datetime.h: -------------------------------------------------------------------------------- 1 | #ifndef PARSE_DATETIME_H_INCLUDED 2 | #define PARSE_DATETIME_H_INCLUDED 3 | 4 | #include "xmlrpc-c/util.h" 5 | #include "xmlrpc-c/base.h" 6 | 7 | void 8 | xmlrpc_parseDatetime(xmlrpc_env * const envP, 9 | const char * const str, 10 | xmlrpc_value ** const valuePP); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /stable/src/parse_datetime.h: -------------------------------------------------------------------------------- 1 | #ifndef PARSE_DATETIME_H_INCLUDED 2 | #define PARSE_DATETIME_H_INCLUDED 3 | 4 | #include "xmlrpc-c/util.h" 5 | #include "xmlrpc-c/base.h" 6 | 7 | void 8 | xmlrpc_parseDatetime(xmlrpc_env * const envP, 9 | const char * const str, 10 | xmlrpc_value ** const valuePP); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /trunk/src/parse_datetime.h: -------------------------------------------------------------------------------- 1 | #ifndef PARSE_DATETIME_H_INCLUDED 2 | #define PARSE_DATETIME_H_INCLUDED 3 | 4 | #include "xmlrpc-c/util.h" 5 | #include "xmlrpc-c/base.h" 6 | 7 | void 8 | xmlrpc_parseDatetime(xmlrpc_env * const envP, 9 | const char * const str, 10 | xmlrpc_value ** const valuePP); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /trunk/lib/expat/xmltok/dllmain.c: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | #define STRICT 1 7 | 8 | #define WIN32_LEAN_AND_MEAN 9 | #include 10 | 11 | BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved) 12 | { 13 | return TRUE; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /advanced/lib/expat/xmltok/dllmain.c: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | #define STRICT 1 7 | 8 | #define WIN32_LEAN_AND_MEAN 9 | #include 10 | 11 | BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved) 12 | { 13 | return TRUE; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /stable/lib/expat/xmltok/dllmain.c: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | #define STRICT 1 7 | 8 | #define WIN32_LEAN_AND_MEAN 9 | #include 10 | 11 | BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved) 12 | { 13 | return TRUE; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /trunk/src/parse_value.h: -------------------------------------------------------------------------------- 1 | #ifndef PARSE_VALUE_H_INCLUDED 2 | #define PARSE_VALUE_H_INCLUDED 3 | 4 | #include "xmlrpc-c/base.h" 5 | #include "xmlparser.h" 6 | 7 | void 8 | xmlrpc_parseValue(xmlrpc_env * const envP, 9 | unsigned int const maxRecursion, 10 | xml_element * const elemP, 11 | xmlrpc_value ** const valuePP); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /advanced/src/parse_value.h: -------------------------------------------------------------------------------- 1 | #ifndef PARSE_VALUE_H_INCLUDED 2 | #define PARSE_VALUE_H_INCLUDED 3 | 4 | #include "xmlrpc-c/base.h" 5 | #include "xmlparser.h" 6 | 7 | void 8 | xmlrpc_parseValue(xmlrpc_env * const envP, 9 | unsigned int const maxRecursion, 10 | xml_element * const elemP, 11 | xmlrpc_value ** const valuePP); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /advanced/test/data/req_value_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | 5 | 6 | 7 | 8 | 0 9 | child elements reversed! 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/sessionReadRequest.h: -------------------------------------------------------------------------------- 1 | #ifndef SESSION_READ_REQUEST_H_INCLUDED 2 | #define SESSION_READ_REQUEST_H_INCLUDED 3 | 4 | #include "session.h" 5 | 6 | void 7 | SessionReadRequest(TSession * const sessionP, 8 | uint32_t const timeout, 9 | const char ** const errorP, 10 | uint16_t * const httpErrorCodeP); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /stable/src/parse_value.h: -------------------------------------------------------------------------------- 1 | #ifndef PARSE_VALUE_H_INCLUDED 2 | #define PARSE_VALUE_H_INCLUDED 3 | 4 | #include "xmlrpc-c/base.h" 5 | #include "xmlparser.h" 6 | 7 | void 8 | xmlrpc_parseValue(xmlrpc_env * const envP, 9 | unsigned int const maxRecursion, 10 | xml_element * const elemP, 11 | xmlrpc_value ** const valuePP); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /stable/test/data/req_value_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | 5 | 6 | 7 | 8 | 0 9 | child elements reversed! 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/sessionReadRequest.h: -------------------------------------------------------------------------------- 1 | #ifndef SESSION_READ_REQUEST_H_INCLUDED 2 | #define SESSION_READ_REQUEST_H_INCLUDED 3 | 4 | #include "session.h" 5 | 6 | void 7 | SessionReadRequest(TSession * const sessionP, 8 | uint32_t const timeout, 9 | const char ** const errorP, 10 | uint16_t * const httpErrorCodeP); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /trunk/test/data/req_value_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | 5 | 6 | 7 | 8 | 0 9 | child elements reversed! 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/sessionReadRequest.h: -------------------------------------------------------------------------------- 1 | #ifndef SESSION_READ_REQUEST_H_INCLUDED 2 | #define SESSION_READ_REQUEST_H_INCLUDED 3 | 4 | #include "session.h" 5 | 6 | void 7 | SessionReadRequest(TSession * const sessionP, 8 | uint32_t const timeout, 9 | const char ** const errorP, 10 | uint16_t * const httpErrorCodeP); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /advanced/Windows/updcfg.bat: -------------------------------------------------------------------------------- 1 | @echo This will COPY the current config.h, xmlrpc_config.h, transprt_config.h, 2 | @echo version.h, overwriting files in this 'Windows' folder! 3 | @echo ARE YOU SURE YOU WANT TO DO THIS??? Ctrl+C to abort ... 4 | @pause 5 | copy ..\include\xmlrpc-c\config.h win32_config.h 6 | copy ..\xmlrpc_config.h xmlrpc_win32_config.h 7 | copy ..\transport_config.h transport_config_win32.h 8 | @echo all done ... 9 | 10 | -------------------------------------------------------------------------------- /stable/Windows/updcfg.bat: -------------------------------------------------------------------------------- 1 | @echo This will COPY the current config.h, xmlrpc_config.h, transprt_config.h, 2 | @echo version.h, overwriting files in this 'Windows' folder! 3 | @echo ARE YOU SURE YOU WANT TO DO THIS??? Ctrl+C to abort ... 4 | @pause 5 | copy ..\include\xmlrpc-c\config.h win32_config.h 6 | copy ..\xmlrpc_config.h xmlrpc_win32_config.h 7 | copy ..\transport_config.h transport_config_win32.h 8 | @echo all done ... 9 | 10 | -------------------------------------------------------------------------------- /trunk/Windows/updcfg.bat: -------------------------------------------------------------------------------- 1 | @echo This will COPY the current config.h, xmlrpc_config.h, transprt_config.h, 2 | @echo version.h, overwriting files in this 'Windows' folder! 3 | @echo ARE YOU SURE YOU WANT TO DO THIS??? Ctrl+C to abort ... 4 | @pause 5 | copy ..\include\xmlrpc-c\config.h win32_config.h 6 | copy ..\xmlrpc_config.h xmlrpc_win32_config.h 7 | copy ..\transport_config.h transport_config_win32.h 8 | @echo all done ... 9 | 10 | -------------------------------------------------------------------------------- /stable/lib/util/include/inline.h: -------------------------------------------------------------------------------- 1 | #ifndef XMLRPC_INLINE_H_INCLUDED 2 | #define XMLRPC_INLINE_H_INCLUDED 3 | 4 | /* Xmlrpc-c uses __inline__ to declare functions that should be 5 | compiled as inline code. Some compilers, e.g. GNU, recognize the 6 | __inline__ keyword. 7 | */ 8 | #ifndef __GNUC__ 9 | #ifndef __inline__ 10 | #ifdef __sgi 11 | #define __inline__ __inline 12 | #else 13 | #define __inline__ 14 | #endif 15 | #endif 16 | #endif 17 | 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /trunk/lib/util/include/inline.h: -------------------------------------------------------------------------------- 1 | #ifndef XMLRPC_INLINE_H_INCLUDED 2 | #define XMLRPC_INLINE_H_INCLUDED 3 | 4 | /* Xmlrpc-c uses __inline__ to declare functions that should be 5 | compiled as inline code. Some compilers, e.g. GNU, recognize the 6 | __inline__ keyword. 7 | */ 8 | #ifndef __GNUC__ 9 | #ifndef __inline__ 10 | #ifdef __sgi 11 | #define __inline__ __inline 12 | #else 13 | #define __inline__ 14 | #endif 15 | #endif 16 | #endif 17 | 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /advanced/lib/util/include/inline.h: -------------------------------------------------------------------------------- 1 | #ifndef XMLRPC_INLINE_H_INCLUDED 2 | #define XMLRPC_INLINE_H_INCLUDED 3 | 4 | /* Xmlrpc-c uses __inline__ to declare functions that should be 5 | compiled as inline code. Some compilers, e.g. GNU, recognize the 6 | __inline__ keyword. 7 | */ 8 | #ifndef __GNUC__ 9 | #ifndef __inline__ 10 | #ifdef __sgi 11 | #define __inline__ __inline 12 | #else 13 | #define __inline__ 14 | #endif 15 | #endif 16 | #endif 17 | 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /trunk/src/system_method.h: -------------------------------------------------------------------------------- 1 | #ifndef SYSTEM_METHOD_H_INCLUDED 2 | #define SYSTEM_METHOD_H_INCLUDED 3 | 4 | 5 | void 6 | xmlrpc_installSystemMethods(struct _xmlrpc_env * const envP, 7 | struct xmlrpc_registry * const registryP); 8 | 9 | void 10 | xmlrpc_buildSignatureArray(xmlrpc_env * const envP, 11 | const char * const sigListString, 12 | xmlrpc_value ** const resultPP); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /advanced/src/system_method.h: -------------------------------------------------------------------------------- 1 | #ifndef SYSTEM_METHOD_H_INCLUDED 2 | #define SYSTEM_METHOD_H_INCLUDED 3 | 4 | 5 | void 6 | xmlrpc_installSystemMethods(struct _xmlrpc_env * const envP, 7 | struct xmlrpc_registry * const registryP); 8 | 9 | void 10 | xmlrpc_buildSignatureArray(xmlrpc_env * const envP, 11 | const char * const sigListString, 12 | xmlrpc_value ** const resultPP); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /stable/lib/libutil/sleep.c: -------------------------------------------------------------------------------- 1 | #include "xmlrpc_config.h" 2 | #include "bool.h" 3 | 4 | #include "xmlrpc-c/sleep_int.h" 5 | 6 | #if MSVCRT 7 | # define WIN32_LEAN_AND_MEAN 8 | # include 9 | # include 10 | #else 11 | # include 12 | #endif 13 | 14 | 15 | void 16 | xmlrpc_millisecond_sleep(unsigned int const milliseconds) { 17 | 18 | #if MSVCRT 19 | SleepEx(milliseconds, true); 20 | #else 21 | usleep(milliseconds * 1000); 22 | #endif 23 | } 24 | -------------------------------------------------------------------------------- /stable/src/system_method.h: -------------------------------------------------------------------------------- 1 | #ifndef SYSTEM_METHOD_H_INCLUDED 2 | #define SYSTEM_METHOD_H_INCLUDED 3 | 4 | 5 | void 6 | xmlrpc_installSystemMethods(struct _xmlrpc_env * const envP, 7 | struct xmlrpc_registry * const registryP); 8 | 9 | void 10 | xmlrpc_buildSignatureArray(xmlrpc_env * const envP, 11 | const char * const sigListString, 12 | xmlrpc_value ** const resultPP); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /trunk/lib/libutil/sleep.c: -------------------------------------------------------------------------------- 1 | #include "xmlrpc_config.h" 2 | #include "bool.h" 3 | 4 | #include "xmlrpc-c/sleep_int.h" 5 | 6 | #if MSVCRT 7 | # define WIN32_LEAN_AND_MEAN 8 | # include 9 | # include 10 | #else 11 | # include 12 | #endif 13 | 14 | 15 | void 16 | xmlrpc_millisecond_sleep(unsigned int const milliseconds) { 17 | 18 | #if MSVCRT 19 | SleepEx(milliseconds, true); 20 | #else 21 | usleep(milliseconds * 1000); 22 | #endif 23 | } 24 | -------------------------------------------------------------------------------- /advanced/lib/libutil/sleep.c: -------------------------------------------------------------------------------- 1 | #include "xmlrpc_config.h" 2 | #include "bool.h" 3 | 4 | #include "xmlrpc-c/sleep_int.h" 5 | 6 | #if MSVCRT 7 | # define WIN32_LEAN_AND_MEAN 8 | # include 9 | # include 10 | #else 11 | # include 12 | #endif 13 | 14 | 15 | void 16 | xmlrpc_millisecond_sleep(unsigned int const milliseconds) { 17 | 18 | #if MSVCRT 19 | SleepEx(milliseconds, true); 20 | #else 21 | usleep(milliseconds * 1000); 22 | #endif 23 | } 24 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/Lock.hpp: -------------------------------------------------------------------------------- 1 | struct lock; 2 | 3 | namespace xmlrpc_c { 4 | 5 | class Lock { 6 | public: 7 | class Holder { 8 | public: 9 | Holder(Lock * const lockP); 10 | 11 | ~Holder(); 12 | 13 | private: 14 | Lock * const lockP; 15 | }; 16 | 17 | Lock(); 18 | 19 | ~Lock(); 20 | 21 | void 22 | acquire(); 23 | 24 | void 25 | release(); 26 | 27 | private: 28 | 29 | struct lock * const c_lockP; 30 | }; 31 | 32 | } // namespace 33 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/Lock.hpp: -------------------------------------------------------------------------------- 1 | struct lock; 2 | 3 | namespace xmlrpc_c { 4 | 5 | class Lock { 6 | public: 7 | class Holder { 8 | public: 9 | Holder(Lock * const lockP); 10 | 11 | ~Holder(); 12 | 13 | private: 14 | Lock * const lockP; 15 | }; 16 | 17 | Lock(); 18 | 19 | ~Lock(); 20 | 21 | void 22 | acquire(); 23 | 24 | void 25 | release(); 26 | 27 | private: 28 | 29 | struct lock * const c_lockP; 30 | }; 31 | 32 | } // namespace 33 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/Lock.hpp: -------------------------------------------------------------------------------- 1 | struct lock; 2 | 3 | namespace xmlrpc_c { 4 | 5 | class Lock { 6 | public: 7 | class Holder { 8 | public: 9 | Holder(Lock * const lockP); 10 | 11 | ~Holder(); 12 | 13 | private: 14 | Lock * const lockP; 15 | }; 16 | 17 | Lock(); 18 | 19 | ~Lock(); 20 | 21 | void 22 | acquire(); 23 | 24 | void 25 | release(); 26 | 27 | private: 28 | 29 | struct lock * const c_lockP; 30 | }; 31 | 32 | } // namespace 33 | -------------------------------------------------------------------------------- /stable/lib/expat/xmlwf/filemap.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | 7 | #include 8 | 9 | #ifdef XML_UNICODE 10 | int filemap(const wchar_t *name, 11 | void (*processor)(const void *, size_t, const wchar_t *, void *arg), 12 | void *arg); 13 | #else 14 | int filemap(const char *name, 15 | void (*processor)(const void *, size_t, const char *, void *arg), 16 | void *arg); 17 | #endif 18 | -------------------------------------------------------------------------------- /trunk/lib/expat/xmlwf/filemap.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | 7 | #include 8 | 9 | #ifdef XML_UNICODE 10 | int filemap(const wchar_t *name, 11 | void (*processor)(const void *, size_t, const wchar_t *, void *arg), 12 | void *arg); 13 | #else 14 | int filemap(const char *name, 15 | void (*processor)(const void *, size_t, const char *, void *arg), 16 | void *arg); 17 | #endif 18 | -------------------------------------------------------------------------------- /advanced/lib/expat/xmlwf/filemap.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | 7 | #include 8 | 9 | #ifdef XML_UNICODE 10 | int filemap(const wchar_t *name, 11 | void (*processor)(const void *, size_t, const wchar_t *, void *arg), 12 | void *arg); 13 | #else 14 | int filemap(const char *name, 15 | void (*processor)(const void *, size_t, const char *, void *arg), 16 | void *arg); 17 | #endif 18 | -------------------------------------------------------------------------------- /advanced/test/eftest_wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "*** Testing for heap block overruns..." 4 | efrpctest 5 | if ! test $?; then exit 1; fi 6 | 7 | echo "*** Testing for heap block underruns..." 8 | EF_PROTECT_BELOW=1 efrpctest 9 | if ! test $?; then exit 1; fi 10 | 11 | echo "*** Testing for access to freed heap blocks..." 12 | EF_PROTECT_FREE=1 efrpctest 13 | if ! test $?; then exit 1; fi 14 | 15 | echo "*** Testing for single-byte overruns..." 16 | EF_ALIGNMENT=0 efrpctest 17 | if ! test $?; then exit 1; fi 18 | -------------------------------------------------------------------------------- /stable/test/eftest_wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "*** Testing for heap block overruns..." 4 | efrpctest 5 | if ! test $?; then exit 1; fi 6 | 7 | echo "*** Testing for heap block underruns..." 8 | EF_PROTECT_BELOW=1 efrpctest 9 | if ! test $?; then exit 1; fi 10 | 11 | echo "*** Testing for access to freed heap blocks..." 12 | EF_PROTECT_FREE=1 efrpctest 13 | if ! test $?; then exit 1; fi 14 | 15 | echo "*** Testing for single-byte overruns..." 16 | EF_ALIGNMENT=0 efrpctest 17 | if ! test $?; then exit 1; fi 18 | -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | faultString 8 | An error occurred 9 | 10 | 11 | faultCode 12 | 1 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /trunk/test/eftest_wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "*** Testing for heap block overruns..." 4 | efrpctest 5 | if ! test $?; then exit 1; fi 6 | 7 | echo "*** Testing for heap block underruns..." 8 | EF_PROTECT_BELOW=1 efrpctest 9 | if ! test $?; then exit 1; fi 10 | 11 | echo "*** Testing for access to freed heap blocks..." 12 | EF_PROTECT_FREE=1 efrpctest 13 | if ! test $?; then exit 1; fi 14 | 15 | echo "*** Testing for single-byte overruns..." 16 | EF_ALIGNMENT=0 efrpctest 17 | if ! test $?; then exit 1; fi 18 | -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | faultString 8 | An error occurred 9 | 10 | 11 | faultCode 12 | 1 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | faultString 8 | An error occurred 9 | 10 | 11 | faultCode 12 | 1 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/date.h: -------------------------------------------------------------------------------- 1 | #ifndef DATE_H_INCLUDED 2 | #define DATE_H_INCLUDED 3 | 4 | #include 5 | 6 | #include "bool.h" 7 | 8 | void 9 | DateToString(time_t const datetime, 10 | const char ** const dateStringP); 11 | 12 | void 13 | DateToLogString(time_t const datetime, 14 | const char ** const dateStringP); 15 | 16 | void 17 | DateDecode(const char * const dateString, 18 | bool * const validP, 19 | time_t * const datetimeP); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/date.h: -------------------------------------------------------------------------------- 1 | #ifndef DATE_H_INCLUDED 2 | #define DATE_H_INCLUDED 3 | 4 | #include 5 | 6 | #include "bool.h" 7 | 8 | void 9 | DateToString(time_t const datetime, 10 | const char ** const dateStringP); 11 | 12 | void 13 | DateToLogString(time_t const datetime, 14 | const char ** const dateStringP); 15 | 16 | void 17 | DateDecode(const char * const dateString, 18 | bool * const validP, 19 | time_t * const datetimeP); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/inttypes.h: -------------------------------------------------------------------------------- 1 | #ifndef XMLRPC_INTTYPES_H_INCLUDED 2 | #define XMLRPC_INTTYPES_H_INCLUDED 3 | 4 | #ifdef _MSC_VER 5 | 6 | typedef unsigned short xmlrpc_uint16_t; 7 | typedef unsigned int xmlrpc_uint32_t; 8 | typedef unsigned __int64 xmlrpc_uint64_t; 9 | 10 | #else 11 | #include 12 | #ifdef __INTERIX 13 | # include 14 | #endif 15 | 16 | typedef uint16_t xmlrpc_uint16_t; 17 | typedef uint32_t xmlrpc_uint32_t; 18 | typedef uint64_t xmlrpc_uint64_t; 19 | 20 | #endif 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/date.h: -------------------------------------------------------------------------------- 1 | #ifndef DATE_H_INCLUDED 2 | #define DATE_H_INCLUDED 3 | 4 | #include 5 | 6 | #include "bool.h" 7 | 8 | void 9 | DateToString(time_t const datetime, 10 | const char ** const dateStringP); 11 | 12 | void 13 | DateToLogString(time_t const datetime, 14 | const char ** const dateStringP); 15 | 16 | void 17 | DateDecode(const char * const dateString, 18 | bool * const validP, 19 | time_t * const datetimeP); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /advanced/lib/util/include/bool.h: -------------------------------------------------------------------------------- 1 | /* This takes the place of C99 stdbool.h, which at least some Windows 2 | compilers don't have. (October 2005). 3 | 4 | One must not also include , because it might cause a name 5 | collision. 6 | */ 7 | 8 | #ifndef __cplusplus 9 | /* At least the GNU compiler defines __bool_true_false_are_defined */ 10 | #ifndef __bool_true_false_are_defined 11 | #define __bool_true_false_are_defined 12 | typedef enum { 13 | false = 0, 14 | true = 1 15 | } bool; 16 | #endif 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /advanced/version.mk: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # This is not only a make file inclusion, but a source file for the program 3 | # 'mkvers' in the Windows build system. The latter is very particular about 4 | # the format of this file. Do not change white space, add comment lines, or 5 | # anything! 6 | # 7 | # 8 | ############################################################################### 9 | XMLRPC_MAJOR_RELEASE = 1 10 | XMLRPC_MINOR_RELEASE = 64 11 | XMLRPC_POINT_RELEASE = 0 12 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/inttypes.h: -------------------------------------------------------------------------------- 1 | #ifndef XMLRPC_INTTYPES_H_INCLUDED 2 | #define XMLRPC_INTTYPES_H_INCLUDED 3 | 4 | #ifdef _MSC_VER 5 | 6 | typedef unsigned short xmlrpc_uint16_t; 7 | typedef unsigned int xmlrpc_uint32_t; 8 | typedef unsigned __int64 xmlrpc_uint64_t; 9 | 10 | #else 11 | #include 12 | #ifdef __INTERIX 13 | # include 14 | #endif 15 | 16 | typedef uint16_t xmlrpc_uint16_t; 17 | typedef uint32_t xmlrpc_uint32_t; 18 | typedef uint64_t xmlrpc_uint64_t; 19 | 20 | #endif 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /stable/lib/util/include/bool.h: -------------------------------------------------------------------------------- 1 | /* This takes the place of C99 stdbool.h, which at least some Windows 2 | compilers don't have. (October 2005). 3 | 4 | One must not also include , because it might cause a name 5 | collision. 6 | */ 7 | 8 | #ifndef __cplusplus 9 | /* At least the GNU compiler defines __bool_true_false_are_defined */ 10 | #ifndef __bool_true_false_are_defined 11 | #define __bool_true_false_are_defined 12 | typedef enum { 13 | false = 0, 14 | true = 1 15 | } bool; 16 | #endif 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /stable/version.mk: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # This is not only a make file inclusion, but a source file for the program 3 | # 'mkvers' in the Windows build system. The latter is very particular about 4 | # the format of this file. Do not change white space, add comment lines, or 5 | # anything! 6 | # 7 | # 8 | ############################################################################### 9 | XMLRPC_MAJOR_RELEASE = 1 10 | XMLRPC_MINOR_RELEASE = 60 11 | XMLRPC_POINT_RELEASE = 4 12 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/inttypes.h: -------------------------------------------------------------------------------- 1 | #ifndef XMLRPC_INTTYPES_H_INCLUDED 2 | #define XMLRPC_INTTYPES_H_INCLUDED 3 | 4 | #ifdef _MSC_VER 5 | 6 | typedef unsigned short xmlrpc_uint16_t; 7 | typedef unsigned int xmlrpc_uint32_t; 8 | typedef unsigned __int64 xmlrpc_uint64_t; 9 | 10 | #else 11 | #include 12 | #ifdef __INTERIX 13 | # include 14 | #endif 15 | 16 | typedef uint16_t xmlrpc_uint16_t; 17 | typedef uint32_t xmlrpc_uint32_t; 18 | typedef uint64_t xmlrpc_uint64_t; 19 | 20 | #endif 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /trunk/lib/util/include/bool.h: -------------------------------------------------------------------------------- 1 | /* This takes the place of C99 stdbool.h, which at least some Windows 2 | compilers don't have. (October 2005). 3 | 4 | One must not also include , because it might cause a name 5 | collision. 6 | */ 7 | 8 | #ifndef __cplusplus 9 | /* At least the GNU compiler defines __bool_true_false_are_defined */ 10 | #ifndef __bool_true_false_are_defined 11 | #define __bool_true_false_are_defined 12 | typedef enum { 13 | false = 0, 14 | true = 1 15 | } bool; 16 | #endif 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /trunk/version.mk: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # This is not only a make file inclusion, but a source file for the program 3 | # 'mkvers' in the Windows build system. The latter is very particular about 4 | # the format of this file. Do not change white space, add comment lines, or 5 | # anything! 6 | # 7 | # 8 | ############################################################################### 9 | XMLRPC_MAJOR_RELEASE = 1 10 | XMLRPC_MINOR_RELEASE = 64 11 | XMLRPC_POINT_RELEASE = 99 12 | -------------------------------------------------------------------------------- /advanced/src/registry.h: -------------------------------------------------------------------------------- 1 | #ifndef REGISTRY_H_INCLUDED 2 | #define REGISTRY_H_INCLUDED 3 | 4 | #include "xmlrpc-c/base.h" 5 | #include "xmlrpc-c/server.h" 6 | 7 | void 8 | xmlrpc_dispatchCall(struct _xmlrpc_env * const envP, 9 | struct xmlrpc_registry * const registryP, 10 | const char * const methodName, 11 | struct _xmlrpc_value * const paramArrayP, 12 | void * const callInfoP, 13 | struct _xmlrpc_value ** const resultPP); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /stable/src/registry.h: -------------------------------------------------------------------------------- 1 | #ifndef REGISTRY_H_INCLUDED 2 | #define REGISTRY_H_INCLUDED 3 | 4 | #include "xmlrpc-c/base.h" 5 | #include "xmlrpc-c/server.h" 6 | 7 | void 8 | xmlrpc_dispatchCall(struct _xmlrpc_env * const envP, 9 | struct xmlrpc_registry * const registryP, 10 | const char * const methodName, 11 | struct _xmlrpc_value * const paramArrayP, 12 | void * const callInfoP, 13 | struct _xmlrpc_value ** const resultPP); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /trunk/src/registry.h: -------------------------------------------------------------------------------- 1 | #ifndef REGISTRY_H_INCLUDED 2 | #define REGISTRY_H_INCLUDED 3 | 4 | #include "xmlrpc-c/base.h" 5 | #include "xmlrpc-c/server.h" 6 | 7 | void 8 | xmlrpc_dispatchCall(struct _xmlrpc_env * const envP, 9 | struct xmlrpc_registry * const registryP, 10 | const char * const methodName, 11 | struct _xmlrpc_value * const paramArrayP, 12 | void * const callInfoP, 13 | struct _xmlrpc_value ** const resultPP); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /advanced/src/version.c: -------------------------------------------------------------------------------- 1 | #include "version.h" 2 | 3 | #include "xmlrpc-c/base.h" 4 | 5 | unsigned int const xmlrpc_version_major = XMLRPC_VERSION_MAJOR; 6 | unsigned int const xmlrpc_version_minor = XMLRPC_VERSION_MINOR; 7 | unsigned int const xmlrpc_version_point = XMLRPC_VERSION_POINT; 8 | 9 | void 10 | xmlrpc_version(unsigned int * const majorP, 11 | unsigned int * const minorP, 12 | unsigned int * const pointP) { 13 | 14 | *majorP = XMLRPC_VERSION_MAJOR; 15 | *minorP = XMLRPC_VERSION_MINOR; 16 | *pointP = XMLRPC_VERSION_POINT; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /stable/src/version.c: -------------------------------------------------------------------------------- 1 | #include "version.h" 2 | 3 | #include "xmlrpc-c/base.h" 4 | 5 | unsigned int const xmlrpc_version_major = XMLRPC_VERSION_MAJOR; 6 | unsigned int const xmlrpc_version_minor = XMLRPC_VERSION_MINOR; 7 | unsigned int const xmlrpc_version_point = XMLRPC_VERSION_POINT; 8 | 9 | void 10 | xmlrpc_version(unsigned int * const majorP, 11 | unsigned int * const minorP, 12 | unsigned int * const pointP) { 13 | 14 | *majorP = XMLRPC_VERSION_MAJOR; 15 | *minorP = XMLRPC_VERSION_MINOR; 16 | *pointP = XMLRPC_VERSION_POINT; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /trunk/src/version.c: -------------------------------------------------------------------------------- 1 | #include "version.h" 2 | 3 | #include "xmlrpc-c/base.h" 4 | 5 | unsigned int const xmlrpc_version_major = XMLRPC_VERSION_MAJOR; 6 | unsigned int const xmlrpc_version_minor = XMLRPC_VERSION_MINOR; 7 | unsigned int const xmlrpc_version_point = XMLRPC_VERSION_POINT; 8 | 9 | void 10 | xmlrpc_version(unsigned int * const majorP, 11 | unsigned int * const minorP, 12 | unsigned int * const pointP) { 13 | 14 | *majorP = XMLRPC_VERSION_MAJOR; 15 | *minorP = XMLRPC_VERSION_MINOR; 16 | *pointP = XMLRPC_VERSION_POINT; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /trunk/lib/libutil++/girerr.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "xmlrpc-c/string_int.h" 4 | #include "xmlrpc-c/girerr.hpp" 5 | 6 | using namespace std; 7 | 8 | namespace girerr { 9 | 10 | void 11 | throwf(const char * const format, ...) { 12 | 13 | va_list varargs; 14 | va_start(varargs, format); 15 | 16 | const char * value; 17 | xmlrpc_vasprintf(&value, format, varargs); 18 | 19 | string const valueString(value); 20 | 21 | xmlrpc_strfree(value); 22 | 23 | throw(girerr::error(valueString)); 24 | 25 | va_end(varargs); 26 | } 27 | 28 | } // namespace 29 | -------------------------------------------------------------------------------- /advanced/lib/libutil++/girerr.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "xmlrpc-c/string_int.h" 4 | #include "xmlrpc-c/girerr.hpp" 5 | 6 | using namespace std; 7 | 8 | namespace girerr { 9 | 10 | void 11 | throwf(const char * const format, ...) { 12 | 13 | va_list varargs; 14 | va_start(varargs, format); 15 | 16 | const char * value; 17 | xmlrpc_vasprintf(&value, format, varargs); 18 | 19 | string const valueString(value); 20 | 21 | xmlrpc_strfree(value); 22 | 23 | throw(girerr::error(valueString)); 24 | 25 | va_end(varargs); 26 | } 27 | 28 | } // namespace 29 | -------------------------------------------------------------------------------- /stable/lib/libutil++/girerr.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "xmlrpc-c/string_int.h" 4 | #include "xmlrpc-c/girerr.hpp" 5 | 6 | using namespace std; 7 | 8 | namespace girerr { 9 | 10 | void 11 | throwf(const char * const format, ...) { 12 | 13 | va_list varargs; 14 | va_start(varargs, format); 15 | 16 | const char * value; 17 | xmlrpc_vasprintf(&value, format, varargs); 18 | 19 | string const valueString(value); 20 | 21 | xmlrpc_strfree(value); 22 | 23 | throw(girerr::error(valueString)); 24 | 25 | va_end(varargs); 26 | } 27 | 28 | } // namespace 29 | -------------------------------------------------------------------------------- /stable/lib/util/include/c_util.h: -------------------------------------------------------------------------------- 1 | #ifndef C_UTIL_H_INCLUDED 2 | #define C_UTIL_H_INCLUDED 3 | 4 | /* C language stuff. Doesn't involve any libraries that aren't part of 5 | the compiler. 6 | */ 7 | 8 | #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) 9 | 10 | /* GNU_PRINTF_ATTR lets the GNU compiler check printf-type 11 | calls to be sure the arguments match the format string, thus preventing 12 | runtime segmentation faults and incorrect messages. 13 | */ 14 | #ifdef __GNUC__ 15 | #define GNU_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b))) 16 | #else 17 | #define GNU_PRINTF_ATTR(a,b) 18 | #endif 19 | #endif 20 | -------------------------------------------------------------------------------- /trunk/lib/util/include/c_util.h: -------------------------------------------------------------------------------- 1 | #ifndef C_UTIL_H_INCLUDED 2 | #define C_UTIL_H_INCLUDED 3 | 4 | /* C language stuff. Doesn't involve any libraries that aren't part of 5 | the compiler. 6 | */ 7 | 8 | #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) 9 | 10 | /* GNU_PRINTF_ATTR lets the GNU compiler check printf-type 11 | calls to be sure the arguments match the format string, thus preventing 12 | runtime segmentation faults and incorrect messages. 13 | */ 14 | #ifdef __GNUC__ 15 | #define GNU_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b))) 16 | #else 17 | #define GNU_PRINTF_ATTR(a,b) 18 | #endif 19 | #endif 20 | -------------------------------------------------------------------------------- /advanced/lib/util/include/c_util.h: -------------------------------------------------------------------------------- 1 | #ifndef C_UTIL_H_INCLUDED 2 | #define C_UTIL_H_INCLUDED 3 | 4 | /* C language stuff. Doesn't involve any libraries that aren't part of 5 | the compiler. 6 | */ 7 | 8 | #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) 9 | 10 | /* GNU_PRINTF_ATTR lets the GNU compiler check printf-type 11 | calls to be sure the arguments match the format string, thus preventing 12 | runtime segmentation faults and incorrect messages. 13 | */ 14 | #ifdef __GNUC__ 15 | #define GNU_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b))) 16 | #else 17 | #define GNU_PRINTF_ATTR(a,b) 18 | #endif 19 | #endif 20 | -------------------------------------------------------------------------------- /trunk/lib/util/include/casprintf.h: -------------------------------------------------------------------------------- 1 | #ifndef CASPRINTF_H_INCLUDED 2 | #define CASPRINTF_H_INCLUDED 3 | 4 | #include 5 | 6 | #include "c_util.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | extern const char * const strsol; 13 | 14 | void 15 | cvasprintf(const char ** const retvalP, 16 | const char * const fmt, 17 | va_list varargs); 18 | 19 | void GNU_PRINTF_ATTR(2,3) 20 | casprintf(const char ** const retvalP, const char * const fmt, ...); 21 | 22 | void 23 | strfree(const char * const string); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /advanced/lib/util/include/casprintf.h: -------------------------------------------------------------------------------- 1 | #ifndef CASPRINTF_H_INCLUDED 2 | #define CASPRINTF_H_INCLUDED 3 | 4 | #include 5 | 6 | #include "c_util.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | extern const char * const strsol; 13 | 14 | void 15 | cvasprintf(const char ** const retvalP, 16 | const char * const fmt, 17 | va_list varargs); 18 | 19 | void GNU_PRINTF_ATTR(2,3) 20 | casprintf(const char ** const retvalP, const char * const fmt, ...); 21 | 22 | void 23 | strfree(const char * const string); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /stable/lib/util/include/casprintf.h: -------------------------------------------------------------------------------- 1 | #ifndef CASPRINTF_H_INCLUDED 2 | #define CASPRINTF_H_INCLUDED 3 | 4 | #include 5 | 6 | #include "c_util.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | extern const char * const strsol; 13 | 14 | void 15 | cvasprintf(const char ** const retvalP, 16 | const char * const fmt, 17 | va_list varargs); 18 | 19 | void GNU_PRINTF_ATTR(2,3) 20 | casprintf(const char ** const retvalP, const char * const fmt, ...); 21 | 22 | void 23 | strfree(const char * const string); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /advanced/tools/binmode-rpc-kit/examples/good-5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | foo 9 | bar 10 | foo 11 | baz 12 | baz 13 | bar 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /stable/lib/abyss++/AbyssChanSwitch.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #include "xmlrpc-c/abyss.h" 6 | 7 | #include "xmlrpc-c/AbyssChanSwitch.hpp" 8 | 9 | 10 | 11 | namespace xmlrpc_c { 12 | 13 | 14 | 15 | AbyssChanSwitch::AbyssChanSwitch() { 16 | 17 | this->_cChanSwitchP = NULL; 18 | } 19 | 20 | 21 | 22 | AbyssChanSwitch::~AbyssChanSwitch() { 23 | 24 | if (this->_cChanSwitchP) 25 | ChanSwitchDestroy(this->_cChanSwitchP); 26 | } 27 | 28 | 29 | 30 | TChanSwitch * 31 | AbyssChanSwitch::cChanSwitchP() const { 32 | 33 | return this->_cChanSwitchP; 34 | } 35 | 36 | 37 | 38 | } // namespace 39 | -------------------------------------------------------------------------------- /stable/tools/binmode-rpc-kit/examples/good-5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | foo 9 | bar 10 | foo 11 | baz 12 | baz 13 | bar 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /trunk/lib/abyss++/AbyssChanSwitch.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #include "xmlrpc-c/abyss.h" 6 | 7 | #include "xmlrpc-c/AbyssChanSwitch.hpp" 8 | 9 | 10 | 11 | namespace xmlrpc_c { 12 | 13 | 14 | 15 | AbyssChanSwitch::AbyssChanSwitch() { 16 | 17 | this->_cChanSwitchP = NULL; 18 | } 19 | 20 | 21 | 22 | AbyssChanSwitch::~AbyssChanSwitch() { 23 | 24 | if (this->_cChanSwitchP) 25 | ChanSwitchDestroy(this->_cChanSwitchP); 26 | } 27 | 28 | 29 | 30 | TChanSwitch * 31 | AbyssChanSwitch::cChanSwitchP() const { 32 | 33 | return this->_cChanSwitchP; 34 | } 35 | 36 | 37 | 38 | } // namespace 39 | -------------------------------------------------------------------------------- /trunk/tools/binmode-rpc-kit/examples/good-5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | foo 9 | bar 10 | foo 11 | baz 12 | baz 13 | bar 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /advanced/lib/abyss++/AbyssChanSwitch.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #include "xmlrpc-c/abyss.h" 6 | 7 | #include "xmlrpc-c/AbyssChanSwitch.hpp" 8 | 9 | 10 | 11 | namespace xmlrpc_c { 12 | 13 | 14 | 15 | AbyssChanSwitch::AbyssChanSwitch() { 16 | 17 | this->_cChanSwitchP = NULL; 18 | } 19 | 20 | 21 | 22 | AbyssChanSwitch::~AbyssChanSwitch() { 23 | 24 | if (this->_cChanSwitchP) 25 | ChanSwitchDestroy(this->_cChanSwitchP); 26 | } 27 | 28 | 29 | 30 | TChanSwitch * 31 | AbyssChanSwitch::cChanSwitchP() const { 32 | 33 | return this->_cChanSwitchP; 34 | } 35 | 36 | 37 | 38 | } // namespace 39 | -------------------------------------------------------------------------------- /advanced/Windows/transport_config_win32.h: -------------------------------------------------------------------------------- 1 | /* Win32 version of transport_config.h. 2 | 3 | For other platforms, this is generated automatically, but for Windows, 4 | someone generates it manually. Nonetheless, we keep it looking as much 5 | as possible like the automatically generated one to make it easier to 6 | maintain (e.g. you can compare the two and see why something builds 7 | differently for Windows that for some other platform). 8 | */ 9 | #define MUST_BUILD_WININET_CLIENT 1 10 | #define MUST_BUILD_CURL_CLIENT 0 11 | #define MUST_BUILD_LIBWWW_CLIENT 0 12 | static const char * const XMLRPC_DEFAULT_TRANSPORT = 13 | "wininet"; 14 | -------------------------------------------------------------------------------- /stable/Windows/transport_config_win32.h: -------------------------------------------------------------------------------- 1 | /* Win32 version of transport_config.h. 2 | 3 | For other platforms, this is generated automatically, but for Windows, 4 | someone generates it manually. Nonetheless, we keep it looking as much 5 | as possible like the automatically generated one to make it easier to 6 | maintain (e.g. you can compare the two and see why something builds 7 | differently for Windows that for some other platform). 8 | */ 9 | #define MUST_BUILD_WININET_CLIENT 1 10 | #define MUST_BUILD_CURL_CLIENT 0 11 | #define MUST_BUILD_LIBWWW_CLIENT 0 12 | static const char * const XMLRPC_DEFAULT_TRANSPORT = 13 | "wininet"; 14 | -------------------------------------------------------------------------------- /trunk/Windows/transport_config_win32.h: -------------------------------------------------------------------------------- 1 | /* Win32 version of transport_config.h. 2 | 3 | For other platforms, this is generated automatically, but for Windows, 4 | someone generates it manually. Nonetheless, we keep it looking as much 5 | as possible like the automatically generated one to make it easier to 6 | maintain (e.g. you can compare the two and see why something builds 7 | differently for Windows that for some other platform). 8 | */ 9 | #define MUST_BUILD_WININET_CLIENT 1 10 | #define MUST_BUILD_CURL_CLIENT 0 11 | #define MUST_BUILD_LIBWWW_CLIENT 0 12 | static const char * const XMLRPC_DEFAULT_TRANSPORT = 13 | "wininet"; 14 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/abyss_info.h: -------------------------------------------------------------------------------- 1 | #ifndef ABYSS_INFO_H_INCLUDED 2 | #define ABYSS_INFO_H_INCLUDED 3 | 4 | #include "version.h" /* defines XMLRPC_C_VERSION */ 5 | 6 | #define SERVER_HTML_INFO \ 7 | "


" \ 8 | "ABYSS Web Server for XML-RPC For C/C++ " \ 9 | "version " XMLRPC_C_VERSION "
" \ 10 | "

" 11 | 12 | #define SERVER_PLAIN_INFO \ 13 | "\r\n" \ 14 | "----------------------------------------" \ 15 | "----------------------------------------\r\n" \ 16 | "ABYSS Web Server for XML-RPC For C/C++ " \ 17 | "version " XMLRPC_C_VERSION "\r\n" \ 18 | "See xmlrpc-c.sourceforge.net" 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/lock_pthread.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_PTHREAD_H_INCLUDED 2 | #define LOCK_PTHREAD_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | #include "lock.h" 6 | 7 | /* 8 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 9 | libxmlrpc_util. 10 | 11 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 12 | opposed to something that _uses_ libxmlrpc_util. 13 | */ 14 | #ifdef XMLRPC_BUILDING_UTIL 15 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 16 | #else 17 | #define XMLRPC_UTIL_EXPORTED 18 | #endif 19 | 20 | XMLRPC_UTIL_EXPORTED 21 | struct lock * 22 | xmlrpc_lock_create_pthread(void); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/lock_windows.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_WINDOWS_H_INCLUDED 2 | #define LOCK_WINDOWS_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | #include "lock.h" 6 | 7 | /* 8 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 9 | libxmlrpc_util. 10 | 11 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 12 | opposed to something that _uses_ libxmlrpc_util. 13 | */ 14 | #ifdef XMLRPC_BUILDING_UTIL 15 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 16 | #else 17 | #define XMLRPC_UTIL_EXPORTED 18 | #endif 19 | 20 | XMLRPC_UTIL_EXPORTED 21 | struct lock * 22 | xmlrpc_lock_create_windows(void); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/abyss_info.h: -------------------------------------------------------------------------------- 1 | #ifndef ABYSS_INFO_H_INCLUDED 2 | #define ABYSS_INFO_H_INCLUDED 3 | 4 | #include "version.h" /* defines XMLRPC_C_VERSION */ 5 | 6 | #define SERVER_HTML_INFO \ 7 | "


" \ 8 | "ABYSS Web Server for XML-RPC For C/C++ " \ 9 | "version " XMLRPC_C_VERSION "
" \ 10 | "

" 11 | 12 | #define SERVER_PLAIN_INFO \ 13 | "\r\n" \ 14 | "----------------------------------------" \ 15 | "----------------------------------------\r\n" \ 16 | "ABYSS Web Server for XML-RPC For C/C++ " \ 17 | "version " XMLRPC_C_VERSION "\r\n" \ 18 | "See xmlrpc-c.sourceforge.net" 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /stable/tools/xmlrpc_pstream/test: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | # This is for testing and playing with Xmlrpc_pstream. 4 | 5 | # To use, first start a packet stream XML-RPC server. The 6 | # 'pstream_inetd_server' program from examples/cpp is good: 7 | # 8 | # $ socketexec -accept -local_port=8080 -- pstream_inetd_server 9 | # 10 | # Then (in another shell), run this program: 11 | # 12 | # $ ./test 13 | # > sample.add i/3 i/5 14 | # 15 | # Result: 16 | # Integer: 8 17 | # 18 | # > [ctl-D] 19 | # $ 20 | # 21 | # OR: 22 | # 23 | # $ ./test sample.add i/3 i/5 24 | # $ 25 | 26 | socketexec -connect -remote_host=localhost -remote_port=8080 --filedes=3 -- \ 27 | ./xmlrpc_pstream $* 28 | 29 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/lock_pthread.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_PTHREAD_H_INCLUDED 2 | #define LOCK_PTHREAD_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | #include "lock.h" 6 | 7 | /* 8 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 9 | libxmlrpc_util. 10 | 11 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 12 | opposed to something that _uses_ libxmlrpc_util. 13 | */ 14 | #ifdef XMLRPC_BUILDING_UTIL 15 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 16 | #else 17 | #define XMLRPC_UTIL_EXPORTED 18 | #endif 19 | 20 | XMLRPC_UTIL_EXPORTED 21 | struct lock * 22 | xmlrpc_lock_create_pthread(void); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/lock_windows.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_WINDOWS_H_INCLUDED 2 | #define LOCK_WINDOWS_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | #include "lock.h" 6 | 7 | /* 8 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 9 | libxmlrpc_util. 10 | 11 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 12 | opposed to something that _uses_ libxmlrpc_util. 13 | */ 14 | #ifdef XMLRPC_BUILDING_UTIL 15 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 16 | #else 17 | #define XMLRPC_UTIL_EXPORTED 18 | #endif 19 | 20 | XMLRPC_UTIL_EXPORTED 21 | struct lock * 22 | xmlrpc_lock_create_windows(void); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/abyss_info.h: -------------------------------------------------------------------------------- 1 | #ifndef ABYSS_INFO_H_INCLUDED 2 | #define ABYSS_INFO_H_INCLUDED 3 | 4 | #include "version.h" /* defines XMLRPC_C_VERSION */ 5 | 6 | #define SERVER_HTML_INFO \ 7 | "


" \ 8 | "ABYSS Web Server for XML-RPC For C/C++ " \ 9 | "version " XMLRPC_C_VERSION "
" \ 10 | "

" 11 | 12 | #define SERVER_PLAIN_INFO \ 13 | "\r\n" \ 14 | "----------------------------------------" \ 15 | "----------------------------------------\r\n" \ 16 | "ABYSS Web Server for XML-RPC For C/C++ " \ 17 | "version " XMLRPC_C_VERSION "\r\n" \ 18 | "See xmlrpc-c.sourceforge.net" 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /trunk/tools/xmlrpc_pstream/test: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | # This is for testing and playing with Xmlrpc_pstream. 4 | 5 | # To use, first start a packet stream XML-RPC server. The 6 | # 'pstream_inetd_server' program from examples/cpp is good: 7 | # 8 | # $ socketexec -accept -local_port=8080 -- pstream_inetd_server 9 | # 10 | # Then (in another shell), run this program: 11 | # 12 | # $ ./test 13 | # > sample.add i/3 i/5 14 | # 15 | # Result: 16 | # Integer: 8 17 | # 18 | # > [ctl-D] 19 | # $ 20 | # 21 | # OR: 22 | # 23 | # $ ./test sample.add i/3 i/5 24 | # $ 25 | 26 | socketexec -connect -remote_host=localhost -remote_port=8080 --filedes=3 -- \ 27 | ./xmlrpc_pstream $* 28 | 29 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/lock_pthread.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_PTHREAD_H_INCLUDED 2 | #define LOCK_PTHREAD_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | #include "lock.h" 6 | 7 | /* 8 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 9 | libxmlrpc_util. 10 | 11 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 12 | opposed to something that _uses_ libxmlrpc_util. 13 | */ 14 | #ifdef XMLRPC_BUILDING_UTIL 15 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 16 | #else 17 | #define XMLRPC_UTIL_EXPORTED 18 | #endif 19 | 20 | XMLRPC_UTIL_EXPORTED 21 | struct lock * 22 | xmlrpc_lock_create_pthread(void); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/lock_windows.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_WINDOWS_H_INCLUDED 2 | #define LOCK_WINDOWS_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | #include "lock.h" 6 | 7 | /* 8 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 9 | libxmlrpc_util. 10 | 11 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 12 | opposed to something that _uses_ libxmlrpc_util. 13 | */ 14 | #ifdef XMLRPC_BUILDING_UTIL 15 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 16 | #else 17 | #define XMLRPC_UTIL_EXPORTED 18 | #endif 19 | 20 | XMLRPC_UTIL_EXPORTED 21 | struct lock * 22 | xmlrpc_lock_create_windows(void); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /advanced/tools/xmlrpc_cpp_proxy/systemProxy.hpp: -------------------------------------------------------------------------------- 1 | #ifndef SYSTEMPROXY_HPP_INCLUDED 2 | #define SYSTEMPROXY_HPP_INCLUDED 3 | 4 | #include 5 | #include 6 | 7 | class systemProxy : public xmlrpc_c::clientSimple { 8 | 9 | public: 10 | systemProxy() {} 11 | 12 | xmlrpc_c::value /*array*/ 13 | listMethods(std::string const& serverUrl); 14 | 15 | xmlrpc_c::value /*array*/ 16 | methodSignature(std::string const& serverUrl, 17 | std::string const& methodName); 18 | 19 | std::string 20 | methodHelp(std::string const& serverUrl, 21 | std::string const& methodName); 22 | }; 23 | 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /advanced/tools/xmlrpc_pstream/test: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | # This is for testing and playing with Xmlrpc_pstream. 4 | 5 | # To use, first start a packet stream XML-RPC server. The 6 | # 'pstream_inetd_server' program from examples/cpp is good: 7 | # 8 | # $ socketexec -accept -local_port=8080 -- pstream_inetd_server 9 | # 10 | # Then (in another shell), run this program: 11 | # 12 | # $ ./test 13 | # > sample.add i/3 i/5 14 | # 15 | # Result: 16 | # Integer: 8 17 | # 18 | # > [ctl-D] 19 | # $ 20 | # 21 | # OR: 22 | # 23 | # $ ./test sample.add i/3 i/5 24 | # $ 25 | 26 | socketexec -connect -remote_host=localhost -remote_port=8080 --filedes=3 -- \ 27 | ./xmlrpc_pstream $* 28 | 29 | -------------------------------------------------------------------------------- /stable/tools/xmlrpc_cpp_proxy/systemProxy.hpp: -------------------------------------------------------------------------------- 1 | #ifndef SYSTEMPROXY_HPP_INCLUDED 2 | #define SYSTEMPROXY_HPP_INCLUDED 3 | 4 | #include 5 | #include 6 | 7 | class systemProxy : public xmlrpc_c::clientSimple { 8 | 9 | public: 10 | systemProxy() {} 11 | 12 | xmlrpc_c::value /*array*/ 13 | listMethods(std::string const& serverUrl); 14 | 15 | xmlrpc_c::value /*array*/ 16 | methodSignature(std::string const& serverUrl, 17 | std::string const& methodName); 18 | 19 | std::string 20 | methodHelp(std::string const& serverUrl, 21 | std::string const& methodName); 22 | }; 23 | 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /trunk/tools/xmlrpc_cpp_proxy/systemProxy.hpp: -------------------------------------------------------------------------------- 1 | #ifndef SYSTEMPROXY_HPP_INCLUDED 2 | #define SYSTEMPROXY_HPP_INCLUDED 3 | 4 | #include 5 | #include 6 | 7 | class systemProxy : public xmlrpc_c::clientSimple { 8 | 9 | public: 10 | systemProxy() {} 11 | 12 | xmlrpc_c::value /*array*/ 13 | listMethods(std::string const& serverUrl); 14 | 15 | xmlrpc_c::value /*array*/ 16 | methodSignature(std::string const& serverUrl, 17 | std::string const& methodName); 18 | 19 | std::string 20 | methodHelp(std::string const& serverUrl, 21 | std::string const& methodName); 22 | }; 23 | 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /advanced/Windows/mkvers1.bat: -------------------------------------------------------------------------------- 1 | @if "%1." == "." goto ERR2 2 | @if "%TEMP1%." == "." goto ERR1 3 | @if "%TEMP1%" == "1" goto SET1 4 | @if "%TEMP1%" == "2" goto SET2 5 | @if "%TEMP1%" == "3" goto SET3 6 | @echo environment variable has an invalid value %TEMP1% ... 7 | @goto ERR2 8 | 9 | :SET1 10 | @set TEMPX1=%1 11 | @set TEMP1=2 12 | @goto END 13 | 14 | :SET2 15 | @set TEMPX2=%1 16 | @set TEMP1=3 17 | @goto END 18 | 19 | :SET3 20 | @set TEMPX3=%1 21 | @set TEMP1=4 22 | @goto END 23 | 24 | 25 | :ERR1 26 | @echo Environment variable TEMP1 not set ... 27 | :ERR2 28 | @echo This batch is only intended to be run from within UPDVERS.BAT ... 29 | @pause 30 | @goto END 31 | 32 | :END 33 | -------------------------------------------------------------------------------- /stable/Windows/mkvers1.bat: -------------------------------------------------------------------------------- 1 | @if "%1." == "." goto ERR2 2 | @if "%TEMP1%." == "." goto ERR1 3 | @if "%TEMP1%" == "1" goto SET1 4 | @if "%TEMP1%" == "2" goto SET2 5 | @if "%TEMP1%" == "3" goto SET3 6 | @echo environment variable has an invalid value %TEMP1% ... 7 | @goto ERR2 8 | 9 | :SET1 10 | @set TEMPX1=%1 11 | @set TEMP1=2 12 | @goto END 13 | 14 | :SET2 15 | @set TEMPX2=%1 16 | @set TEMP1=3 17 | @goto END 18 | 19 | :SET3 20 | @set TEMPX3=%1 21 | @set TEMP1=4 22 | @goto END 23 | 24 | 25 | :ERR1 26 | @echo Environment variable TEMP1 not set ... 27 | :ERR2 28 | @echo This batch is only intended to be run from within UPDVERS.BAT ... 29 | @pause 30 | @goto END 31 | 32 | :END 33 | -------------------------------------------------------------------------------- /trunk/Windows/mkvers1.bat: -------------------------------------------------------------------------------- 1 | @if "%1." == "." goto ERR2 2 | @if "%TEMP1%." == "." goto ERR1 3 | @if "%TEMP1%" == "1" goto SET1 4 | @if "%TEMP1%" == "2" goto SET2 5 | @if "%TEMP1%" == "3" goto SET3 6 | @echo environment variable has an invalid value %TEMP1% ... 7 | @goto ERR2 8 | 9 | :SET1 10 | @set TEMPX1=%1 11 | @set TEMP1=2 12 | @goto END 13 | 14 | :SET2 15 | @set TEMPX2=%1 16 | @set TEMP1=3 17 | @goto END 18 | 19 | :SET3 20 | @set TEMPX3=%1 21 | @set TEMP1=4 22 | @goto END 23 | 24 | 25 | :ERR1 26 | @echo Environment variable TEMP1 not set ... 27 | :ERR2 28 | @echo This batch is only intended to be run from within UPDVERS.BAT ... 29 | @pause 30 | @goto END 31 | 32 | :END 33 | -------------------------------------------------------------------------------- /trunk/tools/xml-rpc-api2cpp/XmlRpcClass.hpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | class XmlRpcClass { 4 | // An object of this class contains information about a proxy 5 | // class, and knows how to generate code. 6 | 7 | std::string mClassName; 8 | std::vector mFunctions; 9 | 10 | 11 | public: 12 | XmlRpcClass (std::string const& className); 13 | XmlRpcClass(XmlRpcClass const&); 14 | XmlRpcClass& operator= (XmlRpcClass const&); 15 | 16 | std::string className () const { return mClassName; } 17 | 18 | void addFunction (const XmlRpcFunction& function); 19 | 20 | void printDeclaration (ostream& out) const; 21 | void printDefinition (ostream& out) const; 22 | }; 23 | -------------------------------------------------------------------------------- /advanced/tools/xml-rpc-api2cpp/XmlRpcClass.hpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | class XmlRpcClass { 4 | // An object of this class contains information about a proxy 5 | // class, and knows how to generate code. 6 | 7 | std::string mClassName; 8 | std::vector mFunctions; 9 | 10 | 11 | public: 12 | XmlRpcClass (std::string const& className); 13 | XmlRpcClass(XmlRpcClass const&); 14 | XmlRpcClass& operator= (XmlRpcClass const&); 15 | 16 | std::string className () const { return mClassName; } 17 | 18 | void addFunction (const XmlRpcFunction& function); 19 | 20 | void printDeclaration (ostream& out) const; 21 | void printDefinition (ostream& out) const; 22 | }; 23 | -------------------------------------------------------------------------------- /stable/tools/xml-rpc-api2cpp/XmlRpcClass.hpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | class XmlRpcClass { 4 | // An object of this class contains information about a proxy 5 | // class, and knows how to generate code. 6 | 7 | std::string mClassName; 8 | std::vector mFunctions; 9 | 10 | 11 | public: 12 | XmlRpcClass (std::string const& className); 13 | XmlRpcClass(XmlRpcClass const&); 14 | XmlRpcClass& operator= (XmlRpcClass const&); 15 | 16 | std::string className () const { return mClassName; } 17 | 18 | void addFunction (const XmlRpcFunction& function); 19 | 20 | void printDeclaration (ostream& out) const; 21 | void printDefinition (ostream& out) const; 22 | }; 23 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/base64_int.h: -------------------------------------------------------------------------------- 1 | #ifndef BASE64_INT_H_INCLUDED 2 | #define BASE64_INT_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | 6 | /* 7 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 8 | libxmlrpc_util. 9 | 10 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 11 | opposed to something that _uses_ libxmlrpc_util. 12 | */ 13 | #ifdef XMLRPC_BUILDING_UTIL 14 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 15 | #else 16 | #define XMLRPC_UTIL_EXPORTED 17 | #endif 18 | 19 | XMLRPC_UTIL_EXPORTED 20 | void 21 | xmlrpc_base64Encode(const char * const chars, 22 | char * const base64); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/base64_int.h: -------------------------------------------------------------------------------- 1 | #ifndef BASE64_INT_H_INCLUDED 2 | #define BASE64_INT_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | 6 | /* 7 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 8 | libxmlrpc_util. 9 | 10 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 11 | opposed to something that _uses_ libxmlrpc_util. 12 | */ 13 | #ifdef XMLRPC_BUILDING_UTIL 14 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 15 | #else 16 | #define XMLRPC_UTIL_EXPORTED 17 | #endif 18 | 19 | XMLRPC_UTIL_EXPORTED 20 | void 21 | xmlrpc_base64Encode(const char * const chars, 22 | char * const base64); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/base64_int.h: -------------------------------------------------------------------------------- 1 | #ifndef BASE64_INT_H_INCLUDED 2 | #define BASE64_INT_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | 6 | /* 7 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 8 | libxmlrpc_util. 9 | 10 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 11 | opposed to something that _uses_ libxmlrpc_util. 12 | */ 13 | #ifdef XMLRPC_BUILDING_UTIL 14 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 15 | #else 16 | #define XMLRPC_UTIL_EXPORTED 17 | #endif 18 | 19 | XMLRPC_UTIL_EXPORTED 20 | void 21 | xmlrpc_base64Encode(const char * const chars, 22 | char * const base64); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /stable/lib/abyss++/AbyssChanSwitchWin.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #ifndef _WIN32 6 | /* Without _WIN32, does not declare ChanSwitchWinCreate */ 7 | #error This module compiles only for a Windows target. 8 | #endif 9 | 10 | #include "xmlrpc-c/abyss.h" 11 | 12 | #include "xmlrpc-c/AbyssChanSwitchWin.hpp" 13 | 14 | 15 | 16 | 17 | namespace xmlrpc_c { 18 | 19 | 20 | 21 | AbyssChanSwitchWin::AbyssChanSwitchWin(unsigned short const listenPortNum) { 22 | 23 | const char * error; 24 | 25 | ChanSwitchWinCreate(listenPortNum, &this->_cChanSwitchP, &error); 26 | 27 | if (error) 28 | throw runtime_error(error); 29 | } 30 | 31 | 32 | 33 | } // namespace 34 | -------------------------------------------------------------------------------- /trunk/lib/abyss++/AbyssChanSwitchWin.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #ifndef _WIN32 6 | /* Without _WIN32, does not declare ChanSwitchWinCreate */ 7 | #error This module compiles only for a Windows target. 8 | #endif 9 | 10 | #include "xmlrpc-c/abyss.h" 11 | 12 | #include "xmlrpc-c/AbyssChanSwitchWin.hpp" 13 | 14 | 15 | 16 | 17 | namespace xmlrpc_c { 18 | 19 | 20 | 21 | AbyssChanSwitchWin::AbyssChanSwitchWin(unsigned short const listenPortNum) { 22 | 23 | const char * error; 24 | 25 | ChanSwitchWinCreate(listenPortNum, &this->_cChanSwitchP, &error); 26 | 27 | if (error) 28 | throw runtime_error(error); 29 | } 30 | 31 | 32 | 33 | } // namespace 34 | -------------------------------------------------------------------------------- /advanced/lib/abyss++/AbyssChanSwitchWin.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #ifndef _WIN32 6 | /* Without _WIN32, does not declare ChanSwitchWinCreate */ 7 | #error This module compiles only for a Windows target. 8 | #endif 9 | 10 | #include "xmlrpc-c/abyss.h" 11 | 12 | #include "xmlrpc-c/AbyssChanSwitchWin.hpp" 13 | 14 | 15 | 16 | 17 | namespace xmlrpc_c { 18 | 19 | 20 | 21 | AbyssChanSwitchWin::AbyssChanSwitchWin(unsigned short const listenPortNum) { 22 | 23 | const char * error; 24 | 25 | ChanSwitchWinCreate(listenPortNum, &this->_cChanSwitchP, &error); 26 | 27 | if (error) 28 | throw runtime_error(error); 29 | } 30 | 31 | 32 | 33 | } // namespace 34 | -------------------------------------------------------------------------------- /stable/lib/abyss++/AbyssChanSwitchUnix.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #ifdef _WIN32 6 | /* With _WIN32, does not declare ChanSwitchUnixCreate */ 7 | #error This module does not compile for a Windows target. 8 | #endif 9 | 10 | #include "xmlrpc-c/abyss.h" 11 | 12 | #include "xmlrpc-c/AbyssChanSwitchUnix.hpp" 13 | 14 | 15 | 16 | 17 | namespace xmlrpc_c { 18 | 19 | 20 | 21 | AbyssChanSwitchUnix::AbyssChanSwitchUnix(unsigned short const listenPortNum) { 22 | 23 | const char * error; 24 | 25 | ChanSwitchUnixCreate(listenPortNum, &this->_cChanSwitchP, &error); 26 | 27 | if (error) 28 | throw runtime_error(error); 29 | } 30 | 31 | 32 | 33 | } // namespace 34 | -------------------------------------------------------------------------------- /trunk/lib/abyss++/AbyssChanSwitchUnix.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #ifdef _WIN32 6 | /* With _WIN32, does not declare ChanSwitchUnixCreate */ 7 | #error This module does not compile for a Windows target. 8 | #endif 9 | 10 | #include "xmlrpc-c/abyss.h" 11 | 12 | #include "xmlrpc-c/AbyssChanSwitchUnix.hpp" 13 | 14 | 15 | 16 | 17 | namespace xmlrpc_c { 18 | 19 | 20 | 21 | AbyssChanSwitchUnix::AbyssChanSwitchUnix(unsigned short const listenPortNum) { 22 | 23 | const char * error; 24 | 25 | ChanSwitchUnixCreate(listenPortNum, &this->_cChanSwitchP, &error); 26 | 27 | if (error) 28 | throw runtime_error(error); 29 | } 30 | 31 | 32 | 33 | } // namespace 34 | -------------------------------------------------------------------------------- /advanced/lib/abyss++/AbyssChanSwitchUnix.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #ifdef _WIN32 6 | /* With _WIN32, does not declare ChanSwitchUnixCreate */ 7 | #error This module does not compile for a Windows target. 8 | #endif 9 | 10 | #include "xmlrpc-c/abyss.h" 11 | 12 | #include "xmlrpc-c/AbyssChanSwitchUnix.hpp" 13 | 14 | 15 | 16 | 17 | namespace xmlrpc_c { 18 | 19 | 20 | 21 | AbyssChanSwitchUnix::AbyssChanSwitchUnix(unsigned short const listenPortNum) { 22 | 23 | const char * error; 24 | 25 | ChanSwitchUnixCreate(listenPortNum, &this->_cChanSwitchP, &error); 26 | 27 | if (error) 28 | throw runtime_error(error); 29 | } 30 | 31 | 32 | 33 | } // namespace 34 | -------------------------------------------------------------------------------- /stable/src/cpp/global.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #include 6 | using girerr::throwf; 7 | #include 8 | 9 | 10 | class LibxmlrpcGlobalState { 11 | 12 | public: 13 | LibxmlrpcGlobalState() { 14 | xmlrpc_env env; 15 | xmlrpc_env_init(&env); 16 | xmlrpc_init(&env); 17 | if (env.fault_occurred) { 18 | string const fault(env.fault_string); 19 | xmlrpc_env_clean(&env); 20 | throwf("Failed to initailize libxmlrpc. %s", fault.c_str()); 21 | } 22 | } 23 | 24 | ~LibxmlrpcGlobalState() { 25 | xmlrpc_term(); 26 | } 27 | }; 28 | 29 | static LibxmlrpcGlobalState libxmlrpcGlobalState; 30 | 31 | -------------------------------------------------------------------------------- /trunk/src/cpp/global.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #include 6 | using girerr::throwf; 7 | #include 8 | 9 | 10 | class LibxmlrpcGlobalState { 11 | 12 | public: 13 | LibxmlrpcGlobalState() { 14 | xmlrpc_env env; 15 | xmlrpc_env_init(&env); 16 | xmlrpc_init(&env); 17 | if (env.fault_occurred) { 18 | string const fault(env.fault_string); 19 | xmlrpc_env_clean(&env); 20 | throwf("Failed to initailize libxmlrpc. %s", fault.c_str()); 21 | } 22 | } 23 | 24 | ~LibxmlrpcGlobalState() { 25 | xmlrpc_term(); 26 | } 27 | }; 28 | 29 | static LibxmlrpcGlobalState libxmlrpcGlobalState; 30 | 31 | -------------------------------------------------------------------------------- /advanced/src/cpp/global.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #include 6 | using girerr::throwf; 7 | #include 8 | 9 | 10 | class LibxmlrpcGlobalState { 11 | 12 | public: 13 | LibxmlrpcGlobalState() { 14 | xmlrpc_env env; 15 | xmlrpc_env_init(&env); 16 | xmlrpc_init(&env); 17 | if (env.fault_occurred) { 18 | string const fault(env.fault_string); 19 | xmlrpc_env_clean(&env); 20 | throwf("Failed to initailize libxmlrpc. %s", fault.c_str()); 21 | } 22 | } 23 | 24 | ~LibxmlrpcGlobalState() { 25 | xmlrpc_term(); 26 | } 27 | }; 28 | 29 | static LibxmlrpcGlobalState libxmlrpcGlobalState; 30 | 31 | -------------------------------------------------------------------------------- /stable/dll-common.mk: -------------------------------------------------------------------------------- 1 | # -*-makefile-*- <-- an Emacs control 2 | 3 | # See unix-common.mk for an explanation of this file. This file is 4 | # analogous to unix-common.mk, but is for a Windows system 5 | 6 | SONAME = $@ 7 | IMPLIB = $(@:%:%.dll.a) 8 | 9 | SHLIB_CMD = $(CCLD) $(LDFLAGS_SHLIB) -o $@ $^ $(LADD) 10 | 11 | .PHONY: $(SHLIB_INSTALL_TARGETS) 12 | .PHONY: install-shared-libraries 13 | 14 | SHLIB_INSTALL_TARGETS = $(SHARED_LIBS_TO_INSTALL:%=%/install) 15 | 16 | #SHLIB_INSTALL_TARGETS is like "libfoo/install libbar/install" 17 | 18 | install-shared-libraries: $(SHLIB_INSTALL_TARGETS) 19 | 20 | $(SHLIB_INSTALL_TARGETS):%/install:%.$(SHLIB_SUFFIX) 21 | # $< is a library file name, e.g. libfoo.dll . 22 | $(INSTALL_SHLIB) $< $(DESTDIR)$(LIBINST_DIR)/$< 23 | -------------------------------------------------------------------------------- /stable/doc/CREDITS: -------------------------------------------------------------------------------- 1 | Funding for the project that created the original Xmlrpc-c was 2 | provided in part by the good folks at First Peer, Inc., producers of 3 | P2P applications. 4 | 5 | Eric Kidd developed the original Xmlrpc-c in 2000 and maintained it up 6 | through June 2001. 7 | 8 | Bryan Henderson took over as maintainer in October 2004. 9 | 10 | Xmlrpc-c contains (and relies on for some server functions) a derivation 11 | of the Abyss web server by Moez Mahfoudh. 12 | 13 | Xmlrpc-c contains (and relies on) a derivation of the Expat XML 14 | parser, written by James Clark. 15 | 16 | The base64 code was derived from what Jack Jansen developed for Python. 17 | 18 | For more history, including credits for more minor contributions, see 19 | the HISTORY file. 20 | -------------------------------------------------------------------------------- /trunk/dll-common.mk: -------------------------------------------------------------------------------- 1 | # -*-makefile-*- <-- an Emacs control 2 | 3 | # See unix-common.mk for an explanation of this file. This file is 4 | # analogous to unix-common.mk, but is for a Windows system 5 | 6 | SONAME = $@ 7 | IMPLIB = $(@:%:%.dll.a) 8 | 9 | SHLIB_CMD = $(CCLD) $(LDFLAGS_SHLIB) -o $@ $^ $(LADD) 10 | 11 | .PHONY: $(SHLIB_INSTALL_TARGETS) 12 | .PHONY: install-shared-libraries 13 | 14 | SHLIB_INSTALL_TARGETS = $(SHARED_LIBS_TO_INSTALL:%=%/install) 15 | 16 | #SHLIB_INSTALL_TARGETS is like "libfoo/install libbar/install" 17 | 18 | install-shared-libraries: $(SHLIB_INSTALL_TARGETS) 19 | 20 | $(SHLIB_INSTALL_TARGETS):%/install:%.$(SHLIB_SUFFIX) 21 | # $< is a library file name, e.g. libfoo.dll . 22 | $(INSTALL_SHLIB) $< $(DESTDIR)$(LIBINST_DIR)/$< 23 | -------------------------------------------------------------------------------- /trunk/doc/CREDITS: -------------------------------------------------------------------------------- 1 | Funding for the project that created the original Xmlrpc-c was 2 | provided in part by the good folks at First Peer, Inc., producers of 3 | P2P applications. 4 | 5 | Eric Kidd developed the original Xmlrpc-c in 2000 and maintained it up 6 | through June 2001. 7 | 8 | Bryan Henderson took over as maintainer in October 2004. 9 | 10 | Xmlrpc-c contains (and relies on for some server functions) a derivation 11 | of the Abyss web server by Moez Mahfoudh. 12 | 13 | Xmlrpc-c contains (and relies on) a derivation of the Expat XML 14 | parser, written by James Clark. 15 | 16 | The base64 code was derived from what Jack Jansen developed for Python. 17 | 18 | For more history, including credits for more minor contributions, see 19 | the HISTORY file. 20 | -------------------------------------------------------------------------------- /advanced/dll-common.mk: -------------------------------------------------------------------------------- 1 | # -*-makefile-*- <-- an Emacs control 2 | 3 | # See unix-common.mk for an explanation of this file. This file is 4 | # analogous to unix-common.mk, but is for a Windows system 5 | 6 | SONAME = $@ 7 | IMPLIB = $(@:%:%.dll.a) 8 | 9 | SHLIB_CMD = $(CCLD) $(LDFLAGS_SHLIB) -o $@ $^ $(LADD) 10 | 11 | .PHONY: $(SHLIB_INSTALL_TARGETS) 12 | .PHONY: install-shared-libraries 13 | 14 | SHLIB_INSTALL_TARGETS = $(SHARED_LIBS_TO_INSTALL:%=%/install) 15 | 16 | #SHLIB_INSTALL_TARGETS is like "libfoo/install libbar/install" 17 | 18 | install-shared-libraries: $(SHLIB_INSTALL_TARGETS) 19 | 20 | $(SHLIB_INSTALL_TARGETS):%/install:%.$(SHLIB_SUFFIX) 21 | # $< is a library file name, e.g. libfoo.dll . 22 | $(INSTALL_SHLIB) $< $(DESTDIR)$(LIBINST_DIR)/$< 23 | -------------------------------------------------------------------------------- /advanced/doc/CREDITS: -------------------------------------------------------------------------------- 1 | Funding for the project that created the original Xmlrpc-c was 2 | provided in part by the good folks at First Peer, Inc., producers of 3 | P2P applications. 4 | 5 | Eric Kidd developed the original Xmlrpc-c in 2000 and maintained it up 6 | through June 2001. 7 | 8 | Bryan Henderson took over as maintainer in October 2004. 9 | 10 | Xmlrpc-c contains (and relies on for some server functions) a derivation 11 | of the Abyss web server by Moez Mahfoudh. 12 | 13 | Xmlrpc-c contains (and relies on) a derivation of the Expat XML 14 | parser, written by James Clark. 15 | 16 | The base64 code was derived from what Jack Jansen developed for Python. 17 | 18 | For more history, including credits for more minor contributions, see 19 | the HISTORY file. 20 | -------------------------------------------------------------------------------- /advanced/tools/xmlrpc_cpp_proxy/proxyClass.hpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "xmlrpcMethod.hpp" 5 | 6 | class proxyClass { 7 | // An object of this class contains information about a proxy 8 | // class, and knows how to generate code. 9 | 10 | public: 11 | proxyClass(std::string const& className); 12 | 13 | proxyClass(proxyClass const&); 14 | 15 | std::string 16 | className() const; 17 | 18 | void 19 | addFunction(xmlrpcMethod const& function); 20 | 21 | void 22 | printDeclaration(std::ostream& out) const; 23 | 24 | void 25 | printDefinition(std::ostream& out) const; 26 | 27 | private: 28 | 29 | std::string const _className; 30 | 31 | std::vector functions; 32 | }; 33 | -------------------------------------------------------------------------------- /stable/test/xml_data.h: -------------------------------------------------------------------------------- 1 | #ifndef XML_DATA_H_INCLUDED 2 | #define XML_DATA_H_INCLUDED 3 | 4 | #define XML_PROLOGUE "\r\n" 5 | 6 | #define APACHE_URL "http://ws.apache.org/xmlrpc/namespaces/extensions" 7 | #define XMLNS_APACHE "xmlns:ex=\"" APACHE_URL "\"" 8 | 9 | extern char const serialized_data[]; 10 | 11 | extern char const serialized_call[]; 12 | 13 | extern char const serialized_fault[]; 14 | 15 | extern char const expat_data[]; 16 | extern char const expat_error_data[]; 17 | 18 | extern char const good_response_xml[]; 19 | 20 | extern char const unparseable_value[]; 21 | 22 | extern const char *(bad_values[]); 23 | 24 | extern const char *(bad_responses[]); 25 | 26 | extern const char *(bad_calls[]); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /stable/tools/xmlrpc_cpp_proxy/proxyClass.hpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "xmlrpcMethod.hpp" 5 | 6 | class proxyClass { 7 | // An object of this class contains information about a proxy 8 | // class, and knows how to generate code. 9 | 10 | public: 11 | proxyClass(std::string const& className); 12 | 13 | proxyClass(proxyClass const&); 14 | 15 | std::string 16 | className() const; 17 | 18 | void 19 | addFunction(xmlrpcMethod const& function); 20 | 21 | void 22 | printDeclaration(std::ostream& out) const; 23 | 24 | void 25 | printDefinition(std::ostream& out) const; 26 | 27 | private: 28 | 29 | std::string const _className; 30 | 31 | std::vector functions; 32 | }; 33 | -------------------------------------------------------------------------------- /trunk/test/xml_data.h: -------------------------------------------------------------------------------- 1 | #ifndef XML_DATA_H_INCLUDED 2 | #define XML_DATA_H_INCLUDED 3 | 4 | #define XML_PROLOGUE "\r\n" 5 | 6 | #define APACHE_URL "http://ws.apache.org/xmlrpc/namespaces/extensions" 7 | #define XMLNS_APACHE "xmlns:ex=\"" APACHE_URL "\"" 8 | 9 | extern char const serialized_data[]; 10 | 11 | extern char const serialized_call[]; 12 | 13 | extern char const serialized_fault[]; 14 | 15 | extern char const expat_data[]; 16 | extern char const expat_error_data[]; 17 | 18 | extern char const good_response_xml[]; 19 | 20 | extern char const unparseable_value[]; 21 | 22 | extern const char *(bad_values[]); 23 | 24 | extern const char *(bad_responses[]); 25 | 26 | extern const char *(bad_calls[]); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /trunk/tools/xmlrpc_cpp_proxy/proxyClass.hpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "xmlrpcMethod.hpp" 5 | 6 | class proxyClass { 7 | // An object of this class contains information about a proxy 8 | // class, and knows how to generate code. 9 | 10 | public: 11 | proxyClass(std::string const& className); 12 | 13 | proxyClass(proxyClass const&); 14 | 15 | std::string 16 | className() const; 17 | 18 | void 19 | addFunction(xmlrpcMethod const& function); 20 | 21 | void 22 | printDeclaration(std::ostream& out) const; 23 | 24 | void 25 | printDefinition(std::ostream& out) const; 26 | 27 | private: 28 | 29 | std::string const _className; 30 | 31 | std::vector functions; 32 | }; 33 | -------------------------------------------------------------------------------- /advanced/test/xml_data.h: -------------------------------------------------------------------------------- 1 | #ifndef XML_DATA_H_INCLUDED 2 | #define XML_DATA_H_INCLUDED 3 | 4 | #define XML_PROLOGUE "\r\n" 5 | 6 | #define APACHE_URL "http://ws.apache.org/xmlrpc/namespaces/extensions" 7 | #define XMLNS_APACHE "xmlns:ex=\"" APACHE_URL "\"" 8 | 9 | extern char const serialized_data[]; 10 | 11 | extern char const serialized_call[]; 12 | 13 | extern char const serialized_fault[]; 14 | 15 | extern char const expat_data[]; 16 | extern char const expat_error_data[]; 17 | 18 | extern char const good_response_xml[]; 19 | 20 | extern char const unparseable_value[]; 21 | 22 | extern const char *(bad_values[]); 23 | 24 | extern const char *(bad_responses[]); 25 | 26 | extern const char *(bad_calls[]); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /stable/lib/abyss++/AbyssEnvironment.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #include "xmlrpc-c/girerr.hpp" 6 | using girerr::throwf; 7 | #include "xmlrpc-c/string_int.h" 8 | #include "xmlrpc-c/abyss.h" 9 | 10 | #include "xmlrpc-c/AbyssEnvironment.hpp" 11 | 12 | 13 | 14 | namespace xmlrpc_c { 15 | 16 | 17 | 18 | AbyssEnvironment::AbyssEnvironment() { 19 | 20 | const char * error; 21 | 22 | AbyssInit(&error); 23 | 24 | if (error) { 25 | string const errorStr(error); 26 | 27 | xmlrpc_strfree(error); 28 | 29 | throwf("AbyssInit() failed. %s", errorStr.c_str()); 30 | } 31 | } 32 | 33 | 34 | 35 | AbyssEnvironment::~AbyssEnvironment() { 36 | 37 | AbyssTerm(); 38 | } 39 | 40 | 41 | 42 | } // namespace 43 | -------------------------------------------------------------------------------- /trunk/lib/abyss++/AbyssEnvironment.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #include "xmlrpc-c/girerr.hpp" 6 | using girerr::throwf; 7 | #include "xmlrpc-c/string_int.h" 8 | #include "xmlrpc-c/abyss.h" 9 | 10 | #include "xmlrpc-c/AbyssEnvironment.hpp" 11 | 12 | 13 | 14 | namespace xmlrpc_c { 15 | 16 | 17 | 18 | AbyssEnvironment::AbyssEnvironment() { 19 | 20 | const char * error; 21 | 22 | AbyssInit(&error); 23 | 24 | if (error) { 25 | string const errorStr(error); 26 | 27 | xmlrpc_strfree(error); 28 | 29 | throwf("AbyssInit() failed. %s", errorStr.c_str()); 30 | } 31 | } 32 | 33 | 34 | 35 | AbyssEnvironment::~AbyssEnvironment() { 36 | 37 | AbyssTerm(); 38 | } 39 | 40 | 41 | 42 | } // namespace 43 | -------------------------------------------------------------------------------- /advanced/lib/abyss++/AbyssEnvironment.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | #include "xmlrpc-c/girerr.hpp" 6 | using girerr::throwf; 7 | #include "xmlrpc-c/string_int.h" 8 | #include "xmlrpc-c/abyss.h" 9 | 10 | #include "xmlrpc-c/AbyssEnvironment.hpp" 11 | 12 | 13 | 14 | namespace xmlrpc_c { 15 | 16 | 17 | 18 | AbyssEnvironment::AbyssEnvironment() { 19 | 20 | const char * error; 21 | 22 | AbyssInit(&error); 23 | 24 | if (error) { 25 | string const errorStr(error); 26 | 27 | xmlrpc_strfree(error); 28 | 29 | throwf("AbyssInit() failed. %s", errorStr.c_str()); 30 | } 31 | } 32 | 33 | 34 | 35 | AbyssEnvironment::~AbyssEnvironment() { 36 | 37 | AbyssTerm(); 38 | } 39 | 40 | 41 | 42 | } // namespace 43 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/sleep_int.h: -------------------------------------------------------------------------------- 1 | #ifndef SLEEP_INT_H_INCLUDED 2 | #define SLEEP_INT_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 12 | libxmlrpc_util. 13 | 14 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 15 | opposed to something that _uses_ libxmlrpc_util. 16 | */ 17 | #ifdef XMLRPC_BUILDING_UTIL 18 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 19 | #else 20 | #define XMLRPC_UTIL_EXPORTED 21 | #endif 22 | 23 | XMLRPC_UTIL_EXPORTED 24 | void 25 | xmlrpc_millisecond_sleep(unsigned int const milliseconds); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/sleep_int.h: -------------------------------------------------------------------------------- 1 | #ifndef SLEEP_INT_H_INCLUDED 2 | #define SLEEP_INT_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 12 | libxmlrpc_util. 13 | 14 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 15 | opposed to something that _uses_ libxmlrpc_util. 16 | */ 17 | #ifdef XMLRPC_BUILDING_UTIL 18 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 19 | #else 20 | #define XMLRPC_UTIL_EXPORTED 21 | #endif 22 | 23 | XMLRPC_UTIL_EXPORTED 24 | void 25 | xmlrpc_millisecond_sleep(unsigned int const milliseconds); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/sleep_int.h: -------------------------------------------------------------------------------- 1 | #ifndef SLEEP_INT_H_INCLUDED 2 | #define SLEEP_INT_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 12 | libxmlrpc_util. 13 | 14 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 15 | opposed to something that _uses_ libxmlrpc_util. 16 | */ 17 | #ifdef XMLRPC_BUILDING_UTIL 18 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 19 | #else 20 | #define XMLRPC_UTIL_EXPORTED 21 | #endif 22 | 23 | XMLRPC_UTIL_EXPORTED 24 | void 25 | xmlrpc_millisecond_sleep(unsigned int const milliseconds); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/http.h: -------------------------------------------------------------------------------- 1 | #ifndef HTTP_H_INCLUDED 2 | #define HTTP_H_INCLUDED 3 | 4 | #include 5 | #include "xmlrpc-c/abyss.h" 6 | 7 | const char * 8 | HTTPMethodName(TMethod const method); 9 | 10 | bool 11 | HTTPRequestHasValidUri(TSession * const sessionP); 12 | 13 | bool 14 | HTTPRequestHasValidUriPath(TSession * const sessionP); 15 | 16 | const char * 17 | HTTPReasonByStatus(uint16_t const code); 18 | 19 | bool 20 | HTTPWriteBodyChunk(TSession * const sessionP, 21 | const char * const buffer, 22 | uint32_t const len); 23 | 24 | bool 25 | HTTPWriteEndChunk(TSession * const sessionP); 26 | 27 | bool 28 | HTTPKeepalive(TSession * const sessionP); 29 | 30 | bool 31 | HTTPWriteContinue(TSession * const sessionP); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/http.h: -------------------------------------------------------------------------------- 1 | #ifndef HTTP_H_INCLUDED 2 | #define HTTP_H_INCLUDED 3 | 4 | #include 5 | #include "xmlrpc-c/abyss.h" 6 | 7 | const char * 8 | HTTPMethodName(TMethod const method); 9 | 10 | bool 11 | HTTPRequestHasValidUri(TSession * const sessionP); 12 | 13 | bool 14 | HTTPRequestHasValidUriPath(TSession * const sessionP); 15 | 16 | const char * 17 | HTTPReasonByStatus(uint16_t const code); 18 | 19 | bool 20 | HTTPWriteBodyChunk(TSession * const sessionP, 21 | const char * const buffer, 22 | uint32_t const len); 23 | 24 | bool 25 | HTTPWriteEndChunk(TSession * const sessionP); 26 | 27 | bool 28 | HTTPKeepalive(TSession * const sessionP); 29 | 30 | bool 31 | HTTPWriteContinue(TSession * const sessionP); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/http.h: -------------------------------------------------------------------------------- 1 | #ifndef HTTP_H_INCLUDED 2 | #define HTTP_H_INCLUDED 3 | 4 | #include 5 | #include "xmlrpc-c/abyss.h" 6 | 7 | const char * 8 | HTTPMethodName(TMethod const method); 9 | 10 | bool 11 | HTTPRequestHasValidUri(TSession * const sessionP); 12 | 13 | bool 14 | HTTPRequestHasValidUriPath(TSession * const sessionP); 15 | 16 | const char * 17 | HTTPReasonByStatus(uint16_t const code); 18 | 19 | bool 20 | HTTPWriteBodyChunk(TSession * const sessionP, 21 | const char * const buffer, 22 | uint32_t const len); 23 | 24 | bool 25 | HTTPWriteEndChunk(TSession * const sessionP); 26 | 27 | bool 28 | HTTPKeepalive(TSession * const sessionP); 29 | 30 | bool 31 | HTTPWriteContinue(TSession * const sessionP); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/lock_platform.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_PLATFORM_H_INCLUDED 2 | #define LOCK_PLATFORM_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | #include "xmlrpc-c/lock.h" 6 | 7 | /* 8 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 9 | libxmlrpc_util. 10 | 11 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 12 | opposed to something that _uses_ libxmlrpc_util. 13 | */ 14 | #ifdef XMLRPC_BUILDING_UTIL 15 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 16 | #else 17 | #define XMLRPC_UTIL_EXPORTED 18 | #endif 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | XMLRPC_UTIL_EXPORTED 25 | struct lock * 26 | xmlrpc_lock_create(void); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /stable/Makefile: -------------------------------------------------------------------------------- 1 | # The make files for this package exploit features of GNU Make that 2 | # other Makes do not have. Because it is a common mistake for users 3 | # to try to build with a different Make, we have this make file that 4 | # does nothing but tell the user to use GNU Make. 5 | 6 | # If the user were using GNU Make now, this file would not get used because 7 | # GNU Make uses a make file named "GNUmakefile" in preference to "Makefile" 8 | # if it exists. This package contains a "GNUmakefile". 9 | 10 | default: all 11 | 12 | all install clean dep depend: 13 | @echo "You must use GNU Make to build this. You are running some " 14 | @echo "other Make. GNU Make may be installed on your system with " 15 | @echo "the name 'gmake'. If not, see http://www.gnu.org/software ." 16 | @echo 17 | false 18 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/lock_platform.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_PLATFORM_H_INCLUDED 2 | #define LOCK_PLATFORM_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | #include "xmlrpc-c/lock.h" 6 | 7 | /* 8 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 9 | libxmlrpc_util. 10 | 11 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 12 | opposed to something that _uses_ libxmlrpc_util. 13 | */ 14 | #ifdef XMLRPC_BUILDING_UTIL 15 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 16 | #else 17 | #define XMLRPC_UTIL_EXPORTED 18 | #endif 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | XMLRPC_UTIL_EXPORTED 25 | struct lock * 26 | xmlrpc_lock_create(void); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /trunk/Makefile: -------------------------------------------------------------------------------- 1 | # The make files for this package exploit features of GNU Make that 2 | # other Makes do not have. Because it is a common mistake for users 3 | # to try to build with a different Make, we have this make file that 4 | # does nothing but tell the user to use GNU Make. 5 | 6 | # If the user were using GNU Make now, this file would not get used because 7 | # GNU Make uses a make file named "GNUmakefile" in preference to "Makefile" 8 | # if it exists. This package contains a "GNUmakefile". 9 | 10 | default: all 11 | 12 | all install clean dep depend: 13 | @echo "You must use GNU Make to build this. You are running some " 14 | @echo "other Make. GNU Make may be installed on your system with " 15 | @echo "the name 'gmake'. If not, see http://www.gnu.org/software ." 16 | @echo 17 | false 18 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/lock_platform.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_PLATFORM_H_INCLUDED 2 | #define LOCK_PLATFORM_H_INCLUDED 3 | 4 | #include "xmlrpc-c/c_util.h" /* For XMLRPC_DLLEXPORT */ 5 | #include "xmlrpc-c/lock.h" 6 | 7 | /* 8 | XMLRPC_UTIL_EXPORTED marks a symbol in this file that is exported from 9 | libxmlrpc_util. 10 | 11 | XMLRPC_BUILDING_UTIL says this compilation is part of libxmlrpc_util, as 12 | opposed to something that _uses_ libxmlrpc_util. 13 | */ 14 | #ifdef XMLRPC_BUILDING_UTIL 15 | #define XMLRPC_UTIL_EXPORTED XMLRPC_DLLEXPORT 16 | #else 17 | #define XMLRPC_UTIL_EXPORTED 18 | #endif 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | XMLRPC_UTIL_EXPORTED 25 | struct lock * 26 | xmlrpc_lock_create(void); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /advanced/Makefile: -------------------------------------------------------------------------------- 1 | # The make files for this package exploit features of GNU Make that 2 | # other Makes do not have. Because it is a common mistake for users 3 | # to try to build with a different Make, we have this make file that 4 | # does nothing but tell the user to use GNU Make. 5 | 6 | # If the user were using GNU Make now, this file would not get used because 7 | # GNU Make uses a make file named "GNUmakefile" in preference to "Makefile" 8 | # if it exists. This package contains a "GNUmakefile". 9 | 10 | default: all 11 | 12 | all install clean dep depend: 13 | @echo "You must use GNU Make to build this. You are running some " 14 | @echo "other Make. GNU Make may be installed on your system with " 15 | @echo "the name 'gmake'. If not, see http://www.gnu.org/software ." 16 | @echo 17 | false 18 | -------------------------------------------------------------------------------- /advanced/lib/abyss/src/handler.h: -------------------------------------------------------------------------------- 1 | #ifndef HANDLER_H_INCLUDED 2 | #define HANDLER_H_INCLUDED 3 | 4 | #include "bool.h" 5 | #include "xmlrpc-c/abyss.h" 6 | 7 | typedef struct BIHandler BIHandler; 8 | 9 | BIHandler * 10 | HandlerCreate(void); 11 | 12 | void 13 | HandlerDestroy(BIHandler * const handlerP); 14 | 15 | 16 | void 17 | HandlerSetMimeType(BIHandler * const handlerP, 18 | MIMEType * const mimeTypeP); 19 | 20 | void 21 | HandlerSetFilesPath(BIHandler * const handlerP, 22 | const char * const filesPath); 23 | 24 | void 25 | HandlerAddDefaultFN(BIHandler * const handlerP, 26 | const char * const fileName); 27 | 28 | abyss_bool 29 | HandlerDefaultBuiltin(TSession * const sessionP); 30 | 31 | extern size_t const HandlerDefaultBuiltinStack; 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /stable/lib/abyss/src/handler.h: -------------------------------------------------------------------------------- 1 | #ifndef HANDLER_H_INCLUDED 2 | #define HANDLER_H_INCLUDED 3 | 4 | #include "bool.h" 5 | #include "xmlrpc-c/abyss.h" 6 | 7 | typedef struct BIHandler BIHandler; 8 | 9 | BIHandler * 10 | HandlerCreate(void); 11 | 12 | void 13 | HandlerDestroy(BIHandler * const handlerP); 14 | 15 | 16 | void 17 | HandlerSetMimeType(BIHandler * const handlerP, 18 | MIMEType * const mimeTypeP); 19 | 20 | void 21 | HandlerSetFilesPath(BIHandler * const handlerP, 22 | const char * const filesPath); 23 | 24 | void 25 | HandlerAddDefaultFN(BIHandler * const handlerP, 26 | const char * const fileName); 27 | 28 | abyss_bool 29 | HandlerDefaultBuiltin(TSession * const sessionP); 30 | 31 | extern size_t const HandlerDefaultBuiltinStack; 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /trunk/lib/abyss/src/handler.h: -------------------------------------------------------------------------------- 1 | #ifndef HANDLER_H_INCLUDED 2 | #define HANDLER_H_INCLUDED 3 | 4 | #include "bool.h" 5 | #include "xmlrpc-c/abyss.h" 6 | 7 | typedef struct BIHandler BIHandler; 8 | 9 | BIHandler * 10 | HandlerCreate(void); 11 | 12 | void 13 | HandlerDestroy(BIHandler * const handlerP); 14 | 15 | 16 | void 17 | HandlerSetMimeType(BIHandler * const handlerP, 18 | MIMEType * const mimeTypeP); 19 | 20 | void 21 | HandlerSetFilesPath(BIHandler * const handlerP, 22 | const char * const filesPath); 23 | 24 | void 25 | HandlerAddDefaultFN(BIHandler * const handlerP, 26 | const char * const fileName); 27 | 28 | abyss_bool 29 | HandlerDefaultBuiltin(TSession * const sessionP); 30 | 31 | extern size_t const HandlerDefaultBuiltinStack; 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/lock.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_H_INCLUDED 2 | #define LOCK_H_INCLUDED 3 | 4 | struct lock; 5 | 6 | /* GCC 2.95.3 defines a function called 'lock', so we cannot 7 | typedef struct lock to 'lock' here. 8 | */ 9 | 10 | typedef void lockAcquireFn(struct lock *); 11 | typedef void lockReleaseFn(struct lock *); 12 | typedef void lockDestroyFn(struct lock *); 13 | 14 | struct lock { 15 | /* To finish the job of making an abstract lock class that can use locks 16 | other than pthread mutexes, we need to replace 'theLock' with a 17 | "void * implementationP" and make curlLock_create_pthread() malloc 18 | the mutex. 19 | */ 20 | void * implementationP; 21 | lockAcquireFn * acquire; 22 | lockReleaseFn * release; 23 | lockDestroyFn * destroy; 24 | }; 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/lock.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_H_INCLUDED 2 | #define LOCK_H_INCLUDED 3 | 4 | struct lock; 5 | 6 | /* GCC 2.95.3 defines a function called 'lock', so we cannot 7 | typedef struct lock to 'lock' here. 8 | */ 9 | 10 | typedef void lockAcquireFn(struct lock *); 11 | typedef void lockReleaseFn(struct lock *); 12 | typedef void lockDestroyFn(struct lock *); 13 | 14 | struct lock { 15 | /* To finish the job of making an abstract lock class that can use locks 16 | other than pthread mutexes, we need to replace 'theLock' with a 17 | "void * implementationP" and make curlLock_create_pthread() malloc 18 | the mutex. 19 | */ 20 | void * implementationP; 21 | lockAcquireFn * acquire; 22 | lockReleaseFn * release; 23 | lockDestroyFn * destroy; 24 | }; 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/lock.h: -------------------------------------------------------------------------------- 1 | #ifndef LOCK_H_INCLUDED 2 | #define LOCK_H_INCLUDED 3 | 4 | struct lock; 5 | 6 | /* GCC 2.95.3 defines a function called 'lock', so we cannot 7 | typedef struct lock to 'lock' here. 8 | */ 9 | 10 | typedef void lockAcquireFn(struct lock *); 11 | typedef void lockReleaseFn(struct lock *); 12 | typedef void lockDestroyFn(struct lock *); 13 | 14 | struct lock { 15 | /* To finish the job of making an abstract lock class that can use locks 16 | other than pthread mutexes, we need to replace 'theLock' with a 17 | "void * implementationP" and make curlLock_create_pthread() malloc 18 | the mutex. 19 | */ 20 | void * implementationP; 21 | lockAcquireFn * acquire; 22 | lockReleaseFn * release; 23 | lockDestroyFn * destroy; 24 | }; 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /advanced/lib/curl_transport/curlversion.h: -------------------------------------------------------------------------------- 1 | #ifndef CURLVERSION_H_INCLUDED 2 | #define CURLVERSION_H_INCLUDED 3 | 4 | #define CMAJOR LIBCURL_VERSION_MAJOR 5 | #define CMINOR LIBCURL_VERSION_MINOR 6 | #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 10) 7 | #define HAVE_CURL_NOSIGNAL 1 8 | #else 9 | #define HAVE_CURL_NOSIGNAL 0 10 | #endif 11 | #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 12) 12 | #define HAVE_CURL_STRERROR 1 13 | #else 14 | #define HAVE_CURL_STRERROR 0 15 | #endif 16 | 17 | #ifdef CURLGSSAPI_DELEGATION_FLAG 18 | #define HAVE_CURL_GSSAPI_DELEGATION 1 19 | #else 20 | #define HAVE_CURL_GSSAPI_DELEGATION 0 21 | #endif 22 | 23 | #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 25) 24 | #define HAVE_CURL_KEEPALIVE 1 25 | #else 26 | #define HAVE_CURL_KEEPALIVE 0 27 | #endif 28 | 29 | #undef CMAJOR 30 | #undef CMINOR 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /stable/lib/curl_transport/curlversion.h: -------------------------------------------------------------------------------- 1 | #ifndef CURLVERSION_H_INCLUDED 2 | #define CURLVERSION_H_INCLUDED 3 | 4 | #define CMAJOR LIBCURL_VERSION_MAJOR 5 | #define CMINOR LIBCURL_VERSION_MINOR 6 | #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 10) 7 | #define HAVE_CURL_NOSIGNAL 1 8 | #else 9 | #define HAVE_CURL_NOSIGNAL 0 10 | #endif 11 | #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 12) 12 | #define HAVE_CURL_STRERROR 1 13 | #else 14 | #define HAVE_CURL_STRERROR 0 15 | #endif 16 | 17 | #ifdef CURLGSSAPI_DELEGATION_FLAG 18 | #define HAVE_CURL_GSSAPI_DELEGATION 1 19 | #else 20 | #define HAVE_CURL_GSSAPI_DELEGATION 0 21 | #endif 22 | 23 | #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 25) 24 | #define HAVE_CURL_KEEPALIVE 1 25 | #else 26 | #define HAVE_CURL_KEEPALIVE 0 27 | #endif 28 | 29 | #undef CMAJOR 30 | #undef CMINOR 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /trunk/lib/curl_transport/curlversion.h: -------------------------------------------------------------------------------- 1 | #ifndef CURLVERSION_H_INCLUDED 2 | #define CURLVERSION_H_INCLUDED 3 | 4 | #define CMAJOR LIBCURL_VERSION_MAJOR 5 | #define CMINOR LIBCURL_VERSION_MINOR 6 | #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 10) 7 | #define HAVE_CURL_NOSIGNAL 1 8 | #else 9 | #define HAVE_CURL_NOSIGNAL 0 10 | #endif 11 | #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 12) 12 | #define HAVE_CURL_STRERROR 1 13 | #else 14 | #define HAVE_CURL_STRERROR 0 15 | #endif 16 | 17 | #ifdef CURLGSSAPI_DELEGATION_FLAG 18 | #define HAVE_CURL_GSSAPI_DELEGATION 1 19 | #else 20 | #define HAVE_CURL_GSSAPI_DELEGATION 0 21 | #endif 22 | 23 | #if CMAJOR > 7 || (CMAJOR == 7 && CMINOR >= 25) 24 | #define HAVE_CURL_KEEPALIVE 1 25 | #else 26 | #define HAVE_CURL_KEEPALIVE 0 27 | #endif 28 | 29 | #undef CMAJOR 30 | #undef CMINOR 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /trunk/src/resource.c: -------------------------------------------------------------------------------- 1 | #include "xmlrpc_config.h" 2 | 3 | #include "xmlrpc-c/base.h" 4 | 5 | 6 | /*========================================================================= 7 | ** Resource Limits 8 | **========================================================================= 9 | */ 10 | 11 | static size_t limits[XMLRPC_LAST_LIMIT_ID + 1] = { 12 | XMLRPC_NESTING_LIMIT_DEFAULT, 13 | XMLRPC_XML_SIZE_LIMIT_DEFAULT 14 | }; 15 | 16 | void 17 | xmlrpc_limit_set (int const limit_id, 18 | size_t const value) { 19 | 20 | XMLRPC_ASSERT(0 <= limit_id && limit_id <= XMLRPC_LAST_LIMIT_ID); 21 | limits[limit_id] = value; 22 | } 23 | 24 | 25 | 26 | size_t 27 | xmlrpc_limit_get(int const limit_id) { 28 | 29 | XMLRPC_ASSERT(0 <= limit_id && limit_id <= XMLRPC_LAST_LIMIT_ID); 30 | return limits[limit_id]; 31 | } 32 | -------------------------------------------------------------------------------- /advanced/src/resource.c: -------------------------------------------------------------------------------- 1 | #include "xmlrpc_config.h" 2 | 3 | #include "xmlrpc-c/base.h" 4 | 5 | 6 | /*========================================================================= 7 | ** Resource Limits 8 | **========================================================================= 9 | */ 10 | 11 | static size_t limits[XMLRPC_LAST_LIMIT_ID + 1] = { 12 | XMLRPC_NESTING_LIMIT_DEFAULT, 13 | XMLRPC_XML_SIZE_LIMIT_DEFAULT 14 | }; 15 | 16 | void 17 | xmlrpc_limit_set (int const limit_id, 18 | size_t const value) { 19 | 20 | XMLRPC_ASSERT(0 <= limit_id && limit_id <= XMLRPC_LAST_LIMIT_ID); 21 | limits[limit_id] = value; 22 | } 23 | 24 | 25 | 26 | size_t 27 | xmlrpc_limit_get(int const limit_id) { 28 | 29 | XMLRPC_ASSERT(0 <= limit_id && limit_id <= XMLRPC_LAST_LIMIT_ID); 30 | return limits[limit_id]; 31 | } 32 | -------------------------------------------------------------------------------- /stable/src/resource.c: -------------------------------------------------------------------------------- 1 | #include "xmlrpc_config.h" 2 | 3 | #include "xmlrpc-c/base.h" 4 | 5 | 6 | /*========================================================================= 7 | ** Resource Limits 8 | **========================================================================= 9 | */ 10 | 11 | static size_t limits[XMLRPC_LAST_LIMIT_ID + 1] = { 12 | XMLRPC_NESTING_LIMIT_DEFAULT, 13 | XMLRPC_XML_SIZE_LIMIT_DEFAULT 14 | }; 15 | 16 | void 17 | xmlrpc_limit_set (int const limit_id, 18 | size_t const value) { 19 | 20 | XMLRPC_ASSERT(0 <= limit_id && limit_id <= XMLRPC_LAST_LIMIT_ID); 21 | limits[limit_id] = value; 22 | } 23 | 24 | 25 | 26 | size_t 27 | xmlrpc_limit_get(int const limit_id) { 28 | 29 | XMLRPC_ASSERT(0 <= limit_id && limit_id <= XMLRPC_LAST_LIMIT_ID); 30 | return limits[limit_id]; 31 | } 32 | -------------------------------------------------------------------------------- /stable/include/xmlrpc-c/AbyssChanSwitchUnix.hpp: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | AbyssChanSwitchUnix.hpp 3 | ============================================================================== 4 | 5 | This declares class AbyssChanSwitchUnix, which provides communication 6 | facilities for use with an AbyssServer object that uses Unix sockets. 7 | 8 | ============================================================================*/ 9 | #ifndef ABYSS_CHAN_SWITCH_UNIX_HPP_INCLUDED 10 | #define ABYSS_CHAN_SWITCH_UNIX_HPP_INCLUDED 11 | 12 | #include 13 | 14 | namespace xmlrpc_c { 15 | 16 | class AbyssChanSwitchUnix : public AbyssChanSwitch { 17 | 18 | public: 19 | AbyssChanSwitchUnix(unsigned short const listenPortNum); 20 | }; 21 | 22 | } // namespace 23 | #endif 24 | -------------------------------------------------------------------------------- /trunk/include/xmlrpc-c/AbyssChanSwitchUnix.hpp: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | AbyssChanSwitchUnix.hpp 3 | ============================================================================== 4 | 5 | This declares class AbyssChanSwitchUnix, which provides communication 6 | facilities for use with an AbyssServer object that uses Unix sockets. 7 | 8 | ============================================================================*/ 9 | #ifndef ABYSS_CHAN_SWITCH_UNIX_HPP_INCLUDED 10 | #define ABYSS_CHAN_SWITCH_UNIX_HPP_INCLUDED 11 | 12 | #include 13 | 14 | namespace xmlrpc_c { 15 | 16 | class AbyssChanSwitchUnix : public AbyssChanSwitch { 17 | 18 | public: 19 | AbyssChanSwitchUnix(unsigned short const listenPortNum); 20 | }; 21 | 22 | } // namespace 23 | #endif 24 | -------------------------------------------------------------------------------- /advanced/include/xmlrpc-c/AbyssChanSwitchUnix.hpp: -------------------------------------------------------------------------------- 1 | /*============================================================================ 2 | AbyssChanSwitchUnix.hpp 3 | ============================================================================== 4 | 5 | This declares class AbyssChanSwitchUnix, which provides communication 6 | facilities for use with an AbyssServer object that uses Unix sockets. 7 | 8 | ============================================================================*/ 9 | #ifndef ABYSS_CHAN_SWITCH_UNIX_HPP_INCLUDED 10 | #define ABYSS_CHAN_SWITCH_UNIX_HPP_INCLUDED 11 | 12 | #include 13 | 14 | namespace xmlrpc_c { 15 | 16 | class AbyssChanSwitchUnix : public AbyssChanSwitch { 17 | 18 | public: 19 | AbyssChanSwitchUnix(unsigned short const listenPortNum); 20 | }; 21 | 22 | } // namespace 23 | #endif 24 | -------------------------------------------------------------------------------- /trunk/lib/util/include/assertx.hpp: -------------------------------------------------------------------------------- 1 | #ifndef ASSERTX_HPP_INCLUDED 2 | #define ASSERTX_HPP_INCLUDED 3 | 4 | #include 5 | 6 | /* The compiler often warns you if you give a function formal parameter a 7 | name, but don't use it. But because assert() disappears when doing an 8 | optimized build, the compiler doesn't recognize your reference to the 9 | parameter in the assert() argument. To avoid the bogus warning in 10 | this case, we have ASSERT_ONLY_ARG(), which declares a name for a 11 | formal parameter for purposes of assert() only. In cases where an 12 | assert() would disappear, ASSERT_ONLY_ARG() disappears too. 13 | 14 | E.g. 15 | 16 | void foo(int const ASSERT_ONLY_ARG(arg1)) { 17 | 18 | assert(arg1 > 0); 19 | } 20 | */ 21 | #ifdef NDEBUG 22 | #define ASSERT_ONLY_ARG(x) 23 | #else 24 | #define ASSERT_ONLY_ARG(x) x 25 | #endif 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /trunk/src/cpp/fault.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "xmlrpc-c/girerr.hpp" 4 | using girerr::error; 5 | #include "xmlrpc-c/base.hpp" 6 | 7 | using namespace std; 8 | 9 | namespace xmlrpc_c { 10 | 11 | fault::fault() : valid(false) {}; 12 | 13 | fault::fault(string const _description, 14 | xmlrpc_c::fault::code_t const _code 15 | ) : 16 | valid(true), 17 | code(_code), 18 | description(_description) 19 | {} 20 | 21 | xmlrpc_c::fault::code_t 22 | fault::getCode() const { 23 | if (!valid) 24 | throw(error("Attempt to access placeholder xmlrpc_c::fault object")); 25 | return this->code; 26 | } 27 | 28 | string 29 | fault::getDescription() const { 30 | if (!valid) 31 | throw(error("Attempt to access placeholder xmlrpc_c::fault object")); 32 | return this->description; 33 | } 34 | 35 | } // namespace 36 | -------------------------------------------------------------------------------- /advanced/lib/util/include/assertx.hpp: -------------------------------------------------------------------------------- 1 | #ifndef ASSERTX_HPP_INCLUDED 2 | #define ASSERTX_HPP_INCLUDED 3 | 4 | #include 5 | 6 | /* The compiler often warns you if you give a function formal parameter a 7 | name, but don't use it. But because assert() disappears when doing an 8 | optimized build, the compiler doesn't recognize your reference to the 9 | parameter in the assert() argument. To avoid the bogus warning in 10 | this case, we have ASSERT_ONLY_ARG(), which declares a name for a 11 | formal parameter for purposes of assert() only. In cases where an 12 | assert() would disappear, ASSERT_ONLY_ARG() disappears too. 13 | 14 | E.g. 15 | 16 | void foo(int const ASSERT_ONLY_ARG(arg1)) { 17 | 18 | assert(arg1 > 0); 19 | } 20 | */ 21 | #ifdef NDEBUG 22 | #define ASSERT_ONLY_ARG(x) 23 | #else 24 | #define ASSERT_ONLY_ARG(x) x 25 | #endif 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /advanced/src/cpp/fault.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "xmlrpc-c/girerr.hpp" 4 | using girerr::error; 5 | #include "xmlrpc-c/base.hpp" 6 | 7 | using namespace std; 8 | 9 | namespace xmlrpc_c { 10 | 11 | fault::fault() : valid(false) {}; 12 | 13 | fault::fault(string const _description, 14 | xmlrpc_c::fault::code_t const _code 15 | ) : 16 | valid(true), 17 | code(_code), 18 | description(_description) 19 | {} 20 | 21 | xmlrpc_c::fault::code_t 22 | fault::getCode() const { 23 | if (!valid) 24 | throw(error("Attempt to access placeholder xmlrpc_c::fault object")); 25 | return this->code; 26 | } 27 | 28 | string 29 | fault::getDescription() const { 30 | if (!valid) 31 | throw(error("Attempt to access placeholder xmlrpc_c::fault object")); 32 | return this->description; 33 | } 34 | 35 | } // namespace 36 | -------------------------------------------------------------------------------- /stable/lib/abyss/Makefile: -------------------------------------------------------------------------------- 1 | ifeq ($(SRCDIR),) 2 | updir = $(shell echo $(dir $(1)) | sed 's/.$$//') 3 | LIBDIR := $(call updir,$(CURDIR)) 4 | SRCDIR := $(call updir,$(LIBDIR)) 5 | BLDDIR := $(SRCDIR) 6 | endif 7 | SUBDIR := lib/abyss 8 | 9 | include $(BLDDIR)/config.mk 10 | 11 | SUBDIRS = src 12 | 13 | default: all 14 | 15 | .PHONY: all 16 | all: $(SUBDIRS:%=%/all) 17 | 18 | .PHONY: clean 19 | clean: $(SUBDIRS:%=%/clean) clean-common 20 | 21 | .PHONY: distclean 22 | distclean: $(SUBDIRS:%=%/distclean) distclean-common 23 | 24 | .PHONY: tags 25 | tags: $(SUBDIRS:%=%/tags) TAGS 26 | 27 | DISTFILES = 28 | 29 | .PHONY: distdir 30 | distdir: distdir-common 31 | 32 | .PHONY: install 33 | install: $(SUBDIRS:%=%/install) 34 | 35 | .PHONY: uninstall 36 | uninstall: $(SUBDIRS:%=%/uninstall) 37 | 38 | .PHONY: dep 39 | dep: $(SUBDIRS:%=%/dep) 40 | 41 | include $(SRCDIR)/common.mk 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /stable/lib/expat/xmltok/xmltok_impl.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | enum { 7 | BT_NONXML, 8 | BT_MALFORM, 9 | BT_LT, 10 | BT_AMP, 11 | BT_RSQB, 12 | BT_LEAD2, 13 | BT_LEAD3, 14 | BT_LEAD4, 15 | BT_TRAIL, 16 | BT_CR, 17 | BT_LF, 18 | BT_GT, 19 | BT_QUOT, 20 | BT_APOS, 21 | BT_EQUALS, 22 | BT_QUEST, 23 | BT_EXCL, 24 | BT_SOL, 25 | BT_SEMI, 26 | BT_NUM, 27 | BT_LSQB, 28 | BT_S, 29 | BT_NMSTRT, 30 | BT_COLON, 31 | BT_HEX, 32 | BT_DIGIT, 33 | BT_NAME, 34 | BT_MINUS, 35 | BT_OTHER, /* known not to be a name or name start character */ 36 | BT_NONASCII, /* might be a name or name start character */ 37 | BT_PERCNT, 38 | BT_LPAR, 39 | BT_RPAR, 40 | BT_AST, 41 | BT_PLUS, 42 | BT_COMMA, 43 | BT_VERBAR 44 | }; 45 | 46 | #include 47 | -------------------------------------------------------------------------------- /stable/lib/util/include/assertx.hpp: -------------------------------------------------------------------------------- 1 | #ifndef ASSERTX_HPP_INCLUDED 2 | #define ASSERTX_HPP_INCLUDED 3 | 4 | #include 5 | 6 | /* The compiler often warns you if you give a function formal parameter a 7 | name, but don't use it. But because assert() disappears when doing an 8 | optimized build, the compiler doesn't recognize your reference to the 9 | parameter in the assert() argument. To avoid the bogus warning in 10 | this case, we have ASSERT_ONLY_ARG(), which declares a name for a 11 | formal parameter for purposes of assert() only. In cases where an 12 | assert() would disappear, ASSERT_ONLY_ARG() disappears too. 13 | 14 | E.g. 15 | 16 | void foo(int const ASSERT_ONLY_ARG(arg1)) { 17 | 18 | assert(arg1 > 0); 19 | } 20 | */ 21 | #ifdef NDEBUG 22 | #define ASSERT_ONLY_ARG(x) 23 | #else 24 | #define ASSERT_ONLY_ARG(x) x 25 | #endif 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /stable/src/cpp/fault.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "xmlrpc-c/girerr.hpp" 4 | using girerr::error; 5 | #include "xmlrpc-c/base.hpp" 6 | 7 | using namespace std; 8 | 9 | namespace xmlrpc_c { 10 | 11 | fault::fault() : valid(false) {}; 12 | 13 | fault::fault(string const _description, 14 | xmlrpc_c::fault::code_t const _code 15 | ) : 16 | valid(true), 17 | code(_code), 18 | description(_description) 19 | {} 20 | 21 | xmlrpc_c::fault::code_t 22 | fault::getCode() const { 23 | if (!valid) 24 | throw(error("Attempt to access placeholder xmlrpc_c::fault object")); 25 | return this->code; 26 | } 27 | 28 | string 29 | fault::getDescription() const { 30 | if (!valid) 31 | throw(error("Attempt to access placeholder xmlrpc_c::fault object")); 32 | return this->description; 33 | } 34 | 35 | } // namespace 36 | -------------------------------------------------------------------------------- /stable/test/cpp/abyss_dummy.cpp: -------------------------------------------------------------------------------- 1 | /*============================================================================= 2 | abyss_dummy 3 | =============================================================================== 4 | This is a substitute for abyss.cpp, for use in a test program that is 5 | not linked with the Abyss libraries. 6 | 7 | It simply passes the test. 8 | =============================================================================*/ 9 | 10 | #include 11 | #include 12 | 13 | #include "tools.hpp" 14 | #include "abyss.hpp" 15 | 16 | using namespace std; 17 | 18 | string 19 | abyssTestSuite::suiteName() { 20 | return "abyssTestSuite"; 21 | } 22 | 23 | 24 | void 25 | abyssTestSuite::runtests(unsigned int const indentation) { 26 | 27 | cout << string((indentation+1)*2, ' ') 28 | << "Running dummy test." << endl; 29 | } 30 | -------------------------------------------------------------------------------- /trunk/lib/abyss/Makefile: -------------------------------------------------------------------------------- 1 | ifeq ($(SRCDIR),) 2 | updir = $(shell echo $(dir $(1)) | sed 's/.$$//') 3 | LIBDIR := $(call updir,$(CURDIR)) 4 | SRCDIR := $(call updir,$(LIBDIR)) 5 | BLDDIR := $(SRCDIR) 6 | endif 7 | SUBDIR := lib/abyss 8 | 9 | include $(BLDDIR)/config.mk 10 | 11 | SUBDIRS = src 12 | 13 | default: all 14 | 15 | .PHONY: all 16 | all: $(SUBDIRS:%=%/all) 17 | 18 | .PHONY: clean 19 | clean: $(SUBDIRS:%=%/clean) clean-common 20 | 21 | .PHONY: distclean 22 | distclean: $(SUBDIRS:%=%/distclean) distclean-common 23 | 24 | .PHONY: tags 25 | tags: $(SUBDIRS:%=%/tags) TAGS 26 | 27 | DISTFILES = 28 | 29 | .PHONY: distdir 30 | distdir: distdir-common 31 | 32 | .PHONY: install 33 | install: $(SUBDIRS:%=%/install) 34 | 35 | .PHONY: uninstall 36 | uninstall: $(SUBDIRS:%=%/uninstall) 37 | 38 | .PHONY: dep 39 | dep: $(SUBDIRS:%=%/dep) 40 | 41 | include $(SRCDIR)/common.mk 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /trunk/lib/expat/xmltok/xmltok_impl.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | enum { 7 | BT_NONXML, 8 | BT_MALFORM, 9 | BT_LT, 10 | BT_AMP, 11 | BT_RSQB, 12 | BT_LEAD2, 13 | BT_LEAD3, 14 | BT_LEAD4, 15 | BT_TRAIL, 16 | BT_CR, 17 | BT_LF, 18 | BT_GT, 19 | BT_QUOT, 20 | BT_APOS, 21 | BT_EQUALS, 22 | BT_QUEST, 23 | BT_EXCL, 24 | BT_SOL, 25 | BT_SEMI, 26 | BT_NUM, 27 | BT_LSQB, 28 | BT_S, 29 | BT_NMSTRT, 30 | BT_COLON, 31 | BT_HEX, 32 | BT_DIGIT, 33 | BT_NAME, 34 | BT_MINUS, 35 | BT_OTHER, /* known not to be a name or name start character */ 36 | BT_NONASCII, /* might be a name or name start character */ 37 | BT_PERCNT, 38 | BT_LPAR, 39 | BT_RPAR, 40 | BT_AST, 41 | BT_PLUS, 42 | BT_COMMA, 43 | BT_VERBAR 44 | }; 45 | 46 | #include 47 | -------------------------------------------------------------------------------- /trunk/test/cpp/abyss_dummy.cpp: -------------------------------------------------------------------------------- 1 | /*============================================================================= 2 | abyss_dummy 3 | =============================================================================== 4 | This is a substitute for abyss.cpp, for use in a test program that is 5 | not linked with the Abyss libraries. 6 | 7 | It simply passes the test. 8 | =============================================================================*/ 9 | 10 | #include 11 | #include 12 | 13 | #include "tools.hpp" 14 | #include "abyss.hpp" 15 | 16 | using namespace std; 17 | 18 | string 19 | abyssTestSuite::suiteName() { 20 | return "abyssTestSuite"; 21 | } 22 | 23 | 24 | void 25 | abyssTestSuite::runtests(unsigned int const indentation) { 26 | 27 | cout << string((indentation+1)*2, ' ') 28 | << "Running dummy test." << endl; 29 | } 30 | -------------------------------------------------------------------------------- /advanced/lib/abyss/Makefile: -------------------------------------------------------------------------------- 1 | ifeq ($(SRCDIR),) 2 | updir = $(shell echo $(dir $(1)) | sed 's/.$$//') 3 | LIBDIR := $(call updir,$(CURDIR)) 4 | SRCDIR := $(call updir,$(LIBDIR)) 5 | BLDDIR := $(SRCDIR) 6 | endif 7 | SUBDIR := lib/abyss 8 | 9 | include $(BLDDIR)/config.mk 10 | 11 | SUBDIRS = src 12 | 13 | default: all 14 | 15 | .PHONY: all 16 | all: $(SUBDIRS:%=%/all) 17 | 18 | .PHONY: clean 19 | clean: $(SUBDIRS:%=%/clean) clean-common 20 | 21 | .PHONY: distclean 22 | distclean: $(SUBDIRS:%=%/distclean) distclean-common 23 | 24 | .PHONY: tags 25 | tags: $(SUBDIRS:%=%/tags) TAGS 26 | 27 | DISTFILES = 28 | 29 | .PHONY: distdir 30 | distdir: distdir-common 31 | 32 | .PHONY: install 33 | install: $(SUBDIRS:%=%/install) 34 | 35 | .PHONY: uninstall 36 | uninstall: $(SUBDIRS:%=%/uninstall) 37 | 38 | .PHONY: dep 39 | dep: $(SUBDIRS:%=%/dep) 40 | 41 | include $(SRCDIR)/common.mk 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /advanced/lib/expat/xmltok/xmltok_impl.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd 3 | See the file copying.txt for copying permission. 4 | */ 5 | 6 | enum { 7 | BT_NONXML, 8 | BT_MALFORM, 9 | BT_LT, 10 | BT_AMP, 11 | BT_RSQB, 12 | BT_LEAD2, 13 | BT_LEAD3, 14 | BT_LEAD4, 15 | BT_TRAIL, 16 | BT_CR, 17 | BT_LF, 18 | BT_GT, 19 | BT_QUOT, 20 | BT_APOS, 21 | BT_EQUALS, 22 | BT_QUEST, 23 | BT_EXCL, 24 | BT_SOL, 25 | BT_SEMI, 26 | BT_NUM, 27 | BT_LSQB, 28 | BT_S, 29 | BT_NMSTRT, 30 | BT_COLON, 31 | BT_HEX, 32 | BT_DIGIT, 33 | BT_NAME, 34 | BT_MINUS, 35 | BT_OTHER, /* known not to be a name or name start character */ 36 | BT_NONASCII, /* might be a name or name start character */ 37 | BT_PERCNT, 38 | BT_LPAR, 39 | BT_RPAR, 40 | BT_AST, 41 | BT_PLUS, 42 | BT_COMMA, 43 | BT_VERBAR 44 | }; 45 | 46 | #include 47 | -------------------------------------------------------------------------------- /advanced/test/cpp/abyss_dummy.cpp: -------------------------------------------------------------------------------- 1 | /*============================================================================= 2 | abyss_dummy 3 | =============================================================================== 4 | This is a substitute for abyss.cpp, for use in a test program that is 5 | not linked with the Abyss libraries. 6 | 7 | It simply passes the test. 8 | =============================================================================*/ 9 | 10 | #include 11 | #include 12 | 13 | #include "tools.hpp" 14 | #include "abyss.hpp" 15 | 16 | using namespace std; 17 | 18 | string 19 | abyssTestSuite::suiteName() { 20 | return "abyssTestSuite"; 21 | } 22 | 23 | 24 | void 25 | abyssTestSuite::runtests(unsigned int const indentation) { 26 | 27 | cout << string((indentation+1)*2, ' ') 28 | << "Running dummy test." << endl; 29 | } 30 | -------------------------------------------------------------------------------- /stable/mkinstalldirs: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # mkinstalldirs --- make directory hierarchy 3 | # Author: Noah Friedman 4 | # Created: 1993-05-16 5 | # Public domain 6 | 7 | # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ 8 | 9 | errstatus=0 10 | 11 | for file 12 | do 13 | set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` 14 | shift 15 | 16 | pathcomp= 17 | for d 18 | do 19 | pathcomp="$pathcomp$d" 20 | case "$pathcomp" in 21 | -* ) pathcomp=./$pathcomp ;; 22 | esac 23 | 24 | if test ! -d "$pathcomp"; then 25 | echo "mkdir $pathcomp" 26 | 27 | mkdir "$pathcomp" || lasterr=$? 28 | 29 | if test ! -d "$pathcomp"; then 30 | errstatus=$lasterr 31 | fi 32 | fi 33 | 34 | pathcomp="$pathcomp/" 35 | done 36 | done 37 | 38 | exit $errstatus 39 | 40 | # mkinstalldirs ends here 41 | -------------------------------------------------------------------------------- /trunk/mkinstalldirs: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # mkinstalldirs --- make directory hierarchy 3 | # Author: Noah Friedman 4 | # Created: 1993-05-16 5 | # Public domain 6 | 7 | # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ 8 | 9 | errstatus=0 10 | 11 | for file 12 | do 13 | set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` 14 | shift 15 | 16 | pathcomp= 17 | for d 18 | do 19 | pathcomp="$pathcomp$d" 20 | case "$pathcomp" in 21 | -* ) pathcomp=./$pathcomp ;; 22 | esac 23 | 24 | if test ! -d "$pathcomp"; then 25 | echo "mkdir $pathcomp" 26 | 27 | mkdir "$pathcomp" || lasterr=$? 28 | 29 | if test ! -d "$pathcomp"; then 30 | errstatus=$lasterr 31 | fi 32 | fi 33 | 34 | pathcomp="$pathcomp/" 35 | done 36 | done 37 | 38 | exit $errstatus 39 | 40 | # mkinstalldirs ends here 41 | -------------------------------------------------------------------------------- /advanced/lib/util/include/string_parser.h: -------------------------------------------------------------------------------- 1 | #ifndef STRING_PARSER_H_INCLUDED 2 | #define STRING_PARSER_H_INCLUDED 3 | 4 | #include "int.h" 5 | 6 | void 7 | interpretUll(const char * const string, 8 | uint64_t * const ullP, 9 | const char ** const errorP); 10 | 11 | void 12 | interpretLl(const char * const string, 13 | int64_t * const llP, 14 | const char ** const errorP); 15 | 16 | void 17 | interpretUint(const char * const string, 18 | unsigned int * const uintP, 19 | const char ** const errorP); 20 | 21 | void 22 | interpretInt(const char * const string, 23 | int * const uintP, 24 | const char ** const errorP); 25 | 26 | void 27 | interpretBinUint(const char * const string, 28 | uint64_t * const valueP, 29 | const char ** const errorP); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /advanced/mkinstalldirs: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # mkinstalldirs --- make directory hierarchy 3 | # Author: Noah Friedman 4 | # Created: 1993-05-16 5 | # Public domain 6 | 7 | # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ 8 | 9 | errstatus=0 10 | 11 | for file 12 | do 13 | set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` 14 | shift 15 | 16 | pathcomp= 17 | for d 18 | do 19 | pathcomp="$pathcomp$d" 20 | case "$pathcomp" in 21 | -* ) pathcomp=./$pathcomp ;; 22 | esac 23 | 24 | if test ! -d "$pathcomp"; then 25 | echo "mkdir $pathcomp" 26 | 27 | mkdir "$pathcomp" || lasterr=$? 28 | 29 | if test ! -d "$pathcomp"; then 30 | errstatus=$lasterr 31 | fi 32 | fi 33 | 34 | pathcomp="$pathcomp/" 35 | done 36 | done 37 | 38 | exit $errstatus 39 | 40 | # mkinstalldirs ends here 41 | -------------------------------------------------------------------------------- /stable/lib/util/include/string_parser.h: -------------------------------------------------------------------------------- 1 | #ifndef STRING_PARSER_H_INCLUDED 2 | #define STRING_PARSER_H_INCLUDED 3 | 4 | #include "int.h" 5 | 6 | void 7 | interpretUll(const char * const string, 8 | uint64_t * const ullP, 9 | const char ** const errorP); 10 | 11 | void 12 | interpretLl(const char * const string, 13 | int64_t * const llP, 14 | const char ** const errorP); 15 | 16 | void 17 | interpretUint(const char * const string, 18 | unsigned int * const uintP, 19 | const char ** const errorP); 20 | 21 | void 22 | interpretInt(const char * const string, 23 | int * const uintP, 24 | const char ** const errorP); 25 | 26 | void 27 | interpretBinUint(const char * const string, 28 | uint64_t * const valueP, 29 | const char ** const errorP); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /trunk/lib/util/include/string_parser.h: -------------------------------------------------------------------------------- 1 | #ifndef STRING_PARSER_H_INCLUDED 2 | #define STRING_PARSER_H_INCLUDED 3 | 4 | #include "int.h" 5 | 6 | void 7 | interpretUll(const char * const string, 8 | uint64_t * const ullP, 9 | const char ** const errorP); 10 | 11 | void 12 | interpretLl(const char * const string, 13 | int64_t * const llP, 14 | const char ** const errorP); 15 | 16 | void 17 | interpretUint(const char * const string, 18 | unsigned int * const uintP, 19 | const char ** const errorP); 20 | 21 | void 22 | interpretInt(const char * const string, 23 | int * const uintP, 24 | const char ** const errorP); 25 | 26 | void 27 | interpretBinUint(const char * const string, 28 | uint64_t * const valueP, 29 | const char ** const errorP); 30 | 31 | #endif 32 | --------------------------------------------------------------------------------