Annotation of embedaddon/php/ext/xmlrpc/libxmlrpc/xmlrpc_introspection_private.h, revision 1.1

1.1     ! misho       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 __XI_INTROSPECTION_PRIVATE_H
        !            43: /*
        !            44:  * Avoid include redundancy.
        !            45:  */
        !            46: #define __XI_INTROSPECTION_PRIVATE_H
        !            47: 
        !            48: /*----------------------------------------------------------------------------
        !            49:  * xmlrpc_introspection_private.h
        !            50:  *
        !            51:  * Purpose:
        !            52:  *   define non-public introspection routines
        !            53:  * Comments:
        !            54:  */
        !            55: 
        !            56: /*----------------------------------------------------------------------------
        !            57:  * Constants
        !            58:  */
        !            59: #define xi_token_default                    "default"
        !            60: #define xi_token_description                "description"
        !            61: #define xi_token_name                       "name"
        !            62: #define xi_token_optional                   "optional"
        !            63: #define xi_token_params                     "params"
        !            64: #define xi_token_purpose                    "purpose"
        !            65: #define xi_token_returns                    "returns"
        !            66: #define xi_token_signatures                 "signatures"
        !            67: #define xi_token_type                       "type"
        !            68: #define xi_token_version                    "version"
        !            69: #define xi_token_empty                      ""
        !            70: #define xi_token_system_describe_methods    "system.describeMethods"
        !            71: #define xi_token_system_list_methods        "system.listMethods"
        !            72: #define xi_token_system_method_help         "system.methodHelp"
        !            73: #define xi_token_system_method_signature    "system.methodSignature"
        !            74: 
        !            75:  
        !            76: /*----------------------------------------------------------------------------
        !            77:  * Includes
        !            78:  */
        !            79: 
        !            80: /*----------------------------------------------------------------------------
        !            81:  * Structures
        !            82:  */
        !            83: typedef struct _doc_method {
        !            84:    XMLRPC_IntrospectionCallback         method;
        !            85:    int                                  b_called;
        !            86: } doc_method; 
        !            87:  
        !            88: /*----------------------------------------------------------------------------
        !            89:  * Globals
        !            90:  */
        !            91: 
        !            92: /*----------------------------------------------------------------------------
        !            93:  * Functions
        !            94:  */
        !            95: void xi_register_system_methods(XMLRPC_SERVER server);
        !            96:  
        !            97: /*----------------------------------------------------------------------------
        !            98:  * Macros
        !            99:  */
        !           100:  
        !           101: 
        !           102: #endif /* __XI_INTROSPECTION_PRIVATE_H */
        !           103: 
        !           104: 
        !           105: 
        !           106: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>