FS-2746 --resolve large xmlrpc update thanks garmt

This commit is contained in:
Jeff Lenk
2012-10-13 11:37:25 -05:00
parent 37ecad9903
commit 6b6c83a718
397 changed files with 41822 additions and 33841 deletions

View File

@@ -1,4 +1,22 @@
/* A simple standalone XML-RPC server written in C. */
/* A CGI script written in C to effect a simple XML-RPC server.
Example of use:
- Compile this as the executable 'xmlrpc_sample_add_server.cgi'
- Place the .cgi file in web server www.example.com's /cgi-bin
directory.
- Configure the web server to permit CGI scripts in /cgi-bin
(Apache ExecCgi directory option).
- Configure the web server to recognize this .cgi file as a CGI
script (Apache "AddHandler cgi-script ..." or ScriptAlias).
- $ xmlrpc http://www.example.com/cgi-bin/xmlrpc_sample_add_server.cgi \
sample.add i/5 i/7
*/
#include <stdlib.h>
#include <stdio.h>
@@ -12,7 +30,7 @@
static xmlrpc_value *
sample_add(xmlrpc_env * const envP,
xmlrpc_value * const paramArrayP,
void * const user_data ATTR_UNUSED) {
void * const user_data) {
xmlrpc_int32 x, y, z;