mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
merged new xmlrpc-c revision 1472 from https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/trunk
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8545 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
@@ -6,6 +5,9 @@ using std::string;
|
||||
using std::ostream;
|
||||
|
||||
class XmlRpcFunction {
|
||||
// An object of this class contains everything we know about a
|
||||
// given XML-RPC method, and knows how to print local bindings.
|
||||
|
||||
string mFunctionName;
|
||||
string mMethodName;
|
||||
string mHelp;
|
||||
@@ -13,25 +15,25 @@ class XmlRpcFunction {
|
||||
|
||||
public:
|
||||
XmlRpcFunction(const string& function_name,
|
||||
const string& method_name,
|
||||
const string& help,
|
||||
XmlRpcValue synopsis);
|
||||
const string& method_name,
|
||||
const string& help,
|
||||
XmlRpcValue synopsis);
|
||||
|
||||
XmlRpcFunction (const XmlRpcFunction&);
|
||||
XmlRpcFunction& operator= (const XmlRpcFunction&);
|
||||
|
||||
void printDeclarations (ostream& out);
|
||||
void printDefinitions (ostream& out, const string& className);
|
||||
void printDeclarations (ostream& out) const;
|
||||
void printDefinitions (ostream& out, const string& className) const;
|
||||
|
||||
private:
|
||||
void printParameters (ostream& out, size_t synopsis_index);
|
||||
void printDeclaration (ostream& out, size_t synopsis_index);
|
||||
void printParameters (ostream& out, size_t synopsis_index) const;
|
||||
void printDeclaration (ostream& out, size_t synopsis_index) const;
|
||||
void printDefinition (ostream& out,
|
||||
const string& className,
|
||||
size_t synopsis_index);
|
||||
const string& className,
|
||||
size_t synopsis_index) const;
|
||||
|
||||
const DataType& returnType (size_t synopsis_index);
|
||||
size_t parameterCount (size_t synopsis_index);
|
||||
const DataType& returnType (size_t synopsis_index) const;
|
||||
size_t parameterCount (size_t synopsis_index) const;
|
||||
const DataType& parameterType (size_t synopsis_index,
|
||||
size_t parameter_index);
|
||||
size_t parameter_index) const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user