xref: /PHP-7.2/ext/xmlrpc/php_xmlrpc.h (revision 7a7ec01a)
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 /* $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 #include "php_version.h"
65 #define PHP_XMLRPC_VERSION PHP_VERSION
66 
67 PHP_MINIT_FUNCTION(xmlrpc);
68 PHP_MINFO_FUNCTION(xmlrpc);
69 
70 PHP_FUNCTION(xmlrpc_encode);
71 PHP_FUNCTION(xmlrpc_decode);
72 PHP_FUNCTION(xmlrpc_decode_request);
73 PHP_FUNCTION(xmlrpc_encode_request);
74 PHP_FUNCTION(xmlrpc_get_type);
75 PHP_FUNCTION(xmlrpc_set_type);
76 PHP_FUNCTION(xmlrpc_is_fault);
77 PHP_FUNCTION(xmlrpc_server_create);
78 PHP_FUNCTION(xmlrpc_server_destroy);
79 PHP_FUNCTION(xmlrpc_server_register_method);
80 PHP_FUNCTION(xmlrpc_server_call_method);
81 PHP_FUNCTION(xmlrpc_parse_method_descriptions);
82 PHP_FUNCTION(xmlrpc_server_add_introspection_data);
83 PHP_FUNCTION(xmlrpc_server_register_introspection_callback);
84 
85 #else
86 
87 #define phpext_xmlrpc_ptr NULL
88 
89 #endif
90 
91 #endif	/* _PHP_XMLRPC_H */
92 
93 
94 /*
95  * Local variables:
96  * tab-width: 4
97  * c-basic-offset: 4
98  * End:
99  */
100