xref: /PHP-5.5/ext/xmlrpc/php_xmlrpc.h (revision 73c1be26)
1 /*
2   This file is part of, or distributed with, libXMLRPC - a C library for
3   xml-encoded function calls.
4 
5   Author: Dan Libby (dan@libby.com)
6   Epinions.com may be contacted at feedback@epinions-inc.com
7 */
8 
9 /*
10   Copyright 2001 Epinions, Inc.
11 
12   Subject to the following 3 conditions, Epinions, Inc.  permits you, free
13   of charge, to (a) use, copy, distribute, modify, perform and display this
14   software and associated documentation files (the "Software"), and (b)
15   permit others to whom the Software is furnished to do so as well.
16 
17   1) The above copyright notice and this permission notice shall be included
18   without modification in all copies or substantial portions of the
19   Software.
20 
21   2) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF
22   ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY
23   IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR
24   PURPOSE OR NONINFRINGEMENT.
25 
26   3) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT,
27   SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
28   OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING
29   NEGLIGENCE), EVEN IF EPINIONS, INC.  IS AWARE OF THE POSSIBILITY OF SUCH
30   DAMAGES.
31 
32 */
33 
34 /* auto-generated portions of this file are also subject to the php license */
35 
36 /*
37    +----------------------------------------------------------------------+
38    | PHP Version 5                                                        |
39    +----------------------------------------------------------------------+
40    | Copyright (c) 1997-2015 The PHP Group                                |
41    +----------------------------------------------------------------------+
42    | This source file is subject to version 3.01 of the PHP license,      |
43    | that is bundled with this package in the file LICENSE, and is        |
44    | available through the world-wide-web at the following url:           |
45    | http://www.php.net/license/3_01.txt                                  |
46    | If you did not receive a copy of the PHP license and are unable to   |
47    | obtain it through the world-wide-web, please send a note to          |
48    | license@php.net so we can mail you a copy immediately.               |
49    +----------------------------------------------------------------------+
50    | Author: Dan Libby                                                    |
51    +----------------------------------------------------------------------+
52  */
53 
54 /* $Id$ */
55 
56 #ifndef _PHP_XMLRPC_H
57 #define _PHP_XMLRPC_H
58 
59 #if 1 /* HAVE_XMLRPC */
60 
61 extern zend_module_entry xmlrpc_module_entry;
62 #define phpext_xmlrpc_ptr &xmlrpc_module_entry
63 
64 PHP_MINIT_FUNCTION(xmlrpc);
65 PHP_MINFO_FUNCTION(xmlrpc);
66 
67 PHP_FUNCTION(xmlrpc_encode);
68 PHP_FUNCTION(xmlrpc_decode);
69 PHP_FUNCTION(xmlrpc_decode_request);
70 PHP_FUNCTION(xmlrpc_encode_request);
71 PHP_FUNCTION(xmlrpc_get_type);
72 PHP_FUNCTION(xmlrpc_set_type);
73 PHP_FUNCTION(xmlrpc_is_fault);
74 PHP_FUNCTION(xmlrpc_server_create);
75 PHP_FUNCTION(xmlrpc_server_destroy);
76 PHP_FUNCTION(xmlrpc_server_register_method);
77 PHP_FUNCTION(xmlrpc_server_call_method);
78 PHP_FUNCTION(xmlrpc_parse_method_descriptions);
79 PHP_FUNCTION(xmlrpc_server_add_introspection_data);
80 PHP_FUNCTION(xmlrpc_server_register_introspection_callback);
81 
82 #else
83 
84 #define phpext_xmlrpc_ptr NULL
85 
86 #endif
87 
88 #endif	/* _PHP_XMLRPC_H */
89 
90 
91 /*
92  * Local variables:
93  * tab-width: 4
94  * c-basic-offset: 4
95  * End:
96  */
97