1 /*
2   This file is part of libXMLRPC - a C library for xml-encoded function calls.
3 
4   Author: Dan Libby (dan@libby.com)
5   Epinions.com may be contacted at feedback@epinions-inc.com
6 */
7 
8 /*
9   Copyright 2001 Dan Libby, Epinions, Inc.
10 
11   Subject to the following 3 conditions, Epinions, Inc.  permits you, free
12   of charge, to (a) use, copy, distribute, modify, perform and display this
13   software and associated documentation files (the "Software"), and (b)
14   permit others to whom the Software is furnished to do so as well.
15 
16   1) The above copyright notice and this permission notice shall be included
17   without modification in all copies or substantial portions of the
18   Software.
19 
20   2) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF
21   ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY
22   IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR
23   PURPOSE OR NONINFRINGEMENT.
24 
25   3) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT,
26   SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
27   OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING
28   NEGLIGENCE), EVEN IF EPINIONS, INC.  IS AWARE OF THE POSSIBILITY OF SUCH
29   DAMAGES.
30 
31 */
32 
33 /* IMPORTANT!
34  *
35  * only non-public things should be in this file.  It is fine for any .c file
36  * in xmlrpc/src to include it, but users of the public API should never
37  * include it, and thus *.h files that are part of the public API should
38  * never include it, or they would break if this file is not present.
39  */
40 
41 
42 #ifndef __SYSTEM_METHODS_PRIVATE_H
43 /*
44  * Avoid include redundancy.
45  */
46 #define __SYSTEM_METHODS_PRIVATE_H
47 
48 /*----------------------------------------------------------------------------
49  * system_methods_private.h
50  *
51  * Purpose:
52  *   define non-public system.* methods
53  * Comments:
54  *   xsm = xmlrpc system methods
55  */
56 
57 /*----------------------------------------------------------------------------
58  * Constants
59  */
60 #define xsm_token_system_multicall "system.multiCall"
61 #define xsm_token_system_get_capabilities "system.getCapabilities"
62 
63 
64 /*----------------------------------------------------------------------------
65  * Includes
66  */
67 
68 /*----------------------------------------------------------------------------
69  * Structures
70  */
71 
72 /*----------------------------------------------------------------------------
73  * Globals
74  */
75 
76 /*----------------------------------------------------------------------------
77  * Functions
78  */
79 void xsm_register(XMLRPC_SERVER server);
80 int xsm_is_system_method(XMLRPC_Callback cb);
81 
82 /*----------------------------------------------------------------------------
83  * Macros
84  */
85 
86 
87 #endif /* __SYSTEM_METHODS_PRIVATE_H */
88