mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
FS-2746 --resolve large xmlrpc update thanks garmt
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user