Annotation of embedaddon/libpdel/structs/xmlrpc-test/xmlrpc_test.h, revision 1.1
1.1 ! misho 1:
! 2: /*
! 3: * Copyright (c) 2001-2002 Packet Design, LLC.
! 4: * All rights reserved.
! 5: *
! 6: * Subject to the following obligations and disclaimer of warranty,
! 7: * use and redistribution of this software, in source or object code
! 8: * forms, with or without modifications are expressly permitted by
! 9: * Packet Design; provided, however, that:
! 10: *
! 11: * (i) Any and all reproductions of the source or object code
! 12: * must include the copyright notice above and the following
! 13: * disclaimer of warranties; and
! 14: * (ii) No rights are granted, in any manner or form, to use
! 15: * Packet Design trademarks, including the mark "PACKET DESIGN"
! 16: * on advertising, endorsements, or otherwise except as such
! 17: * appears in the above copyright notice or in the software.
! 18: *
! 19: * THIS SOFTWARE IS BEING PROVIDED BY PACKET DESIGN "AS IS", AND
! 20: * TO THE MAXIMUM EXTENT PERMITTED BY LAW, PACKET DESIGN MAKES NO
! 21: * REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING
! 22: * THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, ANY AND ALL IMPLIED
! 23: * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
! 24: * OR NON-INFRINGEMENT. PACKET DESIGN DOES NOT WARRANT, GUARANTEE,
! 25: * OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF, OR THE RESULTS
! 26: * OF THE USE OF THIS SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY,
! 27: * RELIABILITY OR OTHERWISE. IN NO EVENT SHALL PACKET DESIGN BE
! 28: * LIABLE FOR ANY DAMAGES RESULTING FROM OR ARISING OUT OF ANY USE
! 29: * OF THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, ANY DIRECT,
! 30: * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE, OR CONSEQUENTIAL
! 31: * DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF
! 32: * USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY THEORY OF
! 33: * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
! 34: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
! 35: * THE USE OF THIS SOFTWARE, EVEN IF PACKET DESIGN IS ADVISED OF
! 36: * THE POSSIBILITY OF SUCH DAMAGE.
! 37: *
! 38: * Author: Archie Cobbs <archie@freebsd.org>
! 39: */
! 40:
! 41: #include <sys/types.h>
! 42: #include <sys/param.h>
! 43:
! 44: #include <stdio.h>
! 45: #include <stdlib.h>
! 46: #include <stddef.h>
! 47: #include <signal.h>
! 48: #include <stdarg.h>
! 49: #include <string.h>
! 50: #include <unistd.h>
! 51: #include <syslog.h>
! 52: #include <errno.h>
! 53: #include <assert.h>
! 54: #include <netdb.h>
! 55: #include <pthread.h>
! 56: #include <err.h>
! 57:
! 58: #include <netinet/in_systm.h>
! 59: #include <netinet/in.h>
! 60: #include <arpa/inet.h>
! 61:
! 62: #include <openssl/ssl.h>
! 63:
! 64: #include <pdel/structs/structs.h>
! 65: #include <pdel/structs/structs.h>
! 66: #include <pdel/structs/type/array.h>
! 67: #include <pdel/structs/type/int.h>
! 68: #include <pdel/structs/type/string.h>
! 69: #include <pdel/structs/type/struct.h>
! 70: #include <pdel/structs/type/union.h>
! 71: #include <pdel/structs/xmlrpc.h>
! 72:
! 73: #include <pdel/tmpl/tmpl.h>
! 74: #include <pdel/sys/alog.h>
! 75: #include <pdel/util/typed_mem.h>
! 76: #include <pdel/util/pevent.h>
! 77:
! 78: #include <pdel/http/http_defs.h>
! 79: #include <pdel/http/http_server.h>
! 80: #include <pdel/http/http_servlet.h>
! 81: #include <pdel/http/servlet/xmlrpc.h>
! 82:
! 83: #include <pdel/version.h>
! 84:
! 85: #define MEM_TYPE "xmlrpc_test"
! 86:
! 87: struct three_stooges {
! 88: int32_t moe;
! 89: int32_t larry;
! 90: int32_t curly;
! 91: };
! 92:
! 93: extern const struct structs_type three_stooges_type;
! 94:
! 95: extern int debug_level;
! 96:
! 97: extern const char host_os[];
! 98: extern const char host_arch[];
! 99:
! 100: extern const struct http_servlet_xmlrpc_method arrayOfStructsTest_method;
! 101: extern const struct http_servlet_xmlrpc_method countTheEntities_method;
! 102: extern const struct http_servlet_xmlrpc_method easyStructTest_method;
! 103: extern const struct http_servlet_xmlrpc_method echoStructTest_method;
! 104: extern const struct http_servlet_xmlrpc_method manyTypesTest_method;
! 105: extern const struct http_servlet_xmlrpc_method moderateSizeArrayCheck_method;
! 106: extern const struct http_servlet_xmlrpc_method nestedStructTest_method;
! 107: extern const struct http_servlet_xmlrpc_method simpleStructReturnTest_method;
! 108:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>