Logo Search packages:      
Sourcecode: gsoap version File versions

xml-rpc.h

/*

XML-RPC binding

--------------------------------------------------------------------------------
gSOAP XML Web services tools
Copyright (C) 2001-2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
This software is released under one of the following two licenses:
GPL or Genivia's license for commercial use.
--------------------------------------------------------------------------------
GPL license.

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA

Author contact information:
engelen@genivia.com / engelen@acm.org
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/

/// Scalar <boolean> element

typedef char            _boolean;   ///< boolean values are 0 (false) or 1 (true)

/// Scalar <double> element

typedef double          _double;    ///< double floating point value

/// Scalar <i4> element

typedef int       _i4;        ///< 32bit int value

/// Scalar <int> element

typedef int       _int;       ///< 32bit int value

/// Scalar <string> element

typedef char*           _string;    ///< string value

/// Scalar <dateTime.iso8601> element

typedef char*           _dateTime_DOTiso8601;   ///< ISO8601 date and time formatted string

/// <base64> binary data element

00059 struct _base64
00060 { unsigned char*  __ptr;            ///< pointer to raw binary data block
00061   int             __size;           ///< size of raw binary data block
};

/// <struct> element

00066 struct _struct
00067 { int             __size;           ///< number of members
00068   struct member*  member;           ///< pointer to member array
};

/// <array> element

00073 struct _array
00074 { int             __size;           ///< number of array elements
00075   struct value*         value;            ///< pointer to array elements
};

/// <value>

00080 struct value
00081 { int             __type;           ///< SOAP_TYPE_X
00082   void*                 ref;        ///< ref to data
00083   char*                 __any;            ///< <value> string content
};

/// <member>

00088 struct member
{ char*                 name;
  struct value          value;
};

/// <params>

00095 struct params
00096 { int             __size;           ///< number of parameters
00097   struct param*         param;            ///< pointer to array of parameters
};

/// <param>

00102 struct param
00103 { struct value          value;            ///< parameter value
};

/// <methodCall>

00108 struct methodCall
00109 { char*                 methodName; ///< name of the method
00110   struct params         params;           ///< method parameters
};

/// <methodResponse>
 
00115 struct methodResponse
00116 { struct params*  params;           ///< response parameters
00117   struct fault*         fault;            ///< response fault
};
  
/// <fault>

00122 struct fault
00123 { struct value          value;            ///< value of the fault
};

Generated by  Doxygen 1.6.0   Back to index