Back to index

php5  5.3.10
system_methods_private.h
Go to the documentation of this file.
00001 /*
00002   This file is part of libXMLRPC - a C library for xml-encoded function calls.
00003 
00004   Author: Dan Libby (dan@libby.com)
00005   Epinions.com may be contacted at feedback@epinions-inc.com
00006 */
00007 
00008 /*  
00009   Copyright 2001 Dan Libby, Epinions, Inc. 
00010 
00011   Subject to the following 3 conditions, Epinions, Inc.  permits you, free 
00012   of charge, to (a) use, copy, distribute, modify, perform and display this 
00013   software and associated documentation files (the "Software"), and (b) 
00014   permit others to whom the Software is furnished to do so as well.  
00015 
00016   1) The above copyright notice and this permission notice shall be included 
00017   without modification in all copies or substantial portions of the 
00018   Software.  
00019 
00020   2) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF 
00021   ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY 
00022   IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR 
00023   PURPOSE OR NONINFRINGEMENT.  
00024 
00025   3) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, 
00026   SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT 
00027   OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING 
00028   NEGLIGENCE), EVEN IF EPINIONS, INC.  IS AWARE OF THE POSSIBILITY OF SUCH 
00029   DAMAGES.    
00030 
00031 */
00032 
00033 /* IMPORTANT!
00034  *
00035  * only non-public things should be in this file.  It is fine for any .c file
00036  * in xmlrpc/src to include it, but users of the public API should never
00037  * include it, and thus *.h files that are part of the public API should
00038  * never include it, or they would break if this file is not present.
00039  */
00040 
00041 
00042 #ifndef __SYSTEM_METHODS_PRIVATE_H
00043 /*
00044  * Avoid include redundancy.
00045  */
00046 #define __SYSTEM_METHODS_PRIVATE_H
00047 
00048 /*----------------------------------------------------------------------------
00049  * system_methods_private.h
00050  *
00051  * Purpose:
00052  *   define non-public system.* methods
00053  * Comments:
00054  *   xsm = xmlrpc system methods
00055  */
00056 
00057 /*----------------------------------------------------------------------------
00058  * Constants
00059  */
00060 #define xsm_token_system_multicall "system.multiCall"
00061 #define xsm_token_system_get_capabilities "system.getCapabilities"
00062 
00063 
00064 /*----------------------------------------------------------------------------
00065  * Includes
00066  */
00067 
00068 /*----------------------------------------------------------------------------
00069  * Structures
00070  */
00071  
00072 /*----------------------------------------------------------------------------
00073  * Globals
00074  */
00075 
00076 /*----------------------------------------------------------------------------
00077  * Functions
00078  */
00079 void xsm_register(XMLRPC_SERVER server);
00080 int xsm_is_system_method(XMLRPC_Callback cb);
00081  
00082 /*----------------------------------------------------------------------------
00083  * Macros
00084  */
00085  
00086 
00087 #endif /* __SYSTEM_METHODS_PRIVATE_H */
00088 
00089 
00090 
00091