Imported libcurl source code.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
//
|
||||
// libcurl and curl bld.inf file for Symbian OS
|
||||
//
|
||||
|
||||
PRJ_MMPFILES
|
||||
libcurl.mmp
|
||||
curl.mmp
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// curl file transfer utility command-line utility
|
||||
//
|
||||
// Use this file with buildrom to add curl to a device ROM
|
||||
//
|
||||
|
||||
#ifndef CURL_IBY
|
||||
#define CURL_IBY
|
||||
|
||||
#include <openenv.iby>
|
||||
#include <libcurl.iby>
|
||||
|
||||
file=ABI_DIR\BUILD_DIR\curl.exe System\Programs\curl.exe
|
||||
|
||||
#endif // CURL_IBY
|
||||
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// cURL network retrieval client
|
||||
//
|
||||
|
||||
TARGET curl.exe
|
||||
TARGETTYPE exe
|
||||
UID 0x00000000 0xF0206442
|
||||
|
||||
SOURCEPATH ../../../src
|
||||
SOURCE \
|
||||
main.c hugehelp.c urlglob.c writeout.c writeenv.c \
|
||||
getpass.c homedir.c curlutil.c
|
||||
|
||||
SOURCEPATH ../../../lib
|
||||
SOURCE \
|
||||
rawstr.c
|
||||
|
||||
USERINCLUDE ../../../src ../../../lib ../../../include/curl
|
||||
|
||||
SYSTEMINCLUDE ../../../include /epoc32/include /epoc32/include/stdapis
|
||||
|
||||
LIBRARY euser.lib libc.lib libcurl.lib
|
||||
STATICLIBRARY libcrt0.lib
|
||||
|
||||
CAPABILITY NetworkServices
|
||||
|
||||
EPOCSTACKSIZE 0x8000
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
; curl package defintion file
|
||||
; Use with makesis to create a Symbian .sis package
|
||||
|
||||
;Language - standard language definitions
|
||||
&EN
|
||||
|
||||
;Header - standard sis file header including version number
|
||||
;Version scheme: curl's major, curl's minor, curl's subminor*100 + build number
|
||||
; e.g. The third Symbian package of curl ver. 7.18.2 would have a SIS package
|
||||
; version of 7, 18, 203
|
||||
#{"curl"}, (0xF0206442), 7, 18, <please_update_version>, TYPE=SA
|
||||
|
||||
; Vendor name
|
||||
%{"Standard libcurl package"}
|
||||
:"Standard libcurl package"
|
||||
|
||||
; Embedded component
|
||||
@"libcurl.sis",(0xF0206D00)
|
||||
|
||||
; A dependency on P.I.P.S. and the stdio server are probably good to have here
|
||||
;(0x20009A80), *, *, *, {"P.I.P.S. for Series 60 3rd ed."}
|
||||
;(0x20009A81), *, *, *, {"P.I.P.S. for UIQ 3"}
|
||||
;(0x20009AA2), *, *, *, {"Symbian OS STDIOSERVER"}
|
||||
|
||||
;Files - standard file specifications
|
||||
"epoc32\release\armv5\urel\curl.exe" - "$:\sys\bin\curl.exe"
|
||||
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// libcurl file transfer DLL
|
||||
//
|
||||
// Use this file with buildrom to add libcurl to a device ROM
|
||||
//
|
||||
|
||||
#ifndef LIBCURL_IBY
|
||||
#define LIBCURL_IBY
|
||||
|
||||
#include <openenv.iby>
|
||||
|
||||
file=ABI_DIR\BUILD_DIR\libcurl.dll System\Libs\libcurl.dll
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,49 @@
|
||||
//
|
||||
// libcurl.dll cURL network retrieval client library
|
||||
//
|
||||
|
||||
// Build-time options
|
||||
//#define ENABLE_ZLIB // Enable gzip/deflate decompression
|
||||
//#define ENABLE_SSL // Enable SSL for HTTPS/FTPS (requires S60 Open C SDK)
|
||||
|
||||
TARGET libcurl.dll
|
||||
TARGETTYPE dll
|
||||
UID 0x1000008d 0xF0206D00
|
||||
|
||||
MACRO BUILDING_LIBCURL
|
||||
|
||||
#ifdef ENABLE_ZLIB
|
||||
MACRO HAVE_LIBZ
|
||||
#endif
|
||||
#ifdef ENABLE_SSL
|
||||
MACRO USE_SSL
|
||||
#endif
|
||||
|
||||
SOURCEPATH ../../../lib
|
||||
SOURCE \
|
||||
file.c timeval.c base64.c hostip.c progress.c formdata.c \
|
||||
cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c \
|
||||
ldap.c ssluse.c version.c getenv.c escape.c mprintf.c telnet.c \
|
||||
netrc.c getinfo.c transfer.c strequal.c easy.c security.c krb4.c \
|
||||
krb5.c memdebug.c http_chunks.c strtok.c connect.c llist.c hash.c \
|
||||
multi.c content_encoding.c share.c http_digest.c md5.c \
|
||||
http_negotiate.c http_ntlm.c inet_pton.c strtoofft.c strerror.c \
|
||||
hostares.c hostasyn.c hostip4.c hostip6.c hostsyn.c hostthre.c \
|
||||
inet_ntop.c parsedate.c select.c gtls.c sslgen.c tftp.c splay.c \
|
||||
strdup.c socks.c ssh.c nss.c qssl.c rawstr.c curl_addrinfo.c
|
||||
|
||||
USERINCLUDE ../../../lib ../../../include/curl
|
||||
|
||||
SYSTEMINCLUDE ../../../include /epoc32/include/stdapis /epoc32/include
|
||||
|
||||
LIBRARY euser.lib libc.lib
|
||||
#ifdef ENABLE_ZLIB
|
||||
LIBRARY ezlib.lib
|
||||
#endif
|
||||
#ifdef ENABLE_SSL
|
||||
LIBRARY libssl.lib libcrypto.lib
|
||||
#endif
|
||||
|
||||
CAPABILITY NetworkServices
|
||||
|
||||
EPOCALLOWDLLDATA
|
||||
@@ -0,0 +1,22 @@
|
||||
; libcurl package defintion file
|
||||
; Use with makesis to create a Symbian .sis package
|
||||
|
||||
;Language - standard language definitions
|
||||
&EN
|
||||
|
||||
;Header - standard sis file header including version number
|
||||
;Version scheme: curl's major, curl's minor, curl's subminor*100 + build number
|
||||
; e.g. The third Symbian package of curl ver. 7.18.2 would have a SIS package
|
||||
; version of 7, 18, 203
|
||||
#{"libcurl"}, (0xF0206D00), 7, 18, <please_update_version>, TYPE=SA
|
||||
|
||||
; Vendor name
|
||||
%{"Standard curl package"}
|
||||
:"Standard curl package"
|
||||
|
||||
; A dependency on P.I.P.S. is probably a good idea to add here
|
||||
;(0x20009A80), *, *, *, {"P.I.P.S. for Series 60 3rd ed."}
|
||||
;(0x20009A81), *, *, *, {"P.I.P.S. for UIQ 3"}
|
||||
|
||||
;Files - standard file specifications
|
||||
"epoc32\release\armv5\urel\libcurl.dll" - "$:\sys\bin\libcurl.dll"
|
||||
Reference in New Issue
Block a user