提交 98168fad authored 作者: Travis Cross's avatar Travis Cross

Fix line endings per .gitattributes

上级 ac405bb1
/* This is a build of CELT */ /* This is a build of CELT */
#define CELT_BUILD #define CELT_BUILD
/* Version extra */ /* Version extra */
#define CELT_EXTRA_VERSION "-1" #define CELT_EXTRA_VERSION "-1"
/* Version major */ /* Version major */
#define CELT_MAJOR_VERSION 0 #define CELT_MAJOR_VERSION 0
/* Version micro */ /* Version micro */
#define CELT_MICRO_VERSION 0 #define CELT_MICRO_VERSION 0
/* Version minor */ /* Version minor */
#define CELT_MINOR_VERSION 7 #define CELT_MINOR_VERSION 7
/* Complete version string */ /* Complete version string */
#define CELT_VERSION "0.7.0-1" #define CELT_VERSION "0.7.0-1"
/* Compile as fixed-point */ /* Compile as fixed-point */
/* #undef FIXED_POINT */ /* #undef FIXED_POINT */
/* Compile as floating-point */ /* Compile as floating-point */
#define FLOATING_POINT #define FLOATING_POINT
/* Make use of alloca */ /* Make use of alloca */
/* #undef USE_ALLOCA */ /* #undef USE_ALLOCA */
#define USE_ALLOCA 1 /* disable this when using SSE */ #define USE_ALLOCA 1 /* disable this when using SSE */
/* Define to equivalent of C99 restrict keyword, or to nothing if this is not /* Define to equivalent of C99 restrict keyword, or to nothing if this is not
supported. Do not define if restrict is supported directly. */ supported. Do not define if restrict is supported directly. */
#define restrict /* __restrict */ #define restrict /* __restrict */
// Microsoft version of 'inline' // Microsoft version of 'inline'
#define inline __inline #define inline __inline
...@@ -92,9 +92,9 @@ ...@@ -92,9 +92,9 @@
return intgr ; return intgr ;
} }
#else #else
#define float2int #define float2int
#endif #endif
#else #else
......
#ifndef MK1MF_BUILD #ifndef MK1MF_BUILD
/* auto-generated by Configure for crypto/cversion.c: /* auto-generated by Configure for crypto/cversion.c:
* for Unix builds, crypto/Makefile.ssl generates functional definitions; * for Unix builds, crypto/Makefile.ssl generates functional definitions;
* Windows builds (and other mk1mf builds) compile cversion.c with * Windows builds (and other mk1mf builds) compile cversion.c with
* -DMK1MF_BUILD and use definitions added to this file by util/mk1mf.pl. */ * -DMK1MF_BUILD and use definitions added to this file by util/mk1mf.pl. */
#error "Windows builds (PLATFORM=VC-WIN32) use mk1mf.pl-created Makefiles" #error "Windows builds (PLATFORM=VC-WIN32) use mk1mf.pl-created Makefiles"
#endif #endif
#ifdef MK1MF_PLATFORM_VC_WIN32 #ifdef MK1MF_PLATFORM_VC_WIN32
/* auto-generated/updated by util/mk1mf.pl for crypto/cversion.c */ /* auto-generated/updated by util/mk1mf.pl for crypto/cversion.c */
#define CFLAGS "cl /MD /Ox /O2 /Ob2 -DOPENSSL_THREADS -DDSO_WIN32 -W3 -WX -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. /Fdout32dll -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE " #define CFLAGS "cl /MD /Ox /O2 /Ob2 -DOPENSSL_THREADS -DDSO_WIN32 -W3 -WX -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. /Fdout32dll -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE "
#define PLATFORM "VC-WIN32" #define PLATFORM "VC-WIN32"
#define DATE "Sun Jun 6 23:40:23 2010" #define DATE "Sun Jun 6 23:40:23 2010"
#endif #endif
Using xmlrpc_cpp_proxy.dsp Using xmlrpc_cpp_proxy.dsp
While not included in the main xmlrpc.dsw file, this While not included in the main xmlrpc.dsw file, this
xmlrpc_cpp_proxy.dsp, if added as a project to the xmlrpc solution, xmlrpc_cpp_proxy.dsp, if added as a project to the xmlrpc solution,
will build bin\xmlrpc_cpp_proxy.exe and xmlrpc_cpp_proxyD.exe, for will build bin\xmlrpc_cpp_proxy.exe and xmlrpc_cpp_proxyD.exe, for
testing using the default WinINET transport. testing using the default WinINET transport.
After you have loaded the xmlrpc_cpp_proxy.dsp, which adds an After you have loaded the xmlrpc_cpp_proxy.dsp, which adds an
xmlrpc_cpp_proxy project, it is necessary to ADD a dependance on xmlrpc_cpp_proxy project, it is necessary to ADD a dependance on
the xmlrpc library, to complete the link. the xmlrpc library, to complete the link.
To do this in say MSVC8, select the xmlrpc_cpp_proxy project, and right To do this in say MSVC8, select the xmlrpc_cpp_proxy project, and right
mouse click, and in the context menu, select 'Project Dependancies...'. mouse click, and in the context menu, select 'Project Dependancies...'.
And in the Project Dependancies dialog, check the xmlrpc proejct, And in the Project Dependancies dialog, check the xmlrpc proejct,
then [Ok] ... then [Ok] ...
To test your xmlrpc_cpp_proxy[D].exe - To test your xmlrpc_cpp_proxy[D].exe -
1. In a console start the server, like - 1. In a console start the server, like -
bin/xmlrpc_sample_add_serverD 8080 bin/xmlrpc_sample_add_serverD 8080
Note, since this server opens a socket, you may have to enable it on some Note, since this server opens a socket, you may have to enable it on some
anti-virus software that detects the socket being established, and anti-virus software that detects the socket being established, and
'Unblock' it in the Windows Security Alert system dialog that appears. 'Unblock' it in the Windows Security Alert system dialog that appears.
You can later remove this program from the Firewall exceptions, through You can later remove this program from the Firewall exceptions, through
Control Panel -> Windows Firewall, selecting the 'Exceptions' tab, where Control Panel -> Windows Firewall, selecting the 'Exceptions' tab, where
you can also disable this 'blocking' notification, but not recommended. you can also disable this 'blocking' notification, but not recommended.
The server should start, and report - The server should start, and report -
Running XML-RPC server... Running XML-RPC server...
2. In another console run the cpp proxy client, with say - 2. In another console run the cpp proxy client, with say -
bin>xmlrpc_cpp_proxyD http://localhost:8080/RPC2 null null bin>xmlrpc_cpp_proxyD http://localhost:8080/RPC2 null null
The client should connect to the server, and output a 'null' header, The client should connect to the server, and output a 'null' header,
and implementation file. If this functions, for a bigger example, try - and implementation file. If this functions, for a bigger example, try -
bin>xmlrpc_cpp_proxyD http://localhost:8080/RPC2 system systemProxy bin>xmlrpc_cpp_proxyD http://localhost:8080/RPC2 system systemProxy
and you should see a better example of a class header, and the and you should see a better example of a class header, and the
implementation code ... implementation code ...
20 December, 2007 20 December, 2007
EOF EOF
POST /cgi-bin/sample-cgi.cgi 1.0 POST /cgi-bin/sample-cgi.cgi 1.0
Host: localhost Host: localhost
Content-Type: text/xml Content-Type: text/xml
Content-Length: 141 Content-Length: 141
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<methodCall> <methodCall>
<methodName>system.listMethods</methodName> <methodName>system.listMethods</methodName>
<params> <params>
</params> </params>
</methodCall> </methodCall>
ExprEval - Expression Evaluation Library ExprEval - Expression Evaluation Library
Version 2.0 Version 2.0
Copyright (C) 2004 Brian Allen Vanderburg II Copyright (C) 2004 Brian Allen Vanderburg II
This software is provided 'as-is', without any express or implied This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages warranty. In no event will the authors be held liable for any damages
arising from the use of this software. arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions: freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not 1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be in a product, an acknowledgment in the product documentation would be
appreciated but is not required. appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be 2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software. misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论