Initial commit.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmxmlrpc / xmlrpc_server_abyss_int.h
blob06cb17c458da5802544b3594cbf637812b52241d
1 /*============================================================================
2 xmlrpc_server_abyss_int.h
3 ==============================================================================
4 This header file defines the interface between client modules inside
5 xmlrpc-c.
7 Use this in addition to xmlrpc_server_abyss.h, which defines the external
8 interface.
10 Copyright information is at the end of the file.
11 ============================================================================*/
13 #ifndef _XMLRPC_SERVER_ABYSS_INT_H_
14 #define _XMLRPC_SERVER_ABYSS_INT_H_ 1
16 #include "abyss.h"
18 #ifdef __cplusplus
19 extern "C" {
20 #endif /* __cplusplus */
23 /*=========================================================================
24 ** Abyss Content Handlers
25 **=========================================================================
26 ** These are Abyss handlers. You install them into an Abyss server.
29 /* Handler for XML-RPC requests. Install this using ServerAddHandler
30 as the handler for all requests to /RPC2. This handler assumes that
31 it can read from the method registry without running into race
32 conditions or anything nasty like that.
34 extern xmlrpc_bool
35 xmlrpc_server_abyss_rpc2_handler (TSession *r);
37 /* A default handler. Install this as the default handler with
38 ServerDefaultHandler if you don't want to serve any HTML or
39 GIFs from your htdocs directory.
41 This handler always returns a "404 Not Found".
43 extern xmlrpc_bool
44 xmlrpc_server_abyss_default_handler (TSession *r);
49 /* Copyright (C) 2001 by First Peer, Inc. All rights reserved.
51 ** Redistribution and use in source and binary forms, with or without
52 ** modification, are permitted provided that the following conditions
53 ** are met:
54 ** 1. Redistributions of source code must retain the above copyright
55 ** notice, this list of conditions and the following disclaimer.
56 ** 2. Redistributions in binary form must reproduce the above copyright
57 ** notice, this list of conditions and the following disclaimer in the
58 ** documentation and/or other materials provided with the distribution.
59 ** 3. The name of the author may not be used to endorse or promote products
60 ** derived from this software without specific prior written permission.
61 **
62 ** THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
63 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
64 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
65 ** ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
66 ** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
67 ** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
68 ** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
69 ** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
70 ** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
71 ** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
72 ** SUCH DAMAGE. */
74 #ifdef __cplusplus
76 #endif /* __cplusplus */
78 #endif