xref: /PHP-7.3/ext/xmlrpc/php_xmlrpc.h (revision 8d3f8ca1)
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 7                                                        |
39    +----------------------------------------------------------------------+
40    | Copyright (c) 1997-2018 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 #ifndef _PHP_XMLRPC_H
55 #define _PHP_XMLRPC_H
56 
57 #if 1 /* HAVE_XMLRPC */
58 
59 extern zend_module_entry xmlrpc_module_entry;
60 #define phpext_xmlrpc_ptr &xmlrpc_module_entry
61 
62 #include "php_version.h"
63 #define PHP_XMLRPC_VERSION PHP_VERSION
64 
65 PHP_MINIT_FUNCTION(xmlrpc);
66 PHP_MINFO_FUNCTION(xmlrpc);
67 
68 PHP_FUNCTION(xmlrpc_encode);
69 PHP_FUNCTION(xmlrpc_decode);
70 PHP_FUNCTION(xmlrpc_decode_request);
71 PHP_FUNCTION(xmlrpc_encode_request);
72 PHP_FUNCTION(xmlrpc_get_type);
73 PHP_FUNCTION(xmlrpc_set_type);
74 PHP_FUNCTION(xmlrpc_is_fault);
75 PHP_FUNCTION(xmlrpc_server_create);
76 PHP_FUNCTION(xmlrpc_server_destroy);
77 PHP_FUNCTION(xmlrpc_server_register_method);
78 PHP_FUNCTION(xmlrpc_server_call_method);
79 PHP_FUNCTION(xmlrpc_parse_method_descriptions);
80 PHP_FUNCTION(xmlrpc_server_add_introspection_data);
81 PHP_FUNCTION(xmlrpc_server_register_introspection_callback);
82 
83 #else
84 
85 #define phpext_xmlrpc_ptr NULL
86 
87 #endif
88 
89 #endif	/* _PHP_XMLRPC_H */
90 
91 
92 /*
93  * Local variables:
94  * tab-width: 4
95  * c-basic-offset: 4
96  * End:
97  */
98