2 This file is part of libXMLRPC - a C library for xml-encoded function calls.
4 Author: Dan Libby (dan@libby.com)
5 Epinions.com may be contacted at feedback@epinions-inc.com
9 Copyright 2001 Dan Libby, Epinions, Inc.
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.
16 1) The above copyright notice and this permission notice shall be included
17 without modification in all copies or substantial portions of the
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.
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
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.
42 #ifndef __XI_INTROSPECTION_PRIVATE_H
44 * Avoid include redundancy.
46 #define __XI_INTROSPECTION_PRIVATE_H
48 /*----------------------------------------------------------------------------
49 * xmlrpc_introspection_private.h
52 * define non-public introspection routines
56 /*----------------------------------------------------------------------------
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"
76 /*----------------------------------------------------------------------------
80 /*----------------------------------------------------------------------------
83 typedef struct _doc_method {
84 XMLRPC_IntrospectionCallback method;
88 /*----------------------------------------------------------------------------
92 /*----------------------------------------------------------------------------
95 void xi_register_system_methods(XMLRPC_SERVER server);
97 /*----------------------------------------------------------------------------
102 #endif /* __XI_INTROSPECTION_PRIVATE_H */